Apache configuration
From Deep Thought
You will need shell/root access to do this trickery. Also, every server is different which means your mileage may vary.
[edit]
Apache 1.x
Typical configuration file is at /etc/httpd/conf/httpd.conf
[edit]
Error Logging
- Default for systemwide logs: /usr/local/apache/logs/error_log
To change this on a server with virtual sites (one machine, multiple domains hosted).
Use your favorite editor (vi anyone?) and change this:
<VirtualHost 72.52.158.193> ServerAlias www.penelopepeapod.com ServerAdmin webmaster@penelopepeapod.com DocumentRoot /home/penelope/public_html User penelope Group penelope ServerName penelopepeapod.com User penelope Group penelope BytesLog /usr/local/apache/domlogs/penelopepeapod.com-bytes_log CustomLog /usr/local/apache/domlogs/penelopepeapod.com combined ScriptAlias /cgi-bin/ /home/penelope/public_html/cgi-bin/ </VirtualHost>
To this:
<VirtualHost 72.52.158.193> ServerAlias www.penelopepeapod.com ServerAdmin webmaster@penelopepeapod.com DocumentRoot /home/penelope/public_html User penelope Group penelope ServerName penelopepeapod.com User penelope Group penelope BytesLog /usr/local/apache/domlogs/penelopepeapod.com-bytes_log CustomLog /usr/local/apache/domlogs/penelopepeapod.com combined ScriptAlias /cgi-bin/ /home/penelope/public_html/cgi-bin/ ErrorLog /usr/local/apache/logs/penelopepeapod.com-error_log </VirtualHost>
Then restart your server:
# /etc/rc.d/init.d/httpd restart
