Hi,

I am trying to get trac proxied behind apache. I think I'm pretty
close but there is a problem...



In my apache 2.2 config file.

<VirtualHost *:80>

        ServerName example.org
        DocumentRoot /root/somepages

        ProxyPass /trac http://localhost:8000
        ProxyPassReverse /trac http://localhost:8000
        ProxyPreserveHost on

</VirtualHost>



In my trac.ini file I have

base_url=http://example.org/trac



I can load the trac instance in my browser at

http://example.com/trac

but the URLs in the links on the front page of the wiki are broken

I see http://example.com/browser but should see http://example.com/trac/browser

The trac css file and images don't load because the "/trac" part
hasn't been added to the urls for those resources. I see

href="/chrome/common/css/trac.css" but the stylesheet is really
available at href="/trac/chrome/common/css/trac.css"


I am starting tracd with

/usr/bin/python /usr/bin/tracd -d \
    --auth=fooTrac,/root/proj/users.htdigest,example.org \
    --port 8000 \
    --protocol=http \
    -s \
    /root/proj/fooTrac


Any idea what I've missed?

Thanks,
Peter

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