richardk wrote:dso-scooters.nl has the same document root as meetingclub.nl.
only if i type dso-scooters.nl in the adressbar it should internally go to dso.meetingclub.nl and it is the directory
meetingclub.nl/dso
same like
www.meetingclub.nl has the directory
meetingclub.nl/www
That's the information needed.
Mod_rewrite can't rewrite below the document root, you can have /www/dso though, or you could try proxying it:
- Code: Select all
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www\.)?dso-scooters.nl$ [NC]
RewriteRule !^dso(/.*)?$ http://dso.meetingclub.nl%{REQUEST_URI} [P,L]
for that mod_Proxy must be enabled i think ? that would be a problem because my host hasn't installed it.
Anyway, i will try it tomorrow, can't reach the host now, they are being DDossed
thanks for the info
greetz, winus
edit : maybe a little addition: my host uses virtualdocumentroot, this makes sure all the request first come to meetingclub.nl
But i can turn it to Documentroot, then all the request go to
www.meetingclub.nl or the directory
/home/meetingclub.nl/www
but i think the settings are good now ? because you said that modrewrite can't rewrite below the document root, the full adress on the host for the dso.meetingclub.nl would be
/home/meetingclub.nl/dso
thanks in advance