-   Linux - Software (
-   -   Apache serving content after the content is removed? (

jrbush82 05-02-2004 04:26 PM

Apache serving content after the content is removed?
Okay, I'm a bit confused.. I'm running Apache/2.0.49, and have configured a VirtualHost for webmail.. ie: I installed Squirrelmail, and configured it, got it running, and then removed it, even removed the hosting directory and the VirtualHost section out of the config file. Still though, it hosts the content, lets me login, send and receive e-mail, etc... I tried restarting the apache server, and rebooted the machine all together to see if it was in memory or something, dunno...

I have searched my entire file system for specific files that are a part of Squirrelmail... and they don't even show up on my system.

I know I do not have two versions of apache installed on the system. Yes it is version 2 though.

I have cleared the cache on the client side and everything, what I don't get... I can actually login, receive e-mail, send e-mail and everything else.. so its like the script, sub-domain, and everything associated with the webmail virtual host still exists, and is talking with my linux mail server.

I am completely lost on why this would happen unless apache has a cache of its own, which I've read about and have only been able to determine that apache running as a proxy is the only way it will have a cache.

Any ideas?

david_ross 05-02-2004 04:29 PM

Check your access logs to see if it is actually serving files. Once you see the names of the fiels that are being served search your system from that file name:
find / -name "file.ext"

jrbush82 05-02-2004 05:52 PM

Great idea, though it did not work. I viewed the default access and error logs, along with the virtual host specific logs that were used for it. The last access it shows is from the 26th for anything that was related to squirrelmail. I am completely baffled by this.

One thing that even makes it more interesting in which I just found out by fiddling, is that when I stop the apache web server, I cannot access anything except the webmail domain, which is good, with the exception of being able to access that domain.

If I do a port scan on the host, port 80 isn't open if the apache service is off, but yet it still serves the webmail virtual host.

Bleh... now I'm really baffled.

jrbush82 05-03-2004 01:33 AM

Just to add another note, to be 100% sure that it wasn't anything to do with my local network, I am now at work and attempted to login to this deleted webmail virtual host, and it does work. So it has nothing to do with the cache on a client or what not.

nodger 05-03-2004 01:42 AM

are you going through a proxy?

david_ross 05-03-2004 02:14 PM

My next guess is that perhaps it is beeing hosted from a different server. From the cli try a ping to each virtual domain and see if the IPs are the same - ie:

jrbush82 05-05-2004 05:39 AM

No I am not going through a proxy, but the address does not resolve to the correct IP address. What are the odds that the registrar that I use also uses squirrelmail. Each time I was loading up my webmail domain, it was actually theres. The strange thing is that I logged into my servers though. I think I have an idea on why, but its still funny when you look at it. I am getting with the registrar now to figure out why a subdomain of my domain is resolving to their address.

Thanks for the help guys.

All times are GMT -5. The time now is 03:43 AM.