Next: html
Up: Virtual Host Management
Previous: Server Configuration
  Contents
  Index
Web Site Directory Structure
When a Web site is created, the following directory structure will
be created on the system:
-
- /home/httpd/<sitename>-<port>
Inside of this directory, the following sub-directories will exist:
- [cgi-bin]This is the
directory where /cgi-bin/ is aliased to.
- [html]This is the document
docs@guardiandigital.com.
- [logs]This is where the
access, error, and SSL logs are kept.
If a secure site was created, the following will also be created:
- [ssl]This is where the
SSL certificate and key are kept.
- [cgi-bin]The CGI files
for you Web site should be located here. For example, if register.cgi
was placed, then you would access it by using the following URL:
-
- http://www.engardelinux.com/cgi-bin/register.cgi
Using the lockbox.guardiandigital.com example being used
in this section the directory URLs would look as follows:
For a standard, non-secure Web server:
- /home/httpd/engarde.guardiandigital.com-80/cgi-bin
- /home/httpd/engarde.guardiandigital.com-80/html
- /home/httpd/engarde.guardiandigital.com-80/logs
- /home/httpd/engarde.guardiandigital.com-80/ssl
For a Secure Socket Layer (SSL) Web server:
- /home/httpd/engarde.guardiandigital.com-443/cgi-bin
- /home/httpd/engarde.guardiandigital.com-443/html
- /home/httpd/engarde.guardiandigital.com-443/logs
- /home/httpd/engarde.guardiandigital.com-443/ssl
In an HTML form, you would use something of the sort:
-
- <FORM ACTION=''/cgi-bin/register.cgi'' METHOD=''GET''>
Next: html
Up: Virtual Host Management
Previous: Server Configuration
  Contents
  Index
docs@guardiandigital.com
2002-12-16