LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-02-2004, 03:26 PM   #1
jrbush82
Member
 
Registered: Mar 2002
Location: Hampton, VA
Posts: 86

Rep: Reputation: 15
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: webmail.mydomain.com 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?
 
Old 05-02-2004, 03:29 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
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"
 
Old 05-02-2004, 04:52 PM   #3
jrbush82
Member
 
Registered: Mar 2002
Location: Hampton, VA
Posts: 86

Original Poster
Rep: Reputation: 15
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.

Last edited by jrbush82; 05-02-2004 at 11:38 PM.
 
Old 05-03-2004, 12:33 AM   #4
jrbush82
Member
 
Registered: Mar 2002
Location: Hampton, VA
Posts: 86

Original Poster
Rep: Reputation: 15
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.
 
Old 05-03-2004, 12:42 AM   #5
nodger
Member
 
Registered: Oct 2003
Location: Ireland
Distribution: Slackware 9.1, Ubuntu
Posts: 192

Rep: Reputation: 30
are you going through a proxy?
 
Old 05-03-2004, 01:14 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
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:
ping webmail.domain.com
ping www.domain.com
 
Old 05-05-2004, 04:39 AM   #7
jrbush82
Member
 
Registered: Mar 2002
Location: Hampton, VA
Posts: 86

Original Poster
Rep: Reputation: 15
No I am not going through a proxy, but the address webmail.bushylegg.com 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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
content mangment nerd General 2 11-22-2005 12:44 AM
directory content on apache spank Linux - Newbie 1 09-23-2005 02:40 PM
Which Content Filter? jabird Linux - Networking 1 10-11-2004 06:09 PM
Problems Accesing Content on Apache brokenflea Slackware 2 08-05-2004 01:59 AM
My Apache server is not refreshing content??? rosko Linux - Software 46 12-18-2002 10:26 AM


All times are GMT -5. The time now is 04:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration