[Wolves] Silly Centos 5, Apache 2.2 question

Andy D'Arcy Jewell andy at wild-flower.co.uk
Tue Jul 23 18:24:39 UTC 2013


On 23/07/13 11:55, David Goodwin wrote:
>
> Cheat - If you only have to deal with a couple of directories, stick a 
> blank index.html file in there.
>
> Is it possible that there's some sort of front end cache (varnish?) in 
> the way - which is giving a fake positive ?
>
When you stopped httpd, did the server stop serving pages? If not, check 
what is connected to port 80/443 - as David mentioned before, or with my 
personal favourite:

     netstat -plunt

I'd add tailing the apache logs, too, so you can see if your requests 
are really hitting the web-server, or as David says, some kind of 
front-end cache:

     tail -f /var/log/httpd/*log

Also worth trying is checking any rewrite rules in the apache config or 
in .htaccess files.

Finally (if you *really* need to get to the bottom of it) backup your 
apache config, and strip it down to the bear minimum (by commenting it 
out), gradually re-introducing sections until you track the problem 
down. As apache's config for any given location/directory/virtual server 
etc. is an accumulation of global and higher-level settings, it can 
sometimes be difficult to work out what the settings for one particular 
object will be.

Hope that helps,
-andydj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/wolves/attachments/20130723/84cda09a/attachment.html>


More information about the Wolves mailing list