rendered paste bodyNameVirtualHost *:80
NameVirtualHost *:443
<VirtualHost *:80>
ServerAdmin admin@domain.com
ServerName dev.domain.com
DocumentRoot /var/www/html
<Directory /var/www/html>
Options -Indexes FollowSymLinks MultiViews
AllowOverride ALL
Order allow,deny
allow from all
</Directory>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/svn/project/(.*) https://%{SERVER_NAME}/svn/project/$1 [R,L]
RewriteRule ^/trac/project/(.*) https://%{SERVER_NAME}/trac/project/$1 [R,L]
RewriteRule ^/phpmyadmin/(.*) https://%{SERVER_NAME}/phpmyadmin/$1 [R,L]
</ifModule>
LogLevel warn
ErrorLog /var/log/httpd/error.log
CustomLog /var/log/httpd/access.log combined
ServerSignature On
</VirtualHost>
<VirtualHost *:443>
ServerAdmin admin@domain.com
ServerName dev.domain.com
DocumentRoot /var/www/html
<Directory /var/www/html>
Options -Indexes FollowSymLinks MultiViews
AllowOverride ALL
Order allow,deny
allow from all
</Directory>
<Location /svn/project>
DAV svn
SVNPath /var/www/svn/project
AuthType Basic
AuthName "svn repo for dev.domain.com"
AuthUserFile /var/www/.htpasswd
Require valid-user
</Location>
ScriptAlias /trac/project /usr/share/trac/cgi-bin/trac.cgi
<Directory "/usr/share/trac/cgi-bin/">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
<Location "/trac/project">
SetEnv TRAC_ENV "/var/www/trac/project"
</Location>
<Location "/trac/project/login">
AuthType Basic
AuthName "Trac Login for Project development"
AuthUserFile /var/www/.htpasswd
Require valid-user
</Location>
Alias /phpmyadmin /usr/share/phpmyadmin/
<Location "/phpmyadmin">
AuthType Basic
AuthName "phpmyadmin Access Login on dev.domain.com"
AuthUserFile /var/www/.htpasswd
Require valid-user
</Location>
<Directory /usr/share/phpmyadmin/>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
</Directory>
SSLEngine On
SSLCertificateKeyFile /etc/pki/tls/private/dev.domain.com.key
SSLCertificateFile /etc/pki/tls/certs/dev.domain.com.cert
LogLevel warn
ErrorLog /var/log/httpd/error.log
CustomLog /var/log/httpd/access.log combined
ServerSignature On
</VirtualHost>
#tail /var/log/httpd/error.log
#[Thu Feb 28 23:44:30 2008] [error] [client 4.227.119.69] client denied by server configuration: /usr/share/phpmyadmin