Freelancers Network
 
skill list top cap
Homepage
Join the Freelancer's Network
Update your details
Find a freelancer
Post a project
Find a project
Projects Archive
Post a job
Find a job
Jobs Archive
See Dan's Pages
See Andy's Pages
Link to this site
Resources
Join/Leave Forum
Forum Messages
+Additions+ Adverts
Advertising
Contact Us
Subscribe to our newsletter - enter your email address and hit return
Freelancers.net is owned and operated by Andy Stowell and Dan Winchester
skill list end cap
guru web hostcom

Find me again on Freelancers.net

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




Messages by Day
January 31st 2004
January 30th 2004
January 29th 2004
January 28th 2004
January 27th 2004
January 26th 2004
January 25th 2004
January 24th 2004
January 23rd 2004
January 22nd 2004
January 21st 2004
January 20th 2004
January 19th 2004
January 18th 2004
January 17th 2004
January 16th 2004
January 15th 2004
January 14th 2004
January 13th 2004
January 12th 2004
January 11th 2004
January 10th 2004
January 9th 2004
January 8th 2004
January 7th 2004
January 6th 2004
January 5th 2004
January 4th 2004
January 3rd 2004
January 2nd 2004
January 1st 2004


Messages by Month
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004


Messages by Year
2008
2007
2006
2005
2004
2003
2002
2001
2000