Apache htaccess with redmine db
Added by гиём шарьм over 14 years ago
Hello,
I am using mercurial with redmine user databse, it works very well.
Now, I would like to use doxygen and I want the same auth system. It also work well but it asks me login/password 4time / page and each time I change page.
With hgweb, it asks only once.
Anyone could help?
Here is my Vhost :
<VirtualHost *:80>
ServerName doxygen.mydomain.net
DocumentRoot /srv/http/doxygen
RewriteEngine on
PerlLoadModule Apache2::Redmine
PerlLoadModule Net::LDAP
RewriteRule ([^\/]+)/(.*) /srv/http/doxygen/$1/html/$2
<Location />
AuthType Basic
AuthName "doxygen"
Require valid-user
PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler
RedmineDSN "DBI:mysql:database=redmine;host=localhost"
RedmineDbUser "login"
RedmineDbPass "password"
</Location>
</VirtualHost>
For informaton, here is my mercurial vhost which works well :
<VirtualHost *:80>
ServerName hg.mydomain.net
DocumentRoot /srv/http/hg/repos
RewriteEngine on
PerlLoadModule Apache2::Redmine
PerlLoadModule Net::LDAP
ScriptAliasMatch (.*) /srv/http/hg/tools/hgweb.cgi/$1
LogLevel warn
ErrorLog "/var/log/httpd/hg.error_log"
CustomLog "/var/log/httpd/hg.access_log" common
<Location />
AuthType Basic
AuthName "Mercurial"
Require valid-user
PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler
RedmineDSN "DBI:mysql:database=redmine;host=localhost"
RedmineDbUser "login"
RedmineDbPass "password"
</Location>
</VirtualHost>
Replies (1)
RE: Apache htaccess with redmine db
-
Added by гиём шарьм over 14 years ago
It was actually because of the favicon, I add a permanent redirection of favicon.ico to somewhere else and now, it works fine.