Opensuse11.4 – Apache – Access Forbidden 404| FAQs

by
Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0StumbleUpon0

Question: I installed apache  from yast  manager in opensuse and i started apache, everything went ok. Now  when i type in the browser

http://ip i got the error message : Access Forbidden  404

How to resolve this issue?

Answer:

To resolve this,  Open the  apache  config  httpd.conf  located in  /etc/apache2 with your favorite text editor, and at the end of the file add the followung :

#DocumentRoot “/home/srv/www/htdocs”

DocumentRoot “/srv/www/htdocs”

<Directory “/srv/www/htdocs”>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

 

The text above means that your  Document  root  is  now under /srv/www/htdocs

Now move  your  index.php or  html  there  and start  your  apache  again.

For questions please refer to our Q/A forum at : http://ask.unixmen.com/

Share this Article: Facebook0Google+0Twitter0LinkedIn0Reddit0StumbleUpon0