Announcement

Collapse
No announcement yet.

apache2 error: Forbidden

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    apache2 error: Forbidden

    I just installed the kubuntu 13.10 and did the full dist upgrade, apache2 was working normal in kubuntu 13.04, in the 13.10 i see some changes in apache2 like the example.net is changed to the example.net.conf, now want to open the exmaple.net get this error:
    Forbidden

    You don't have permission to access / on this server.
    Apache/2.4.6 (Ubuntu) Server at example.net Port 80
    The doument root /home/www permission is set to 755, this is the /etc/apache2/sites-enabled/example.net.conf:
    <VirtualHost *:80>
    ServerAdmin user@example.net

    DocumentRoot /home/www/example.net/htdocs
    ServerName example.net
    ServerAlias www.example.net
    <Directory />
    Options Indexes FollowSymLinks MultiViews
    AllowOverride None
    Order allow,deny
    allow from all
    </Directory>

    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory "/home/www/example.net/cgi-bin">
    AllowOverride None
    Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
    Order allow,deny
    Allow from all
    </Directory>

    ErrorLog /var/log/apache2/error.log

    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn

    CustomLog /var/log/apache2/access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
    Options Indexes MultiViews FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

    </VirtualHost>
    The site for /var/www is working fine.
    Last edited by shamsat; Oct 21, 2013, 11:31 AM.
Working...
X