What's wrong with my Apache config?!
Added by Osama Sayed over 15 years ago
Hello, I have the following configuration, which simply doesn't work. No errors in the log, nothing. Just site becomes inaccessible.
<VirtualHost *:80> ServerName server Redirect / https://server </VirtualHost> <VirtualHost *:443> ServerName server ServerAdmin email.@server.com DocumentRoot /var/www/redmine/public LogLevel warn ErrorLog /var/log/apache2/server.log CustomLog /var/log/apache2/server.log combined SSLEngine On SSLOptions +StrictRequire SSLCertificateFile /etc/ssl/certs/server.crt SSLCertificateKeyFile /etc/ssl/private/server.key PerlRequire /var/www/redmine/extra/svn/Redmine.pm <Location /svn> DAV svn SVNParentPath /usr/local/svn AuthType Basic AuthName redmine Require valid-user PerlAccessHandler Apache::Authn::Redmine::access_handler PerlAuthenHandler Apache::Authn::Redmine::authen_handler RedmineDSN "DBI:mysql:database=redmine;host=localhost" RedmineDbUser "root" RedmineDbPass "password" #Cache the last 50 auth entries RedmineCacheCredsMax 50 </Location> <Directory /var/www/redmine/public> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> </VirtualHost>
Note that when I remove the <location> part, the redmine site is accessible. Any ideas?
Thank you,
Sammy
Replies (1)
RE: What's wrong with my Apache config?! - Added by Vinod Singh over 15 years ago
Does it works in HTTP (non-secure) mode?