Apache httpd problems Fedora Core 6 (first installation apache server)

Discussion in 'Apache' started by j.smith1981, May 29, 2008.

  1. #1
    Hi there,

    Having a few problems I really dont understand with the installation of Fedora core 6 the apache server that gets installed with it.

    I have found where the documents folder is '/var/www/html' (something like that anyways), I have made a folder 'test', and put a html file in there 'test.html'.

    As soon as I put in firefox URL: http://127.0.0.1/test/test.html file it comes up with a response identical to this:

    Forbidden

    You don't have permission to access /test/test.html on this server.
    Apache/2.2.3 (Fedora) Server at 127.0.0.1 Port 80


    I really dont understand this as I have put root user name in the same group as apache as a work friend was advising me to do and its still not working, can someone please help?

    Thanks for reading and I look forward to your reply,
    Jez
     
    j.smith1981, May 29, 2008 IP
  2. bucasia

    bucasia Peon

    Messages:
    50
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi, you need to make sure that the user that Apache is running as (use "ps -ef | grep httpd" to get this) can access the files/folders you've created.

    Try running "ls -lart /var/www/html" to see that the access rights are.

    Matt
     
    bucasia, May 30, 2008 IP