Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 11-28-2007, 03:53 PM   #1
LQ Newbie
Registered: Nov 2007
Location: Holland
Distribution: Ubuntu
Posts: 3

Rep: Reputation: 0
Apache2 permission

Hi all,

I found much of this problem on the net, but I just can't fix it, I hope you can help me!
I just set up an lamp,
Now if I browse to http://localhost I get an error:
You don't have permission to access /index.html on this server.

But I do have permissions to browse to:
I will see then, IT WORKS!

Can someone help me with this?

Thanks in advance

Old 11-28-2007, 03:58 PM   #2
harry edwards
Registered: Nov 2007
Location: Lincolnshire, UK
Distribution: CentOS, Fedora, and Suse
Posts: 365

Rep: Reputation: 48
Can you supply the permissions of each file and what user are you running apache as?
Old 11-28-2007, 04:10 PM   #3
LQ Newbie
Registered: Nov 2007
Location: Holland
Distribution: Ubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the fast reply
That reply was already enough.
I was a normal user, and didn't have the permissions to change a thing.
Now I did: gksudo nautilus, changed the rights of the file, and voila, its working.
So thanks for the reply :P
Grz Jesper


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2 - how to get rid of apache2-default ozymandias Linux - Server 4 09-12-2008 10:27 AM
SuSe Apache2 error: cannot adjust 'apache2' service sir_shunt SUSE / openSUSE 14 04-18-2006 11:36 AM
Apache2 apache2-common WebDav timgerr Linux - Networking 1 08-25-2005 09:41 PM
apache2 permission problems mikewyatt Debian 1 10-24-2004 04:55 AM
how to uninstall apache2 which is installed by emerge apache2 flybirdlong Linux - Software 1 07-17-2004 11:46 AM > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 07:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration