zhesto
06-29-2006, 10:25 PM
Hi, I installed Trac on my ubuntu dapper box, following these instructions (http://projects.edgewall.com/trac/wiki/TracLitespeed). Everything working very well. Just there is still one more step - how to trigger HTTP Authentication box on /projects/xxxxx/login. With Apache it is releazed with:
<Location "/proj/login">
AuthType Basic
AuthName "project"
AuthUserFile /var/www/trac.htpasswd
Require valid-user
</Location>
See: Debian Sarge Trac Install (http://projects.edgewall.com/trac/wiki/TracOnDebianSarge)
I tryed first to do this just for one project (fixed /projects/name/login. But what context to create?
- "Static"? - it's maping url to directory
- "CGI"? - it's mapping url to directory with cgi-bin scripts
So how to do Location-like stuff with Litespeed?
And the second stage is to do the same for multiply projects ( /projects/.../login ) but maybe i can create different context entry for every project.
<Location "/proj/login">
AuthType Basic
AuthName "project"
AuthUserFile /var/www/trac.htpasswd
Require valid-user
</Location>
See: Debian Sarge Trac Install (http://projects.edgewall.com/trac/wiki/TracOnDebianSarge)
I tryed first to do this just for one project (fixed /projects/name/login. But what context to create?
- "Static"? - it's maping url to directory
- "CGI"? - it's mapping url to directory with cgi-bin scripts
So how to do Location-like stuff with Litespeed?
And the second stage is to do the same for multiply projects ( /projects/.../login ) but maybe i can create different context entry for every project.