LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-22-2004, 12:08 PM   #1
dienerk
Member
 
Registered: Feb 2004
Location: Ocala, Florida
Distribution: Suse 9.1 Pro, Redhat 9, Mandrake 9.2 & 8.1, Fedora 2, and White Board
Posts: 54

Rep: Reputation: 15
Index pages for virtual hosts


When I go to the virtualhosts, I only get a Index page. I tried defining the document root down to the index.html. I got an error on restart. Anyone want to venture guess on how to fix this before I throw the computer across the room?




NameVirtualHost *:80
#
# NOTE: NameVirtualHost cannot be used without a port specifier
# (e.g. :80) if mod_ssl is being used, due to the nature of the
# SSL protocol.
#

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *:80>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>

<VirtualHost *:80>
ServerAdmin linux@medscribe.biz
DocumentRoot /var/www/html/naghag.com/
ServerName naghag.com
ServerAlias *naghag.com
<Directory "var/www/html/naghag.com">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

<VirtualHost *:80>
ServerAdmin linux@medscribe.biz
DocumentRoot /var/www/html/diener.us/
ServerName diener.us
ServerAlias *diener.us
<Directory "var/www/html/diener.us">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

<VirtualHost *:80>
ServerAdmin linux@medscribe.biz
DocumentRoot /var/www/html/medscribe.us/
ServerName medscribe.us
ServerAlias *medscribe.us
<Directory "var/www/html/medscribe.us">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

<VirtualHost *:80>
ServerAdmin linux@medscribe.biz
DocumentRoot /var/www/html/medscribe.biz/
ServerName medscribe.biz
ServerAlias *medscribe.biz
<Directory "var/www/html/medscribe.biz">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

<VirtualHost *:80>
ServerAdmin linux@medscribe.biz
DocumentRoot /var/www/html/pandagirl.us/
ServerName pandagirl.us
ServerAlias *pandagirl.us
<Directory "var/www/html/pandagirl.us">
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
 
Old 10-22-2004, 12:44 PM   #2
dienerk
Member
 
Registered: Feb 2004
Location: Ocala, Florida
Distribution: Suse 9.1 Pro, Redhat 9, Mandrake 9.2 & 8.1, Fedora 2, and White Board
Posts: 54

Original Poster
Rep: Reputation: 15
default pages fix

I'm sorry, i fixed the problem by converting the html files using Quanta. The originals were done in windows. EEEEK!
I am starting to like this learning linux stuff. You sure learn alot.

Last edited by dienerk; 10-22-2004 at 12:57 PM.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
index pages in apache?? redhat 9... soundengineer Linux - Networking 2 01-10-2005 10:41 PM
Stop Apache Server from generating index pages slackwarefan Linux - General 0 05-16-2004 01:45 PM
Virtual Hosts/Directory Index Forbidden by Rule Alan Powell Linux - Newbie 4 04-26-2004 06:35 AM
Apache acting weird with index pages BlurredWeasel Linux - Software 1 11-30-2003 01:05 PM
About setting up apache for index pages of different users raymond Linux - General 15 04-28-2003 12:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:27 AM.

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