[Trac] Windows Install Questions
Paul Bennett
bennettee at gmail.com
Fri Apr 1 22:07:12 EST 2005
Make the following changes to your configuration file:
1. Remove the "RedirectMatch" entry.
2. Change the "ScriptAliasMatch" entry to one of the following:
ScriptAliasMatch ^/affinity(.*) "d:/data/web/svn/trac.cgi$1"
ScriptAlias /affinity "d:/data/web/svn/trac.cgi"
3. Change <Location "/affinity/"> to <Location "/affinity">
I think your seeing this problem because when you submit some certain
forms, it takes you to the URL "/affinity#preview". But your
RedirectMatch statement was redirecting this to "/affinity/#preview",
and therefore the main wiki page. Removing the extra "/"s from the
SriptAliasMatch accomplishes the same thing as what you were using the
RedirectMatch statement for, but doesn't break the submission of
forms. Or you can just avoid the regular expressions entirely by using
ScriptAlias.
Hope this helps,
Paul
More information about the Trac
mailing list