Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apache mysterious perms error, no matter where index.html is
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
carbon
Guru
Guru


Joined: 27 Jun 2003
Posts: 455
Location: New York

PostPosted: Sat Aug 09, 2003 10:24 pm    Post subject: apache mysterious perms error, no matter where index.html is Reply with quote

ok
/dev/hda3 is mounted on /
/dev/hdc1 is mounted on /home (rwxr-xr-x)

under /home, there is this folder http (rwxr-xr-x)
under /home/http there is this folder apache (rwxr-xr-x)
under /home/http/apache/ is index.html (rw-r--r--)

apache belongs to apache and users.

No matter what i do, the broswer will say the following
Forbidden
You don't have permission to access / on this server.


--------------------------------------------------------------------------------

Apache/2.0.47 (Gentoo/Linux) Server at kilikwala.com Port 80

i tried put index.html under /blah instead of /home/http/apache
but still wont help. coz i was thinking maybe hdc1 is somewhere private from the rest of the world, but thats not the case. :? :? :?
_________________
I do what I want, and that's what I do.
GNU World Domination

Carbon
Back to top
View user's profile Send private message
splooge
l33t
l33t


Joined: 30 Aug 2002
Posts: 636

PostPosted: Sat Aug 09, 2003 11:50 pm    Post subject: Reply with quote

If you're using apache2, edit /etc/apache2/conf/commonapache.conf

Line #766 change it from:

<Directory /home/httpd/apache>

to

<Directory /home/http/apache>

It's the same for apache1 I just don't know the line # =)
_________________
http://get.a.clue.de
Back to top
View user's profile Send private message
carbon
Guru
Guru


Joined: 27 Jun 2003
Posts: 455
Location: New York

PostPosted: Sun Aug 10, 2003 1:54 am    Post subject: Reply with quote

that does it!!!! you are the man
_________________
I do what I want, and that's what I do.
GNU World Domination

Carbon
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum