View Single Post
Old 29th January 2009, 00:05
marra87 marra87 is offline
Join Date: Sep 2006
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default lighttpd vs apache problem

I have two webservers.
Local: Apache 2.2
Remote: Lighttpd 1.4.13

I'm using the following rewrite rules:
RewriteEngine  on
RewriteRule ^/(css|gfx|js)/(.*)	/director.php?path=$1&url=$2	[L]
url.rewrite =  ("^/(css|gfx|js)/(.*)" => "/director.php?path=$1&url=$2")
When I try to reach
The variables in director.php is:
$_REQUEST['path'] = js
$_REQUEST['url'] = test.js on apache
$_REQUEST['url'] = test.js?_=1233178574125 on lighttpd

Anyone understands why?

The ?_=1233178574125 string gets added when im using ajax requests (jquery), is it possible to remove that?
I think it is a caching mechanism... that the files doesn't get cached...
Reply With Quote
Sponsored Links