LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-07-2003, 06:22 AM   #1
Ninja Cow
Member
 
Registered: May 2003
Location: Pensacola, Florida
Distribution: Debian, Slackware, Amigo, Ubuntu
Posts: 221

Rep: Reputation: 30
Apache: Forbidden Error


Hey all. I am having trouble with apache on Mandrake 9.2.

A few days ago I was able to setup apache with no problem at all on my other computer. So I decided to install Mandrake on this computer and setup apache.

Things didn't go as I had planned.

Apache *was* running fine. Now, I am getting a "403 forbidden error".

http://68.14.178.212:8081

I ran a search on google and this forum, and the most common reply to my problem was "chmod *x* directory 755". Well, I did and I'm still getting the forbidden error. My path is /home/www/html and I chmod'd each directory 755. Am I doing this wrong? I preformed the chmod like this:

chmod 755 home
chmod 755 www
chmod 755 html

I also tried using /var/www/html and I get this same forbidden error. >_< I'm at my wits end here.

I'm kind of a Linux newbie--I've only used Linux for about a year now. I'm still learning as I go...

Can anyone help me? Much oblidged, folks. =)

Edit: Nevermind. I fixed it. Would a mod be willing to lock/delete/whatever this thread?

Last edited by Ninja Cow; 12-07-2003 at 07:52 AM.
 
Old 12-07-2003, 10:58 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Re: Apache: Forbidden Error

Quote:
Originally posted by Ninja Cow
Edit: Nevermind. I fixed it. Would a mod be willing to lock/delete/whatever this thread?
We don't close or delete threads just becuase you recieved no replies but yet fixed it yourself. Instead you should share how you fixed it as it might help some other member searching with a similiar problem find a solution if they stumble across your thread.

Regards.
 
Old 12-07-2003, 12:24 PM   #3
Ninja Cow
Member
 
Registered: May 2003
Location: Pensacola, Florida
Distribution: Debian, Slackware, Amigo, Ubuntu
Posts: 221

Original Poster
Rep: Reputation: 30
Ah. Okay...

I deleted the entire /html directory in /var/www/html and in /home/www/html. I recreated both directories, chmodded them (both) 755, and rebooted. It was fixed. Strange, eh?

I was almost on the verge for another reinstall. Thankfully, I decided to fiddle around a bit. Trial and error is the best way to learn, no?
 
  


Reply



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
Error 403 Forbidden access in Apache anoop_cn Linux - Software 1 09-21-2004 09:32 AM
apache error, 403 forbidden afrodocter Linux - Software 6 08-09-2004 08:35 PM
Apache forbidden error!!!!!!!!!!! RKris Linux - Software 5 11-24-2003 07:17 AM
Apache 2.0.4 .. FORBIDDEN error CRego3D Linux - Software 6 05-15-2003 10:44 AM
apache 403 error forbidden? bulliver Linux - General 4 01-31-2003 07:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:40 PM.

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