Fedora 11 and Apache problems

Discussion in 'Server Operation' started by K_meleonu, Jul 8, 2009.

  1. K_meleonu

    K_meleonu Member

    Hi,
    I have installed Fedora 11 on a new server and tried to configure apache/httpd.
    After installing all i needed there i made a virtual host for a domain -ShareZone.ro.im- and assigned it to /home/sharezone .
    When i access http://sharezone.ro.im i see the standard Fedora Test Page.
    I have a index.htm in /home/sharezone but i can't access it.
    In my error_log i have:
    httpd]# tail error_log
    [Wed Jul 08 23:08:45 2009] [error] [client 86.106.x.x] (13)Permission denied: access to /index.php3 denied
    [Wed Jul 08 23:08:45 2009] [error] [client 86.106.x.x] (13)Permission denied: access to /index.pl denied
    [Wed Jul 08 23:13:25 2009] [error] [client 86.106.x.x] (13)Permission denied: access to /index.php denied
    [Wed Jul 08 23:13:25 2009] [error] [client 86.106.x.x] (13)Permission denied: access to /index.html denied
    [Wed Jul 08 23:13:25 2009] [error] [client 86.106.x.x] (13)Permission denied: access to /index.htm denied
    [Wed Jul 08 23:13:25 2009] [error] [client 86.106.x.x] (13)Permission denied: access to /index.shtml denied
    [Wed Jul 08 23:13:25 2009] [error] [client 86.106.x.x] (13)Permission denied: access to /index.cgi denied
    [Wed Jul 08 23:13:25 2009] [error] [client 86.106.x.x] (13)Permission denied: access to /index.php denied
    [Wed Jul 08 23:13:25 2009] [error] [client 86.106.x.x] (13)Permission denied: access to /index.php3 denied
    [Wed Jul 08 23:13:25 2009] [error] [client 86.106.x.x] (13)Permission denied: access to /index.pl denied

    In httpd.conf i have:
    <VirtualHost 86.106.x.x>
    DocumentRoot "/home/sharezone"
    ServerName ShareZone.ro.im
    <Directory "/home/sharezone">
    allow from all
    Options +Indexes
    </Directory>
    </VirtualHost>


    Can someone tell me where is the problem?
    Have i done something wrong?

    Thank you all in advance for your responses
     
  2. Mark_NL

    Mark_NL New Member

    Well

    Code:
    Permission denied: access to <file>
    should be pretty clear on what's the problem :)

    Check he ownership and rights those files have, because it looks like apache is not allowed to read those files.
     

Share This Page