Hi all.

Sorry for replying to my own post, but I got a little closer:

> Most of the resources (images, links to other pages, etc.) are referenced
> using the local path I define in DocumentRoot for the corresponding Apache
> vhost.

In the situation I've described in my last post, SCRIPT_NAME is set to
what DOCUMENT_ROOT is. However, this changes once I use something like:

    ScriptAlias /trac /var/www7trac/cgi-bin/trac.fcgi/

In this case, SCRIPT_NAME gets set to "/trac" and everything works as
intended. This issue is most probably not caused by Trac, but either by
Apache or, more likely, mod_fcgid. I'm not even sure whether this is a bug
or expected behaviour - any hints welcome.


At this point it seems I have two options:

 1. Go with "ScriptAlias /trac ..." and try fiddling with mod_rewrite to
make Trac appear under http://domain.tld/ rather than
http://domain.tld/trac/.

 2. Use mod_wsgi instead of mod_fcgid for serving Trac. I tried that
already, and it works painless with Trac living at the root. But it adds
another dependency - mod_fcgid is already available and actively used to
serve some PHP stuff on the same server.

If anyone has some tips that could ease my decision, please let me know :)

Bye, Mike


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to