Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-20-2004, 11:25 PM   #1
LQ Newbie
Registered: Aug 2003
Location: Tacoma, Washington
Distribution: Slackware
Posts: 18

Rep: Reputation: 0
Weird Apache errors

I just upgraded to the newest release of Apache2 httpd, and decided to setup some virtual hosts for all the domains I have on my box to have their own index. One of my friends asked that I let him use one of the domains, so I said sure, and setup the following VirtualHost (edited domain/user):

DocumentRoot /home/friend/public_html
ErrorLog logs/
CustomLog logs/ common

I then had him create the dir public_html in his home directory, and he made up a test index page. I restarted Apache and got no errors, so I assumed all was well.
When I try to access the page in IE, I get a 403 forbidden error tho! I then was curious, and changed the DocumentRoot to /home/myuser/public_html, restarted Apache, and loaded an index file just fine. What gives?! Both public_html folders were made by plain users, and the index files were just "echo blahblahtext > index.html". I also tried this with ANOTHER account on my box, and it gave me the same 403 error.

Perhaps something is setup differently, since I used my /home/myuser/public_html dir previous to the upgrade?! I'm stumped.
Old 05-21-2004, 04:08 AM   #2
LQ Newbie
Registered: Aug 2003
Location: Tacoma, Washington
Distribution: Slackware
Posts: 18

Original Poster
Rep: Reputation: 0
TTT... someone? No ideas as to what to check that would make 1 user's public_html dir work, and no one elses?!
Old 05-21-2004, 11:43 AM   #3
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
Well, the only thing I can think of is permissions. Apache's finicky sometimes :-/ Try changing the owndership of your friend's public_html directory to the same user/group that owns your public_html directory.

Old 05-21-2004, 12:01 PM   #4
Senior Member
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,553

Rep: Reputation: 139Reputation: 139
i guess,too, that its a permission question. chmod the home/public directory to 0755 and the files in there at least to be readable for everybody.


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
weird make errors invinciblegod Linux - General 3 07-20-2005 08:59 PM
Weird ALSA Errors Mr_Munkey Linux - Hardware 4 06-10-2005 08:45 PM
Weird errors with MA111 on FC 2 ssimontis Linux - Wireless Networking 3 09-18-2004 10:24 AM
Weird IO errors link1305 Linux - Newbie 1 11-14-2003 07:56 PM
Weird cd command errors tarballedtux Linux - General 2 06-08-2003 09:53 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:52 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