LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-06-2003, 02:59 PM   #1
Zam
LQ Newbie
 
Registered: Mar 2003
Location: Kansas City
Distribution: Redhat 8.0
Posts: 3

Rep: Reputation: 0
Virtual Hosts


I've installed Redhat 8.0 and I'm trying to configure Apache to do IP based Virtual Hosting. The syntax for the httpd.conf file checks out as OK, but when I try to access the page I get the default page for the server. The error logs show this entry "Directory index forbidden by rule: /home/username/web/domain/html/"

My virtual host entry is as follows:
# Virtual host kansasdowsers.org
<VirtualHost 65.165.52.231>
DocumentRoot /home/username/web/domain/html
ServerAdmin username@kansasdowsers.org
ServerName www.kansasdowsers.org
<Directory "/home/username/web/domain/html">
AllowOverride none
</Directory>
</VirtualHost>

Apache is running under the UID of apache and GID of apache.

Any ideas as to what I've missed?

Thanks in advance!
 
Old 03-06-2003, 05:29 PM   #2
JStew
Member
 
Registered: Oct 2002
Location: North Atlanta
Distribution: LFS
Posts: 229

Rep: Reputation: 30
http://httpd.apache.org/docs-2.0/vhosts/
 
Old 03-06-2003, 06:11 PM   #3
Zam
LQ Newbie
 
Registered: Mar 2003
Location: Kansas City
Distribution: Redhat 8.0
Posts: 3

Original Poster
Rep: Reputation: 0
I have read the documentation from Apache. From everything I've come across, my <VirtualHost> entry is configured correctly. I'm apparently missing something here..but I've read everything I can get my hands on...and researched the error messages, but I'm still coming up empty handed.
 
Old 03-06-2003, 07:20 PM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
What do the permissions look like on the /home/username/web/domain/html directory? Does everybody have privelages to enter those directories and read the files?
 
Old 03-06-2003, 07:39 PM   #5
Zam
LQ Newbie
 
Registered: Mar 2003
Location: Kansas City
Distribution: Redhat 8.0
Posts: 3

Original Poster
Rep: Reputation: 0
Here are the permissions:
drwxr-xr-x
 
Old 03-18-2003, 12:00 PM   #6
ale214
LQ Newbie
 
Registered: Mar 2003
Distribution: redhat 8.0
Posts: 4

Rep: Reputation: 0
any help

wondered if you got this working. i am having the same problem
 
  


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
vsftpd, web uploads, vsftpd virtual users, apache virtual hosts, home directories jerryasher Linux - Software 7 02-18-2007 06:29 AM
virtual hosts, virtual ip's? kuplo Linux - Newbie 3 11-29-2005 08:44 PM
Help with Virtual Hosts? econnections Linux - Newbie 3 07-02-2005 12:39 PM
Virtual hosts Help carminejg3 Linux - Newbie 2 12-22-2004 02:47 PM
virtual hosts... Digital_Err0r Linux - Newbie 25 03-25-2004 03:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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