Hi,
Anyone's help much appreciated for the following problem.
THE SITUATION
We have multiple domain names resolving to a single IP address. In the Apache httpd.conf file (v 1.x) we point the incoming traffic for each domain to the relevant page using virtual hosts. This works fine, however at the moment it is set up such that the domain the user enters is always replaced by the main domain name - for example:
Say a user loads Our virtual host will rewrite the URL as follows:
<VirtualHost *>
DocumentRoot /export/home/docroot/
ServerName RewriteEngine On
RewriteRule ^/ </VirtualHost>
The user's browser will then reflect that he or she is at
What I want is for the user to end up on the same page, BUT with the original domain name, i.e.
I've tried
RewriteRule ^/ /web/init.jsp
and
RewriteRule ^/ web/init.jsp
But these don't work.
The set up of our default domain is something like this (we use a plug in to get Apache to talk to BroadVision...)
<VirtualHost _default_:80>
DocumentRoot /export/home/docroot
ServerName
BroadVision oe
<Location /web>
SetHandler bvsm-handler
Order deny,allow
Deny from xxx.xxx.xxx.xxx
Allow from all
</Location>
</VirtualHost>
Hope this makes sense - thanks in advance for any ideas!
Andy
Anyone's help much appreciated for the following problem.
THE SITUATION
We have multiple domain names resolving to a single IP address. In the Apache httpd.conf file (v 1.x) we point the incoming traffic for each domain to the relevant page using virtual hosts. This works fine, however at the moment it is set up such that the domain the user enters is always replaced by the main domain name - for example:
Say a user loads Our virtual host will rewrite the URL as follows:
<VirtualHost *>
DocumentRoot /export/home/docroot/
ServerName RewriteEngine On
RewriteRule ^/ </VirtualHost>
The user's browser will then reflect that he or she is at
What I want is for the user to end up on the same page, BUT with the original domain name, i.e.
I've tried
RewriteRule ^/ /web/init.jsp
and
RewriteRule ^/ web/init.jsp
But these don't work.
The set up of our default domain is something like this (we use a plug in to get Apache to talk to BroadVision...)
<VirtualHost _default_:80>
DocumentRoot /export/home/docroot
ServerName
BroadVision oe
<Location /web>
SetHandler bvsm-handler
Order deny,allow
Deny from xxx.xxx.xxx.xxx
Allow from all
</Location>
</VirtualHost>
Hope this makes sense - thanks in advance for any ideas!
Andy