All pastes #732497 Raw Edit

Something

public text v1 · immutable
·published 2007-10-11 01:25 UTC
rendered paste body
#no auth here
<VirtualHost *:80>
   ServerName pixelhost.org
   ServerAlias www.pixelhost.org
   <Directory "/www/pixelhost/webroot">
      Options Indexes FollowSymLinks
      AllowOverride All
      Order allow,deny
      Allow from all
   </Directory>
   ServerAdmin webmaster@pixelhost.org
   DocumentRoot /www/pixelhost/webroot
   ErrorLog "|/usr/local/apache/usr/sbin/rotatelogs /usr/local/apache/var/log/apache2/pixelhost.org.error.log.%y.%m.%d 86400 -300"
   CustomLog "|/usr/local/apache/usr/sbin/rotatelogs /usr/local/apache/var/log/apache2/pixelhost.org.access.log.%y.%m.%d 86400 -300"  combined
<IfModule mod_rewrite.c>
  RewriteEngine on
  #rewrite rules that are very large, not important :D
</IfModule>
</VirtualHost>

#requires auth, uses .htaccess file (like 4 lines, AuthType Basic, path to .htpasswd, string for prompt, require valid-user)
<VirtualHost *:80>
   ServerName logs.pixelhost.org
   ServerAlias www.logs.pixelhost.org
   <Directory "/www/pixelhost/logsroot">
      Options None
      AllowOverride All
      Order allow,deny
      Allow from all
   </Directory>
   ServerAdmin webmaster@pixelhost.org
   DocumentRoot /www/pixelhost/logsroot
   ErrorLog var/log/apache2/logs.pixelhost.org.error.log
   CustomLog var/log/apache2/logs.pixelhost.org.access.log combinded
</VirtualHost>