Web-server
Q: What kind of web server is installed on your servers?
A: Apache 1.3, Thttpd
Q: Are there log files for each site?
A: Yes, and you can access log files. They are located in the subdirectory logs of site directory.
Q: What is the path to the home directory, Perl and sendmail?
Q: The path to the home directory is:
/home/clients/client_name, configured sites are in the directories /home/clients/client_name/domains/domain_name,
the paths to the installed programs can be viewed in
Server .
Q: Can I use .htaccess?
A: Yes.
Q: Is there SSI support?
A: Yes.
Q: How do I set up SSI?
A: To set up SSI, edit the .htaccess file. Add the line
AddHandler server-parsed .html .htm
to it, where you have to specify the extensions of the files that will be parsed as SSI.or use .shtml extension used by default.
Q: How do I set up error pages?
A: The request to the error page is redirected when an error appears on the server depending on its code. For example, when a nonexistent file is requested (404 File not found) or there is an internal server error (500 Internal server error), you can install your own pages instead of standard ones. This can be done in the
.htaccess file:
- Create a new (or edit an existent) ".htaccess" file in the root directory of the web site.
- Add to it the following lines:
ErrorDocument 404 http://www.you_domain.com/err404.html
ErrorDocument 500 http://www.you_domain.com/err500.html
The figure after the directive ErrorDocument is the error code, the address is the URL of
the page you're redirected to when the error occurs.
- Upload the file into the directory on the server.
Be aware that the .htaccess file can be different for different directories. For example, if you copy the file into the "images" directory, it will work only for this directory and its subdirectories (if they don't contain their own .htaccess).
FAQ
|