|
|
 |
Re: FN-FORUM: Apache log file - mod rewrites.....
date posted 14th January 2004 10:50
Ken,=20
On Wednesday 14 January 2004 10:28 am, ken mcewan wrote:
> Hi,
>
> Does anyone know if having mod rewrites on a site can
> cause the incorrect login of site views ?
>
> The situation is that a virtual server site should be logging
> to its own log file as in the Apache virtual host there is
>
> CustomLog
>
> While some hits are show there the majority are ending up in
> the system wide httpd access log file, such as:-
>
> "GET /images/logo.jpg"
> "GET /cat/product/2/info.html"
>
> I know there is some mod rewrite rules within in the site but are
> at a loss how it can cause the above....
>
> Any ideas ?
Can you show us the extract from httpd.conf where mod_rewite is=20
included?
For a virtual host it should be something like:
ServerName ftc365
RewriteEngine on
RewriteCond %{REMOTE_ADDR} !^(62.254.128)
RewriteRule ^/ /closed.html [L]
or=20
ServerName rbr
Include /paneris/rbr/etc/rewrites.apache
if you are using the latter then can you also include the rewrite rules.=20
I think it is possible to call rewrite rules prior to=20
virtual host specific rules.
hope this helps
Tim Pizey
|
 |
|