-   Linux - Software (
-   -   Linux Apache Rewrite Rule (

jon_k 06-09-2009 07:58 PM

Linux Apache Rewrite Rule
Interesting issue here.

I have this under a vhost along with many other rewritecond's that work fine.

RewriteEngine on
rewritecond %{query_string} page_id=20 [nc]
rewriterule ^(.*)$ [r=301,nc]

This doesn't seem to work after reloading Apache's config. According to documentation, this should work; any ideas?

bathory 06-10-2009 02:09 AM

It works indeed.
How do you test it? You should use something like: and see if it redirects you to

All times are GMT -5. The time now is 07:48 AM.