Deleting an http share, Starting or stopping the http service manually, Accessing shares – HP StoreAll Storage User Manual

Page 91

Advertising
background image

Deleting an HTTP share

To remove an HTTP share, select the share on the Shares bottom panel, click Delete Share, and
then confirm the operation. To remove the share from the command line, use the following command:

ibrix_httpshare -d SHARENAME -c PROFILENAME -t VHOSTNAME

Starting or stopping the HTTP service manually

Use the following command to start the HTTP service manually:

/usr/local/ibrix/httpd/bin/apachectl -k start -f

/usr/local/ibrix/httpd/conf/httpd.conf

Use the following command to stop the HTTP service manually:

/usr/local/ibrix/httpd/bin/apachectl -k stop -f

/usr/local/ibrix/httpd/conf/httpd.conf

Use the following command to restart the HTTP service manually:

/usr/local/ibrix/httpd/bin/apachectl -k restart -f

/usr/local/ibrix/httpd/conf/httpd.conf

NOTE:

When the HTTP configuration is changed with the management console GUI or CLI, the

HTTP daemon is restarted automatically.

Accessing shares

Clients access an HTTP share by specifying a URL in their browser (Internet Explorer or Mozilla
Firefox). In the following URLs, IP_address:port is the IP (or virtual IP) and port configured for
the share.

For a share configured with an IP-based virtual host and the anonymous parameter is set to
true

, use the following URL:

http://IP_address:port/urlpath/

For a shared configured with a userlist and having the anonymous parameter set to
false

, use the following URL:

http://IP_address:port/urlpath/

Enter your user name and password when prompted.

NOTE:

When a file is uploaded into an HTTP share, the file is owned by the user who uploaded

the file to the share.

If a user uploads a file to an HTTP share and specifies a subdirectory that does not already exist,
the subdirectory will be created. For example, you could have a share mapped to the directory
/ifs/http/

and using the url http_url. A user could upload a file into the share:

curl -T file http://<ip>:<port>/http_url/new_dir/file

If the directory new_dir does not exist under http_url, the http service automatically creates
the directory /ifs/http/new_dir/ and sets the permissions to 777. If the anonymous user
performed the upload, the new_dir directory is owned by daemon:daemon. If a non-anonymous
user performed the upload, the new_dir directory is owned by user:group.

You can also use curl commands to access an HTTP share.

Starting or stopping the HTTP service manually

91

Advertising