Hi!
First of all: thank's for the tool, I'm really appreciating all the
functionalities it has!
I installed the last version (1.1.3) and everything work with the
internal Pylons server
(sorry for the terminology but I'm not a Pylons user).
I can manage repository and use the mercurial to clone/push/pull
changes.
Now I'm trying to configure RhodeCode as wsgi application in Apache
(not using the proxy configuration as explained in the documentation)
because I would like
to start the application directly with apache (and I followed the
pylons documentation to do that).
I created a RodeCode directory under /var/www (owned by www-data, I'm
on ubuntu)
and the repositories are in /home/hgrepos (owned again by www-data).
My current VirtualHost configuration is
<VirtualHost *:80>
ErrorLog ${APACHE_LOG_DIR}/rhodecode/error.log
CustomLog ${APACHE_LOG_DIR}/rhodecode/access.log combined
LogLevel Error
# Serving static files
Alias /images/ /var/www/rhodecode-venv/lib/python2.6/site-
packages/rhodecode/public/images/
Alias /css/ /var/www/rhodecode-venv/lib/python2.6/site-
packages/rhodecode/public/css/
Alias /js/ /var/www/rhodecode-venv/lib/python2.6/site-packages/
rhodecode/public/js/
<Directory /var/www/rhodecode-venv/lib/python2.6/site-packages/
rhodecode/public>
Order deny,allow
Allow from all
</Directory>
# Setup mod_wsgi
WSGIScriptAlias / /var/www/rhodecode/dispatch.wsgi
<Directory /var/www/rhodecode>
Order allow,deny
Allow from all
</Directory>
<Directory /home/hgrepos>
AllowOverride all
#Order deny,allow
Allow from all
</Directory>
</VirtualHost>
With this configuration, on the browser side everything works but I
cannot (e.g.) clone
repositories and I always get and "authorization failed" error:
$ hg clone
http://SERVER-IP/foo
http authorization required
realm: REALM MESSAGE
user: MYUSER
password: *********
abort: authorization failed
What I cannot understand is that I need to authenticate even if
the repository is fully open....
Someone has a solution?
It seems that I forgot some options in the apache configuration, but
what?
Thanks!