Re: Problems with mod_rewrite hack

[email protected] (mikespub)
Newsgroups gmane.comp.cms.xaraya.knowledge-base
Organization not much
Message-ID <[email protected]>
In article <Xns9365845436E7Cgregsbestwebnet-Bt1SeHfVOa+jBwidXv0bIQ@public.gmane.org>, Greg Stritmater <[email protected]> wrote:
>This would only be a temporary solution, while I'm transfering the site
>over from Postnuke to Xaraya. Once I'm switched over, the mod_rewrite hack
>is no longer needed. Unfortunately, my setup does not allow me to separate 
>the two installs. I'll probably just deal with it by turning off the 
>mod_rewrite rules and deal with long URLS on my Postnuke install until it's 
>switched over.
>
>Greg
>
Assuming you work e.g. with a subdirectory for xaraya, you can
just tell mod_rewrite to ignore everything that starts with /xaraya
(or whatever).

Either you use a .htaccess file in that directory that sets
RewriteEngine off

or you use something like
RewriteCond %{REQUEST_URI} !^/xaraya

in the .htaccess of your main directory to exclude all URLs
starting with /xaraya from going through the rewrite rules.

See http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html

Mike.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.