Find the answer to your Linux question:
Results 1 to 5 of 5
Hello, I have a problem in apache 2 Linux server. When I create a folder called "error" in a sub domain, apache doesn't read it. I tried with different permissions ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Posts
    14

    Apache and folders named "error"


    Hello,

    I have a problem in apache 2 Linux server.

    When I create a folder called "error" in a sub domain, apache doesn't read it. I tried with different permissions and proprietary (root and sub domain owner) but doesn't read the index.html.

    In other sub domain the same problem occurs.

    Forbidden

    You don't have permission to access /error/ on this server.
    Apache Server at subdomain.domain.com Port 80
    Apache reserves the name "error" for internal use?

    Thanks in advance.-

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Have you tried to change the owner to apache?

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Just Joined!
    Join Date
    Oct 2009
    Posts
    14
    Hello,

    The apache user is "nobody"

    chown nobody:nobody error

    The problem persists.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Quote Originally Posted by nelo View Post
    Hello,

    The apache user is "nobody"
    Really? Did you change this?

    Try chown apache:apache error

    Where does this directory reside, is it under apache's directory structure?

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  6. #5
    Just Joined!
    Join Date
    Oct 2009
    Posts
    14
    Hello.

    Y tried with apache as owner but the problem persists.

    Finally, I changed error for errores and works well.

    Thank you very much.-

Posting Permissions

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