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@xxxxxxxxxxx To: users@xxxxxxxxxxxxxxxx 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@xxxxxxxxx > To: users@xxxxxxxxxxxxxxxx > 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@xxxxxxxxxxx> 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@xxxxxxxxx > > --------------------------------------------------------------------- > 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@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > |