Apache

From Colettapedia
Jump to: navigation, search

httpd.conf

diff /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.old
244c244
< Group www
---
> Group apache
263c263
< ServerAdmin christopher.coletta@gmail.com
---
> ServerAdmin root@localhost
293c293
< DocumentRoot "/var/www/default"
---
> DocumentRoot "/var/www/html"
318c318
< <Directory "/var/www/default">
---
> <Directory "/var/www/html">
339c339
<     AllowOverride All
---
>     AllowOverride None
457c457
< HostnameLookups On
---
> HostnameLookups Off
991c991
< NameVirtualHost *:80
---
> #NameVirtualHost *:80
1004,1025c1004,1010
< <VirtualHost *:80>
<     ServerName mavisandchris.com
<     ServerAlias *.mavisandchris.com
<     DocumentRoot /var/www/mavisandchris.com
<     ErrorLog logs/mavisandchris.com_logs/error_log
<     CustomLog logs/mavisandchris.com_logs/access_log common
<         <Directory "/">
<             Options Indexes FollowSymLinks
<             AllowOverride All
<             Order allow,deny
<             Allow from all
<         </Directory>
< </VirtualHost>
< 
< <VirtualHost *:80>
<     ServerName nanina.net
<     ServerAlias *.nanina.net
<     DocumentRoot /var/www/nanina.net
<     ErrorLog logs/nanina.net_logs/error_log
<     CustomLog logs/nanina.net_logs/access_log common
< </VirtualHost>
< 
---
> #<VirtualHost *:80>
> #    ServerAdmin webmaster@dummy-host.example.com
> #    DocumentRoot /www/docs/dummy-host.example.com
> #    ServerName dummy-host.example.com
> #    ErrorLog logs/dummy-host.example.com-error_log
> #    CustomLog logs/dummy-host.example.com-access_log common
> #</VirtualHost>