Symbolic Links do not appear in browser

Discussion in 'Apache' started by scs, Nov 6, 2008.

  1. #1
    This is driving me nuts. I really hope that someone has experienced/solved this.

    Issue - Only on one server out of approx 100 (a new one), running 2.0.52, when we navigate to DocumentRoot using a browser, all files appear except the symbolic links. In fact no symbolic links can be viewed (or used) anywhere in the tree.

    Only this one server fails even when...
    - all servers have exactly the same config (http.conf, OS (CentOS4.5, etc.)
    - DocumentRoot Directory Options Directive has FollowSymLinks set
    - permissions are all set to allow r+x for all users, all directories through the tree
    - no .htaccess

    Physically I do not have access to the server as it is 3000 miles away, could the hardware could have an impact on this?

    Any help/hints would be greatly appreciated.

    :confused:

    Sean
     
    scs, Nov 6, 2008 IP
  2. sparek

    sparek Peon

    Messages:
    68
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    sparek, Nov 6, 2008 IP
  3. scs

    scs Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes, it is set. Configurations are identical on many many machines, only this one machine doesn't work.

    I have since learned a little more about this. Running some test php scripts, I cannot (from this machine) read anything outside of documentRoot, nor follow symbolic links within documentRoot. I can read files that are not linked that are inside documentRoot, almost like default behavior or httpd.conf was never loaded.

    It could be that module mod_access.so was not loaded within httpd.conf as the behavior is pointing to stuff configured within it is not actually working. I have intentionally placed errors within httpd.conf to ensure that it is being loaded, and it is.

    Has anyone had problems where the directives are not behaving?

    Sean
     
    scs, Nov 7, 2008 IP
  4. scs

    scs Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Mystery solved, don't know how I missed this but the new server was installed with CentOS 4.6 (not 4.5 as I thought, all the others are 4.5). Turns out that the version of Apache is the same at 2.0.52 in 4.5 and 4.6.

    So, now the issue is why do the modules not load in CentOS4.6, but do in 4.5.

    Thanks to all that read and thought about this.

    Sean
     
    scs, Nov 11, 2008 IP