Find the answer to your Linux question:
Results 1 to 6 of 6
I have installed apache, and when I try to view the webpage that I added to the folder it says Forbidden You don't have permission to access /index.php on this ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2005
    Posts
    48

    Permission error


    I have installed apache, and when I try to view the webpage that I added to the folder it says
    Forbidden

    You don't have permission to access /index.php on this server.

    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/2.0.52 (Fedora) Server at mab.no-ip.info Port 2000
    Does anyone know how to fix this problem???

  2. #2
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Hvae you set the right permissions for the folder, see what works with:
    Code:
    su
    rootpass
    chmod 744 /Path/to/index.php
    Replaceing /Path/to with the path to index.php

    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  3. #3
    Just Joined!
    Join Date
    Jan 2005
    Posts
    48
    I figured it out, I just forgot how to do it, then after I posted I remembered. got to set permissions to read and write(all boxes checked)

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    Quote Originally Posted by Burian
    got to set permissions to read and write(all boxes checked)
    What! do you want to get your server hacked! You should only have read permission for anybody exept root, or you will get hacked!

    Edit: you can set this with the command I gave above;

    dylunio
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  6. #5
    Just Joined!
    Join Date
    Jan 2005
    Posts
    48
    Ok thank you for that Information. Im new to linux and I just want to get my server running and stuff loaded on it. I will change it now.

  7. #6
    Just Joined!
    Join Date
    Jan 2005
    Posts
    48
    Now everything is messed up. I can't rename or move anything. Can anyone help me please????

Posting Permissions

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