|
Web Service
For more information contact us at info@adultvirtualhosting.com
This service allows you to administer a web site and
control the performance of web side services. In this document we will look
at the web service in the Unix plan. The Windows plan works according to the
same pattern, but offers a smaller set of web services.
To access the Web Service page, select Domain
Settings in the navigation menu, and on the page that appears click the Edit
icon in the Web Service field:

This will open the Web Service page. At the top of
the page you will see your basic web settings:

- Domain
name: the front door address used by
visitors to enter your site. Click the domain name to go back to the Edit
Domain Info page. You can enter your site from here clicking the View
icon.
- Server
Configuration: Any changes you make to
this page will take effect only after you restart the apache web server.
To restart it, just click the Apply link. If no changes have been
made, Server Configuration will show as OK.
- IP
Address: If you have a dedicated IP address,
you can go to your site by clicking the link. The difference between
dedicated and shared IP is discussed in the Domain Settings
chapter.
- Site
Builder: click Login to enter
SiteStudio, a powerful site construction tool enabling you to create a
professional-looking site in a matter of minutes.
The next section allows you to configure your apache
web server:

- Indexes: The index page is the first page entered on your site. If for
any reason it is corrupted or missing, apache can automatically generate
a substitute index page. Switch the radio buttons to enable or disable
this option.
- Symbolic
links: If your file system supports
symlinks, enabling these options will allow you to use them.
- Multiviews: If for any reason the requested file is not available, apache
will redirect the request to other files with the same name, but a
different extension. This is exceptionally useful in handling files with
similar extensions, such as .htm, .html, .shtm, etc.
Further below is the list of resources that you can
buy to enhance your site's functionality:

SSL support
SSL (Secure Sockets Layer protocol) is a standard
for transmitting confidential data such as credit card numbers over the
Internet. Most true business sites support this feature which allows more
security in data transmitted over the WWW. This is the standard minimum safe
security level for true business on the Internet. SSL works by using a
private key to encrypt data that is transferred over the SSL connection. To
read more about what is SSL and how it works, go to http://www.modssl.org/docs/2.8/index.html
Click here to go to the SSL page of this manual.
FrontPage extensions
To enable FrontPage Extensions support, click the
ON/OFF button. In the window that appears, enter the login and password you
will need to upload your web pages with the FrontPage Publish Web feature:

You can change FPE login and password at
any time in the future by clicking the Edit icon that appears next to
the ON/OFF button.
What
is FrontPage Extensions?
CGI
To add a CGI alias, click the Add icon.

In the window that appears, enter File Extension for
the files you want to be regarded as scripts. For example, entering .pl
extensions will mark all *.pl files as executable scripts. The file extension
must begin with a dot.
What is CGI?
MIME
There are many predefined MIME types, such as GIF graphics files and PostScript files. In addition, you can also define your own MIME types. To do
so, click Add MIME Type link. New MIME Type page will appear:

- File
Extension: Begin file extension
with a dot.
- MIME
Type: e.g.: text/rtf or video/mpeg.
What is MIME?
PHP3
Click the button to enable PHP.
What is PHP?
SSI
To add an SSI alias, click the On/OFF button. In the
window that appears, enter your SSI File Extension.

The file extension must begin with a dot.
What is SSI?
CGI dir
Click the ON/OFF button to create or remove the
directory for CGI scripts.
MIVA
For instructions read the Online Store section.
Error
Define the actions to be taken if the requested page
on your site is missing. Click the Add icon to configure the error
document. In the form that appears enter the error document settings:

- Error
Document Code: Enter the error code to
change the default message. One of the common errors is File Not Found.
- Message
or URL: Enter a text message the visitor
will receive or the URL of the page that the visitor will be taken to if
the requested page is not found.
- Type: Specify if the text in the previous field is a URL (Redirect)
or an error message (Message).
Logs
Enable writing error logs, transfer logs, referrer
logs and agent logs. You can view these log files using telnet. See Web
Statistics.
Webalizer
Enable the program that analyzes the transfer log
and generates readable HTTP transfer reports. It requires transfer log to be
enabled. See Web Statistics.
Modlogan
This package is functionally similar to Webalizer,
but it also supports FTP, RealAudio and other protocols. See Web
Statistics.
Server Alias
Add an alias to the domain.
Redirect
The Redirect feature allows you to map an old
URL into a new one. When a client tries to connect to the old URL, he is
taken at the new address.
To assign a new URL to an old one click the Add icon in the Redirect
entry. The following form will appear:

For example you enter:
Old URL: service
New URL: blah-blah.com/service
If the client requests http://www.unixtesting.hosting.com/service/blah-blah.txt,
he will be redirected to http://blah-blah-bla/service/blah-blah.txt.
Note: URL path must be an absolute path, not a relative path.
Redirect Status set to
- Permanent
returns a permanent redirect status (301) indicating that the resource
has moved permanently.
- Temp
returns a temporary redirect status (302). This is the default and
indicates to the client that the resource has moved temporarily.
- Seeother
returns a "See Other" status (303) indicating that the
resource has been replaced.
- Gone
will cause a visitor's browser display "The requested resource is
no longer available on this server and there is no forwarding address. Please
remove all references to this resource." message when trying to go
to the old URL.
This is how you can add a redirect under the Windows
plans:

Redirect Status set to
- The
exact URL entered above redirects any
files in the indicated directory to one file.
- For example, to redirect all requests for files in the blahblah
virtual directory to the file default.htm in the home
directory, type home/default.htm in the New URL text box
and select this option.
- A
directory below this one redirects a parent
directory to a child directory.
- For example, to redirect your home directory to a subdirectory
named /newhome, type /newhome in the New URL text
box and select this option. Without this option, the Web server will
continually map the parent to itself.
- A
permanent redirection for this resource sends
the following message to the client: “301 Permanent Redirect.” Redirects
are considered temporary, and the client browser receives the following
message: “302 Temporary Redirect.” Some browsers can use the “301
Permanent Redirect” message as the signal to permanently change a URL,
such as a bookmark.
|