Hi!

How should I use "Request" clause to match _all_ URL string from
beginning to the end?

Here is my working configuration:

Directory /trac-cgi {
                Handler cgi {
                        Env     TRAC_ENV_PARENT_DIR     "/var/lib/trac"
                }
                DocumentRoot /usr/share/trac/cgi-bin/
}

Request "^/trac.cgi/.*/login$" {
                Auth Basic {
                       Name "Trac projects"
                       Method htpasswd {
                                PasswdFile /etc/cherokee/htpasswd
                       }
                }
}

If I query http://localhost/trac-cgi/trac.cgi/test/login URL,
cherokee gives me Authentication form.

As you can see, cherokee thinks that Request queries begin
beyond previously specified Directory ("/trac-cgi").

I.e.
Request "^/trac-cgi/trac.cgi/.*/login$"
doesn't work.

Have I missed something or it is desired behaviour?
And how to redirect queries from /trac-cgi to /trac-cgi/trac.cgi
in this case?
_______________________________________________
Cherokee mailing list
[email protected]
http://www.alobbs.com/cgi-bin/mailman/listinfo/cherokee

Reply via email to