Find the answer to your Linux question:
Results 1 to 3 of 3
Hi. I have one pc with ubuntu 8.04 running Apacahe. Computer A. I have another pc running Ubuntu 8.04. Computer B. Computer B have some exported folders. These folders are ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    j1s
    j1s is offline
    Just Joined! j1s's Avatar
    Join Date
    Nov 2006
    Location
    Norway
    Posts
    90

    Forbidden and Apache


    Hi.

    I have one pc with ubuntu 8.04 running Apacahe. Computer A.
    I have another pc running Ubuntu 8.04. Computer B.

    Computer B have some exported folders. These folders are mounted in computer A. All fine.

    In /etc/apache/site-enabled/000-default I've set the DocumentRoot to be on one of the mounted folders on computer B. But when I try to access this website, in firefox, i'm getting a 403 forbidden messages that says i do not have permission to access /xxxx/ on this server.

    What's wrong?

  2. #2
    Linux Engineer b2bwild's Avatar
    Join Date
    Jul 2008
    Location
    Behind You!
    Posts
    1,108
    Just add permission for the folder to be executed by others
    and give read permission to others recursively to whole folder
    Never make any misteaks.

    Read my Blog at --> Penguin Inside Subscribe Feed

  3. #3
    j1s
    j1s is offline
    Just Joined! j1s's Avatar
    Join Date
    Nov 2006
    Location
    Norway
    Posts
    90
    Thanks for reply.

    I did a chmod 755 on the folders and added a index.php in the folder which gave me the forbidden message. It works now.

Posting Permissions

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