[vox-tech] Need help creating rewritecond in Apache

Alex Mandel tech_dev at wildintellect.com
Tue Dec 16 16:22:27 PST 2008


Richard S. Crawford wrote:
> The problem: For the next few days, when visitors browse our site, we
> need to redirect them to a different subdomain, www2. However, there
> are some resources on our original site that visitors will need to
> view from that subdomain; these resources are typically retrieved by a
> script called view.php. In the resources subdirectory there's an
> .htaccess file that redirects back to the main domain, but, of course,
> the rewrite script on the main server simply sends the user back to
> the www2 subdomain.
> 
> Can anyone help?
> 

Can you post the relevant part of your rules, it sounds like you need an
exception to the initial redirect to allow access to the particular
resource on the original server.


Alex


More information about the vox-tech mailing list