LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Odd Apache VHost Problem (https://www.linuxquestions.org/questions/linux-software-2/odd-apache-vhost-problem-49535/)

LinuxDude 03-12-2003 10:25 PM

Odd Apache VHost Problem
 
Hey guys! I have a Mandrake 9.0 server with Apache 1.3.27 and PHP 4.3.1 running on it. For quite sometime, I have used a virtualhost configuration that has not needed modification. A few days ago, however, whenever I went to visit my main site (4life.ath.cx), all I got was a blank page. I have tried everything that I can think of - from changing the permissions/group/ownership to modifying the Apache & PHP config files and more without luck. I hoping that someone here can give me a few more suggestions. Oddly enough, my personal site (joesplace.mine.nu) is still up and running perfectly! Also, when I try viewing the main site using Konqueror I get a strange error message saying "The protocal http://4life.ath.cx/ has suddenly died unexpectedly". The browser that I normally try to view it with, though, is my favorite Mozilla.

Thank you guys in advance! If you need anything else, just ask....

P.S. - If you can not view either one of my sites, it is because I am not keeping this server up 24-7 just yet. I will be soon, though - hopefully.

:newbie: :Pengy:

Burke 03-13-2003 12:56 PM

start off by placing an index.html file with a test message in the document root for that virtual host.. See if that comes up.

Then try different doc types -- see if that is any type of issue. This helps me determine whether or not a site is even getting to the correct directory.

You may also want to have a console window open with the following:
assuming /var/log/httpd/error_log is your error log (replace as necessary)

tail -f /var/log/httpd/error_log

See if any help shows up there when you try to access the site.
Then try the same with "access_log"
Note: these are default httpd logs in MDK.

LinuxDude 03-13-2003 09:27 PM

Thank you for replying, but I found the solution. :p


All times are GMT -5. The time now is 05:49 AM.