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 ------------------------------------------------------------------------------ Edit httpd.conf and change: * ServerRoot * ServerName - * also update all /srv/httpd occerances to your ServerRoot + * also update all /srv/httpd occurrences to your ServerRoot Edit hosts.conf and change: * db server @@ -72, +72 @@ * host path (full path!!) Edit http.tmpl and webdav.tmpl and change: - * all /srv/httpd occerances to your ServerRoot + * all /srv/httpd occurrences to your ServerRoot You should be good to go. Feel free to make more changes to the templates and or the configuration files @@ -107, +107 @@ || 'dav' || group(s) for user. dav = enables webdav access || === adding aliases (optional) === + You can create aliases for hosts aswel if you wish. + {{{ + INSERT INTO aliases VALUES(1, 'cygnus'); + }} + || value || description || + || 1 || host id alias belongs too (check hosts table to get it) || + || 'cgynus' || alias for host || + === adding addition configuration options (optional) === + Setting up a host as reverse proxy? not a problem + {{{ + INSERT INTO aliases VALUES(1, 'cygnus'); + }} + || value || description || + || 1 || host id alias belongs too (check hosts table to get it) || + || 'cgynus' || alias for host || + == Portability == This configuration works on both windows and linux (presumable mac as well). - To get it to work on windows you need to edit http.tmpl and update the path seperate from : to ; for the php_admin_values. + To get it to work on windows you need to edit http.tmpl and update the path separate from : to ; for the php_admin_values. Other database systems can be used by modifying the configuration files. PostrgesSQL should work fine for example.
