LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-07-2003, 05:03 PM   #1
klintonray
Member
 
Registered: Apr 2003
Location: Phx, AZ
Posts: 61

Rep: Reputation: 15
Unhappy Major Virtual Host Config Issues


Hey all...

Ok, i'm trying to set up a virtual host for two sites. I have started trying to configure the file for the first one, and no matter what I do. I always get the test page. If you don't know what test page I'm talking about trying looking up my site and you will get it ... http://www.arizonahealthquotes.com ....ok, i'm gonna put my virtual config file down here cause I know that helps you guys. Also the network it set up that the server has an internal ip address of 192.168.1.20, and a public wan address of 63.226.61.140. Thanx guys..you always are a huge help.

#
# Virtual hosts
#

# Virtual host Default Virtual Host
<VirtualHost 63.226.61.140:80>

DocumentRoot /home/klinton/aba/
ServerName www.arizonahealthquotes.com
ServerAlias www.arizonahealthquotes.com








DirectoryIndex index.php index.html index.htm index.shtml






LogLevel debug
HostNameLookups off




</VirtualHost>

thanx again
 
Old 08-07-2003, 06:11 PM   #2
klintonray
Member
 
Registered: Apr 2003
Location: Phx, AZ
Posts: 61

Original Poster
Rep: Reputation: 15
Ok, I just looked through my error files and found this too

[Thu Aug 07 16:08:15 2003] [error] [client 192.168.1.20] Directory index forbidden by rule: /var/www/html/

That happens and it gives me the test page I guess.

I don't know what it means, but I hope you guys can use it.
 
Old 08-07-2003, 07:20 PM   #3
klintonray
Member
 
Registered: Apr 2003
Location: Phx, AZ
Posts: 61

Original Poster
Rep: Reputation: 15
if i change things around to look like this:

# Virtual hosts
#

# Virtual host Default Virtual Host
<VirtualHost *>








DirectoryIndex index.php index.html index.htm index.shtml






LogLevel debug
HostNameLookups off




</VirtualHost>

# Virtual host www.arizonahealthquotes.com
<VirtualHost 192.168.1.20>
DocumentRoot /home/klinton/aba/

ServerAdmin klintonkerber@prodigy.net
ServerName arizonahealthquotes.com


ServerAlias www.arizonahealthquotes.com




<Directory "/home/klinton/aba/">
AllowOverride none
Allow from from all
Deny from from all
Order Allow,Deny
</Directory>

<Directory "/">
AllowOverride none



</Directory>












</VirtualHost>


I get an error message that says i don't have permission to access "/" maybe that will help too
 
  


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
Major problems with hostname, virtual server etc MichaelD Linux - Newbie 1 05-21-2005 08:51 PM
Apache named virtual host config darthtux Linux - Software 8 04-19-2005 02:38 AM
virtual host ziggie216 Linux - General 2 12-22-2003 06:38 PM
Apache: Virtual Host Config question rajanr Linux - Software 5 08-30-2003 12:41 PM
Virtual host config won't work klintonray Linux - Networking 18 08-19-2003 02:53 PM

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

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