Am 02.01.2010 14:25, schrieb Carsten Fuchs:
> However - and here is the problem - the cookie and the URLs in the
> website all contain the unwanted "trac-cafu/htdocs/trac.fcgi/" part. The
> above Wiki page doesn't mention anything on how this could be fixed.


I've been updating the URLs, the Trac instance is now available at

        http://trac.cafu.de

and the .htaccess file at that location is:


# Quelle: http://trac.edgewall.org/wiki/TracPrettyUrls
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ trac.fcgi/$1 [QSA,L]

# RewriteRule ^$ trac.fcgi [L]


While the rewriting itself continues to work, the core problem remains:
The "trac.fcgi" part of the URL is generated in all page links.

I've been able to find some related websites and tickets:
        http://natmaster.com/articles/installing_trac_0.10.php
        http://trac.edgewall.org/ticket/2299
        http://trac.edgewall.org/ticket/8328
but no matter what I try, the script name continues to appear in the page links.
I've tried to override os.environ['SCRIPT_PATH'], os.environ['SCRIPT_URL'] and a few more in trac.fcgi, but to no avail.

Any ideas?

Best regards,
Carsten



--
   Cafu - the open-source Game and Graphics Engine
for multiplayer, cross-platform, real-time 3D Action
              Learn more at www.cafu.de

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to