LinuxQuestions.org
Help answer threads with 0 replies.
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 08-07-2004, 04:27 PM   #1
afrodocter
Member
 
Registered: Sep 2003
Distribution: slackware 9.1
Posts: 110

Rep: Reputation: 15
apache error, 403 forbidden


i am gettign and error 403 from an apache server 1.3.28 . i have had this working for a while, the last thing i did was copy my entire /root/ contents to /var/www/html by mistake.

my document root is /var/www/html
my perms for /var/www/html are 755, recursively
/var/www/html/ * is all owned by root:root

please help
 
Old 08-07-2004, 04:35 PM   #2
afrodocter
Member
 
Registered: Sep 2003
Distribution: slackware 9.1
Posts: 110

Original Poster
Rep: Reputation: 15
by the way i even get error 403 forbidden when i try to get to a page that does not even exist.
like

/mysite.com/nopagehere.html

this gives error 403
 
Old 08-08-2004, 01:51 AM   #3
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
Try /var/www/htdocs.

Enjoy!
--- Cerbere
 
Old 08-09-2004, 08:55 PM   #4
afrodocter
Member
 
Registered: Sep 2003
Distribution: slackware 9.1
Posts: 110

Original Poster
Rep: Reputation: 15
i have my site in /var/www/html , what do you mean by "try /var/www/htdocs"
 
Old 08-09-2004, 09:05 PM   #5
afrodocter
Member
 
Registered: Sep 2003
Distribution: slackware 9.1
Posts: 110

Original Poster
Rep: Reputation: 15
i just copied the httpd.conf.default to httpd.conf, so as to reset teh default options. i still get 403 forbidden could this be a user or filesystem error on my part??
 
Old 08-09-2004, 09:21 PM   #6
Lamex
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Rep: Reputation: 0
I had this problem as well but then the documentroot was in /mnt/windows/ (which I got fixed working after creating an link), but in your case the solultion is simple, change the owner and group to the one that is controling the httpd deamon..

if that doesn't work then check teh configuration files (I had 3 of them here, httpd2.conf, commonhttpd.conf, httpd.conf¸ each in diff dirs...) and check if the file names are entered correctly, and yes it does whine about capitals
 
Old 08-09-2004, 09:35 PM   #7
afrodocter
Member
 
Registered: Sep 2003
Distribution: slackware 9.1
Posts: 110

Original Poster
Rep: Reputation: 15
i have docroot mounted on an ext2 partions (same as /). i have everything owned by root and the apache runs as user "nobody". i didnt make a changes to the httpd.conf lately so i doubt that is it. io did however copy some file includeing a folder called "System Volume Information" to the /var/www directory on accident. trhis was orginially in my /mnt/windows (or similar dir). i dont know waht happed. i hate to admit this but i just restarted teh server and it works now. i hate that the solution. to anyone reading this post haveing the same problem, i would suspect that there was some error with the filesystem. any insite on this issue would be interesitng, thanks. you guys can check out teh site now if interested.
 
  


Reply


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
apache: 403 forbidden johnty01 Linux - Networking 5 04-05-2008 03:20 PM
apache related problem (HTTP Error 403 - Forbidden ) spandau Linux - Networking 29 09-01-2005 07:06 PM
Error 403 Forbidden access in Apache anoop_cn Linux - Software 1 09-21-2004 10:32 AM
Apache 403 Forbidden quozt Linux - Networking 10 02-24-2004 05:59 PM
apache 403 error forbidden? bulliver Linux - General 4 01-31-2003 08:47 AM


All times are GMT -5. The time now is 11:43 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration