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 ChrisPepper: http://wiki.apache.org/httpd/ApacheVirtualHostMysql The comment on the change is: Case fixes. ------------------------------------------------------------------------------ || ''$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''/cgi-bin || cgi-bin for host (only works when CGI is set in database) || || ''$name''/httpdocs || document root|| == Setting up the database == @@ -93, +93 @@ || null || auto-increment host ID || || 'localhost' || host name || || 1 || enable (0 to disable the host) || - || 0 || disable webdav (1 to enable) || + || 0 || disable WebDAV (1 to enable) || - || 0 || disable ftp (1 to enable) || + || 0 || disable FTP (1 to enable) || - || 0 || disable cgi (1 to enable) || + || 0 || disable CGI (1 to enable) || || 0 || disable Server Side Includes (1 to enable) || - || 0 || disable php (1 to enable) || + || 0 || disable PHP (1 to enable) || - (Re)start httpd and the new vhosts will be available (you need to provide the -DDAV flag to enable webdav on the server) + (Re)start httpd and the new vhosts will be available (you need to provide the -DDAV flag to enable WebDAV on the server) '''Note: The directories for this vhost will be created automatically when apache is (re)started! (There may be a spike in memory usage at startup.)''' @@ -120, +120 @@ || 1 || host id user belongs too (check hosts table to get it) || || 'user' || user name || || 'apache-encrypted-password' || password for user. check httpd doc for encryption ([http://httpd.apache.org/docs/2.2/misc/password_encryptions.html here]) || - || 'dav' || group(s) for user. dav = enables webdav access || + || 'dav' || group(s) for user. dav = enables WebDAV access || === adding aliases (optional) === @@ -153, +153 @@ http://code.google.com/p/vhm-mysql/ - == accessing webdav == + == accessing WebDAV == - Point your webdav client to http://www.example.com:81/httpdocs/ and long in with the user/pass combination. + Point your WebDAV client to http://www.example.com:81/httpdocs/ and long in with the user/pass combination. - It is working in IE, dreamweaver, cadaver and mac's webdav client. + It works in IE, DreamWeaver, cadaver, and Mac OS X's WebDAV client. - == accessing ftp == + == accessing FTP == This is a bit more tricky. {{{ host: www.example.com @@ -165, +165 @@ pass: pass }}} - The vhost is selected based on the username. A username without a suffix will go to the first vhost with ftp enabled. + The vhost is selected based on the username. A username without a suffix will go to the first vhost with FTP enabled. == Portability ==
