Jump to content

Recommended Posts

Hello,

When i start apache and go my my webpage it says:

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

 

im starting apache2 but it keeps giving me the error:

apache error1.PNG

Does anyone know what the problem could be?

Note: /etc/apache2/httpd.conf is emty. i dono why but it is. could this be the problem:O?

theres nothing with vhost in there. only:

apache2.conf

conf.d/

envvars

httpd.conf

mods-available/

mods-enabled/

ports.conf

sites-available/

sites-enabled/

test/

 

i disabled the virtual host settings in apache2.conf tho. cause otherway i get:

_default_.png

 

Your current virtual host configs are within sites-enabled. You seem to have a pretty messed up setup though hehe.

 

I think the main issue seems to be that your trying to use /var/www as your document root, where really it should be something like /var/www/sitename (though that should still work).

 

Still, we need to see your virtualhost configs.

It looks to me like a web control panel is installed ( webmin ). This can hook in scripts and config files into all sorts of places. It will take a bit of time to weed out all the custom configs webmin put in.

 

If you use or used a webmin web control panel for your server, I suggest you google an uninstall how-to for webmin/web control panel.

 

-steve

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.