You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Boudewijn Ector <bo...@boudewijnector.nl> on 2007/03/19 22:02:04 UTC
[users@httpd] Determining the requested path
Hi guys,
I've got a question about determining which SVN-repository will be
served using mod_svn.
Currently, this is in httpd.conf:
<Location /svn/repos>
DAV svn
AuthType Basic
AuthName "Subversion repository"
SVNParentPath /var/svn
Auth_PG_host localhost
Auth_PG_port 5432
Auth_PG_user apache
Auth_PG_pwd demos684
Auth_PG_database apache_auth
Auth_PG_pwd_table valid_users
Auth_PG_uid_field username
Auth_PG_pwd_field password
Auth_PG_encrypted off
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
</Location>
This code serves the SVN repos (which reside in /var/svn) great,
but I'd like to be able to grant users access to repos on a per-repository basis.
To do so, I decided to implement the mod_pgsql where-clause, but in order to do so I need to know which path\repository is being requested.
Can anyone help me? (I've been looking at the httpd homepage, some dutch fora, the official gentoo forum and the mod_pgsql homepage).
My specs:
apache-2.0.59 on Gentoo GNU/Linux (~amd64)
postgresql-8.1
Thanks in advance,
Boudewijn Ector
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org