Menu

Apache Permissions problem

Help
plafratt
2015-02-18
2015-02-19
  • plafratt

    plafratt - 2015-02-18

    I followed the steps to set up lxr, and I think I have everything set up
    correctly except for Apache. When I try to open http://localhost/lxr/, I
    get the following error:

    "Forbidden You don't have permission to access /lxr/ on this server."

    I am able to access the default page http://localhost/.

    Has anyone seen this before?

    Thanks,
    Patrick

     
  • plafratt

    plafratt - 2015-02-18

    I found the problem. It was a permissions issue with one of the parent directories.

     
  • Andre-Littoz

    Andre-Littoz - 2015-02-19

    Most "403 Forbidden" problems come from incorrect access rights to the LXR root directory.

    To protect the server owner against malicious accesses, web browsers often require that EVERY directory on the path from / to the terminal directory (LXR root directory in this case) can be accessed (flag x) and read (flag r), i.e. have at least permission r-xr-xr-x or 555.

    Note, for example, that thttpd REQUIRES "world-readability (man states that setting access rights for the thttpd user is not sufficient, thttpd explicitly tests world-read bit).

    Can I close this topic as "self-resolved"? (It will still be accessible in the archives.)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.