Dear Wiki user, You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.
The following page has been changed by sjorge: http://wiki.apache.org/httpd/ApacheVirtualHostMysql ------------------------------------------------------------------------------ 3. MySQL server (other database server will work if there is are DBI an DBD drivers available - changes to the files are needed) == General Setup == - I've got apache installed in '''/srv/httpd''' so replace that with your serverroot. + Configuration Layout - || '''path''' || || '''description''' || + || '''path''' || '''description''' || - || /srv/httpd || || ServerRoot || + || /srv/httpd || ServerRoot || - || /srv/httpd/conf/httpd.conf || || Main configuration file || + || /srv/httpd/conf/httpd.conf || Main configuration file || - || /srv/httpd/conf/hosts.conf || || Host configuration file || + || /srv/httpd/conf/hosts.conf || Host configuration file || - || /srv/httpd/conf/template/http.tmpl || || Virtual host template || + || /srv/httpd/conf/template/http.tmpl || Virtual host template || - || /srv/httpd/conf/template/webdav.tmpl || || WebDAV virtual host template || + || /srv/httpd/conf/template/webdav.tmpl || WebDAV virtual host template || - || /srv/hosts || || hosts base path || + || /srv/hosts || hosts base path || + Virtual Host Layout (relative to /srv/hosts) + + || '''path''' || '''description''' || + || ''$name'' || Virtual host base dir || + || ''$name''/_sys || Holds varies other files || + || ''$name''/_sys/logs || Logs for host || + || ''$name''/_sys/tmp || temp directory for php || + || ''$name''/_sys/sessions || sessions directory for php || + || ''$name''/cgi-bin || cgi-bin for host (only works when cgi is set in database) || + || ''$name''/httpdocs || document root|| == Setting up the database ==
