httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "S. Saberi" <ssab...@hotmail.com>
Subject RE: [users@httpd] mod_rewrite - Error when trying to rewrite one cgi script to another
Date Wed, 07 Jul 2010 05:41:42 GMT

actually I just put the directive into the httpd.conf file and i see that the log file is
being created upon restart of apache.

 

But when I invokde the rewrite nothing gets logged into it.  

 

Any guidance is greatly appreciated.
 


From: ssaberi@hotmail.com
To: users@httpd.apache.org
Subject: RE: [users@httpd] mod_rewrite - Error when trying to rewrite one cgi script to another
Date: Tue, 6 Jul 2010 20:12:44 -0700



Please excuse my ignorance I went though that link but I still don't understand how it needs
to be defined.
 
Do I have to put it in httpd.conf? Could you please give me an example?
 
> Date: Tue, 6 Jul 2010 15:52:15 -0400
> From: covener@gmail.com
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] mod_rewrite - Error when trying to rewrite one cgi script
to another
> 
> On Tue, Jul 6, 2010 at 3:41 PM, S. Saberi <ssaberi@hotmail.com> wrote:
> > I added the the RewriteLog entry but no matter which location i specify I
> > get the following error:
> >
> > "C:/Program Files/Apache Software Foundation/Apache2.2/scripts/.htaccess:
> > RewriteLog not allowed here"
> >
> > What am I missing here?
> >
> RewriteLog is accepted only in virtualhost context, not in htaccess.
> Each directive lists where it's valid in the "context" area:
> 
> http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritelog
> 
> -- 
> Eric Covener
> covener@gmail.com
> 
> ---------------------------------------------------------------------
> 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