Apache2 question
Miles Beck
milesbeck at gmail.com
Mon Nov 14 09:44:49 MST 2005
On 11/14/05, Michael Sammartano <volinaz at cox.net> wrote:
> I think what you are asking is how to change the default directory from
> the apache root directory to your domain. This is simple. Here is a copy
> of mine. It is under the Global settings in httpd.conf
> #This will change the default directory to whatever you want. Note the
> permissions.
>
> <Directory /srv/www/htdocs/volinaz>
> Options None
> AllowOverride None
> Order allow,deny
> allow from all
> </Directory>
Hm, I tried the above example and it did not change the default
directory when using only the domain name.
It appears in Apache2 you have to edit the file
/etc/apache2/apache2.conf instead of httpd.conf.
More information about the PLUG-discuss
mailing list