Summary.Net Archives
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Summary-Talk] Good log settings for CMS sites.



Hello.

We're just starting to set up some CMS sites on our server.  I've 
played with Tiki and Drupal.

My question is about how to deal with different URLs being the same 
actual content.

Drupal can have 4 different types of request that display the same 
content - dirty or clean, internal or public.   Dirty urls have the 
content encoded as a request string - I've got Clean urls turned on 
and working so I don't have any requests like this in my log.  My 
problem is that my log is getting both Clean internal and Clean 
public entries in it which will make it hard to tell which pages are 
actually popular since they have two different urls.

"Dirty URLs":
"internal "
index.php?q=/book/view/17
"public"
index.php?q=reviews/2020


"Clean URLs"
"internal ":
/book/view/17
"Public":
/reviews/2020

I'm using Combined format with initial  Status for most of my sites.
"%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-agent}i\""

I was thinking of trying normal Combined Format for my CMS sites
"%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\""

but I'm worried that will put request like
/index.php?q=/book/view/17
in my logs and I have "Include query string in requests" turned off 
so This setting will be even more useless.   I don't want to change 
this setting in general since it uses more memory, and louses up some 
other reports.  Is there a way to set it on a site by site level 
instead of setup-wide?

docs here:
http://httpd.apache.org/docs/mod/mod_log_config.html

I think this is a common problem with different CMS's - if they have 
Clean public urls sometimes the internal urls show.  So I'm hoping 
somebody can help me on this.

	Cameron .:.
-- 
--
Tantramar Interactive Inc.
http://www.TantramarInteractive.com/
16 Lorne St., Unit 3, Sackville, NB  E4L 3Z7
Phone (506) 364-1097  Fax (506) 536-2409
-------------
Go to <http://summary.net/list.html> to update subscription info.