httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raquel Rice <raq...@thericehouse.net>
Subject Re: [users@httpd] Virtual Host and mod_rewrite
Date Tue, 12 Nov 2002 00:35:23 GMT
On Mon, 11 Nov 2002 18:49:26 -0500 (Eastern Standard Time)
Joshua Slive <joshua@slive.ca> wrote:

> 
> On Mon, 11 Nov 2002, Raquel Rice wrote:
> >
> > <VirtualHost *>
> > 	ServerName www.campaignfortolerance.org
> > 	ServerAlias campaignfortolerance.org
> > 	DocumentRoot /home/tolerance/public_html
> > 	ErrorLog /var/log/httpd/tolerance-error_log
> > 	CustomLog /var/log/httpd/tolerance-access_log combined
> > 	RewriteEngine On
> > 	RewriteLog /var/log/httpd/server.rewrite.txt
> > 	RewriteLogLevel 9
> > 	RewriteRule ^/pager/([0-9]+),([0-9]+)
> > 	/pager.php?sID=$1&pID=$2 RewriteEngine Off
> > </VirtualHost>
> 
> You'll have much better luck if you remove the
> RewriteEngine Off
> which is telling Apache to ignore all the Rewrite stuff.
> 
> Joshua.

Thank you, Joshua!  I figured out that I had made a change to the
rule, removing the "/" from before "pager.php?".  Once I added that
back in, it worked beautifully.  I really appreciate your help!

--
Raquel
============================================================
Plans are only good intentions unless they immediately degenerate
into hard work.
  --Peter F. Drucker


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message