Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Apache problem. (Maybe?)

    So all of the sudden my server stopped working. If I navigate to the IP I can still see my index page, but if I try to go to any folder from there it doesn't work.

    mysite/index.html - works
    mysite/homework/index.html - doesn't work
    mysite/ampache - doesn't work
    mysite/torrentflux - doesn't work

    Not sure I did anything to make this happen. I already tried reseting apache and rebooting the server.

    (I am not at the server but I can ssh/vnc into it.)

  2. #2
    Are there any recent updates to httpd.conf or any other conf files in /etc/apache/conf.d/ (or similar)?

    Maybe post a ls -l so we can see when the last update was made.

    Any way you can post relevant parts of your httpd.conf? Such as directories, files, etc?

  3. #3
    Here is a ls -l of /etc/apache2
    -rw-r--r-- 1 root root 7994 2010-11-18 13:16 apache2.conf
    drwxr-xr-x 2 root root 4096 2011-03-15 23:20 conf.d
    -rw-r--r-- 1 root root 1169 2010-11-18 13:16 envvars
    -rw-r--r-- 1 root root 0 2011-03-15 23:16 httpd.conf
    -rw-r--r-- 1 root root 31063 2010-11-18 13:16 magic
    drwxr-xr-x 2 root root 4096 2011-03-15 23:17 mods-available
    drwxr-xr-x 2 root root 4096 2011-03-21 14:05 mods-enabled
    -rw-r--r-- 1 root root 750 2010-11-18 13:16 ports.conf
    drwxr-xr-x 2 root root 4096 2011-03-15 23:16 sites-available
    drwxr-xr-x 2 root root 4096 2011-03-15 23:16 sites-enabled
    and I opened httpd.conf but the whole file is blank. (I am not even sure what it is for. I do everything through webmin which I havent used for a while)

    Anyways I went to check the problem again and it is no longer happening. Weird... I will post back if I experience it again.

  4. $spacer_open
  5. #4
    Glad its working again. I suppose everything could be in apache2.conf or in the conf.d/ directory, but I'm used to administering httpd.conf.

    Hope it continues to work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts