X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=apache-mod_vhost_alias.conf;h=ba3d7f8cd19f1a3315ee9c72c3819ba0c02682bc;hb=4d51c0eb6be1d8258f1cdc0f3f7e6a2c637e5b39;hp=b88bb9ce687e23153c64112719066f021f954d03;hpb=1fee6743dc266f4109450521e03c916fd581bce0;p=packages%2Fapache.git diff --git a/apache-mod_vhost_alias.conf b/apache-mod_vhost_alias.conf index b88bb9c..ba3d7f8 100644 --- a/apache-mod_vhost_alias.conf +++ b/apache-mod_vhost_alias.conf @@ -3,22 +3,13 @@ LoadModule vhost_alias_module modules/mod_vhost_alias.so -# VirtualHost: Allows the daemon to respond to requests for more than one -# server address, if your server machine is configured to accept IP packets -# for multiple addresses. This can be accomplished with the ifconfig -# alias flag, or through kernel patches like VIF. - -# Any httpd.conf or srm.conf directive may go into a VirtualHost command. -# See also the BindAddress entry. - -# -#ServerAdmin webmaster@host.some_domain.com -#DocumentRoot /www/docs/host.some_domain.com -#ServerName host.some_domain.com -#ErrorLog logs/host.some_domain.com-error_log -#TransferLog logs/host.some_domain.com-access_log -# - +# http://www.example.com/directory/file.html will be satisfied by the file +# /srv/www/vhosts/www.example.com/directory/file.html. +#UseCanonicalName Off +#VirtualDocumentRoot /srv/www/vhosts/%0 + +# For IP-based virtual hosting you might use the following in your configuration file: +#UseCanonicalName DNS +#VirtualDocumentRootIP /srv/www/vhosts/%1/%2/%3/%4/docs +#VirtualScriptAliasIP /srv/www/vhosts/%1/%2/%3/%4/cgi-bin - -# vim: filetype=apache ts=4 sw=4 et