NameVirtualHost *:80 NameVirtualHost *:443 ServerAdmin admin@domain.com ServerName dev.domain.com DocumentRoot /var/www/html Options -Indexes FollowSymLinks MultiViews AllowOverride ALL Order allow,deny allow from all 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] LogLevel warn ErrorLog /var/log/httpd/error.log CustomLog /var/log/httpd/access.log combined ServerSignature On ServerAdmin admin@domain.com ServerName dev.domain.com DocumentRoot /var/www/html Options -Indexes FollowSymLinks MultiViews AllowOverride ALL Order allow,deny allow from all DAV svn SVNPath /var/www/svn/project AuthType Basic AuthName "svn repo for dev.domain.com" AuthUserFile /var/www/.htpasswd Require valid-user ScriptAlias /trac/project /usr/share/trac/cgi-bin/trac.cgi AllowOverride None Options ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all SetEnv TRAC_ENV "/var/www/trac/project" AuthType Basic AuthName "Trac Login for Project development" AuthUserFile /var/www/.htpasswd Require valid-user Alias /phpmyadmin /usr/share/phpmyadmin/ AuthType Basic AuthName "phpmyadmin Access Login on dev.domain.com" AuthUserFile /var/www/.htpasswd Require valid-user Options Indexes FollowSymLinks MultiViews AllowOverride all Order allow,deny allow from all 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 #tail /var/log/httpd/error.log #[Thu Feb 28 13:56:30 2008] [error] [client 77.44.33.137] File does not exist: /var/www/html/favicon.ico #[Thu Feb 28 13:58:41 2008] [error] [client 77.44.33.137] Directory index forbidden by Options directive: /var/www/html/ #[Thu Feb 28 13:58:55 2008] [error] [client 77.44.33.137] Directory index forbidden by Options directive: /var/www/html/ #[Thu Feb 28 13:58:58 2008] [error] [client 77.44.33.137] File does not exist: /var/www/html/svn #[Thu Feb 28 13:59:01 2008] [error] [client 77.44.33.137] File does not exist: /var/www/html/svn