Apache vhost with mod_python

0 views
Skip to first unread message

Lucian Cojocar

unread,
Aug 21, 2008, 4:00:08 AM8/21/08
to trac-...@googlegroups.com
Hi,

I'm using Trac 0.10.3 and mod_python. I was wondering if it is a way to
make vhost.host.com to _point_ to host.com/trac/project/wiki/Page .
Where `to point' doesn't mean redirect.

Now I have:

<VirtualHost *:80>
ServerName wiki.host.org
RedirectMatch ^/(.*)$ http://dev.host.org/trac/project/wiki/$1
</VirtualHost>

Thanks in advance,
Lucian

Noah Kantrowitz

unread,
Aug 21, 2008, 12:20:24 PM8/21/08
to trac-...@googlegroups.com

No, apache does not support cross-domain rewrites. You could use the
proxy flag perhaps. Links will still not resolve to the other URL though.

--Noah

signature.asc
Reply all
Reply to author
Forward
0 new messages