Noah Kantrowitz wrote:
> 
> 
>> -----Original Message-----
>> From: [email protected] [mailto:[EMAIL PROTECTED]
>> On Behalf Of Robert C Corsaro
>> Sent: Wednesday, October 01, 2008 11:02 AM
>> To: [email protected]
>> Subject: [Trac] Re: how to make a <Location /> to point to single trac?
>> but /trac/ still work?
>>
>>
>> George Nychis wrote:
>>> Hi all,
>>>
>>> I am trying to configure my trac environment and apache server such
>>> that a single trac project is my root location, but a user can still
>>> access location /trac for a list of projects or /trac/PROJECT to
>> reach
>>> PROJECT.
>>>
>>> What I am trying is:
>>> <Location "/trac">
>>>   SetHandler mod_python
>>>   PythonHandler trac.web.modpython_frontend
>>>   PythonOption TracEnvParentDir /home/trac/
>>>   PythonOption TracUriRoot /trac
>>> </Location>
>>>
>>>
>>> <Location />
>>>   SetHandler mod_python
>>>   PythonHandler trac.web.modpython_frontend
>>>   PythonOption TracEnv /home/trac/cgran
>>>   PythonOption TracUriRoot /
>>> </Location>
>>>
>>> However, when I try to access http://my.server.com/trac it tries to
>>> handle it as /home/trac/cgran/trac which doesn't exist, it should be
>> /
>>> home/trac.  Additionally, trying to access a single project such as
>>> http://my.server.com/trac/PROJECT tries to be served as /home/trac/
>>> cgran/trac/PROJECT which should be /home/trac/PROJECT
>>>
>>> I'd greatly appreciate any help.
> 
> Flip the order of those two blocks.
> 

Almost!  I got it working now, I had to swap the blocks and I followed 
the following configuration:

https://coderanger.net/~coderanger/httpd/gamedev.conf

Thanks!
George

--~--~---------~--~----~------------~-------~--~----~
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