mod_rewrite and mod_vd

Oh, the strange things mod_rewrite does!

mod_rewrite and mod_vd

Postby roeland » Tue Dec 21, 2004 7:13 am

Are there any known problems with mod_vd and mod_rewrite?
I have a mod_vd setup that makes this:
domain.tld/test/
equal to
test.domain.tld

this works ok, but when I want to use rewrite rules I have
problems.
The rules don't get applied if I go to something like this:
test.domain.tld/test2/

They work just fine on urls like these:
domain.tld/test/test2/
domain.tld/test/
test.domain.tld

It looks like combining a subdomain and a map gives the problem.

Any idea why the RewriteRules are skipped in this case?
I don't know if this is a mod_rewrite problem or a mod_vd problem or my problem :-)
roeland
 
Posts: 2
Joined: Tue Dec 21, 2004 7:10 am

Postby Caterham » Sun Jan 02, 2005 8:48 am

I think this is a problem between the apache main distribution and 3rd-party modules.

I think the point here is, that the transformation of the request between the sub domain and the regular path has already taken place, so that the request for mod rewrite and the core module would be /test/test2/ but not /test2/.

Try contacting the 3rd-party module author about this issue.

Bob
Caterham
 
Posts: 690
Joined: Fri Dec 10, 2004 1:30 pm


Return to Idiosyncrasies

Who is online

Users browsing this forum: No registered users and 3 guests

cron