Apache2 question
Michael Sammartano
volinaz at cox.net
Mon Nov 14 09:19:35 MST 2005
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
# forbid access to the entire filesystem by default
<Directory />
Options None
AllowOverride None
Order deny,allow
Deny from all
</Directory>
#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>
# use .htaccess files for overriding,
AccessFileName .htaccess
# and never show them
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
Hope this helps.
Mike
Miles Beck wrote:
>Hello,
>
>Over the weekend I installed Debian (Sarge) and have set up a minimal
>website and wanted to configure it a little.
>
>What directive is used to change the domain name from
>www.domainname.com/apache2-default/ to www.domainname.com.
>
>By default I dont want it to show the apache2-default directoy.
>
>Thanks
>---------------------------------------------------
>PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>To subscribe, unsubscribe, or to change you mail settings:
>http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>
>
--
More information about the PLUG-discuss
mailing list