[Openstreetmap-dev] shut down dev server cache

Mikel Maron mikel_maron at yahoo.com
Sun Jan 15 21:04:47 GMT 2006


Squid was started earlier on the dev server, but it's not running on port 80. I checked squid's logs and it's definitely not fielding any requests. (I'm running squid, testing some stuff for the tile server).

There may be some sort of caching happening with mod_ruby. However, I was unable to reproduce this problem by deleting the contents of /var/www/mikel/.

I tried restarting apache, didn't seem to make a difference.

What happens if you try rerunning install_www? Do you see changes in your scripts from before the directory was deleted?

I'm off for tonight, will look into this more tomorrow.

Mikel

----- Original Message ----
From: Immanuel Scholz <immanuel.scholz at gmx.de>
To: openstreetmap-dev at vr.ucl.ac.uk
Sent: Sunday, January 15, 2006 6:43:20 PM
Subject: [Openstreetmap-dev] shut down dev server cache

Hi,

could the apache cache (or squid or whatever is running on 
dev.openstreetmap.org) be shut off, so that changes to the /var/www/* files 
are taken immediatly into account?

An access to http://imi.dev.openstreetmap.org/api/0.2/map?bbox=0,0,1,1

yield in a log entry in /var/log/apache2/dev.imi.error.log

[Sun Jan 15 18:47:06 2006] [error] mod_ruby: error in ruby
[Sun Jan 15 18:47:06 2006] [error] 
mod_ruby: /var/www/imi/ruby/api/osm/dao.rb:124:in `+': can't convert nil into 
String (TypeError)
[Sun Jan 15 18:47:06 2006] [error] mod_ruby:   
from /var/www/imi/ruby/api/osm/dao.rb:124:in `check_user?'
[Sun Jan 15 18:47:06 2006] [error] mod_ruby:   
from /var/www/steve/ruby/api/apache/simple-auth.rb:26:in `authenticate'


while:
dev:/var/www/imi$ ls -a
.  ..
dev:/var/www/imi$


So I assume there is something cached on the dev server ;-(

Ciao, Imi.

_______________________________________________
Openstreetmap-dev mailing list
Openstreetmap-dev at vr.ucl.ac.uk
http://bat.vr.ucl.ac.uk/cgi-bin/mailman/listinfo/openstreetmap-dev



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20060115/81e563d0/attachment.html>


More information about the dev mailing list