LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 03-23-2005, 05:10 AM   #16
Sapient
Member
 
Registered: Oct 2003
Location: San Luis Obispo, CA
Distribution: SuSE
Posts: 196

Rep: Reputation: 30

costrevs

I am having a similar problem. Would you mind posting your host file and listen.conf? I may have something wrong in mine, I keep getting the default Apache page.



Thanks
 
Old 03-23-2005, 07:50 AM   #17
costrevs
LQ Newbie
 
Registered: Mar 2005
Posts: 13

Original Poster
Rep: Reputation: 0
listen.conf
=======================================
Listen 80


<IfDefine SSL>
<IfDefine !NOSSL>
<IfModule mod_ssl.c>

Listen 443

</IfModule>
</IfDefine>
</IfDefine>

=======================================
vhosts.d/local-sites.conf
=======================================

NameVirtualHost *

<VirtualHost *>
ServerName localhost
ServerAlias ortiz
DocumentRoot /srv/www/htdocs
</VirtualHost>

<VirtualHost *>
DocumentRoot /srv/www/nthdegree/public_html
ServerName nthdegree
ServerAdmin timmy@this.com
<Directory /srv/www/nthdegree/public_html>
Order Allow,Deny
Allow from all
Options FollowSymLinks
AllowOverride All
</Directory>
</VirtualHost>

<VirtualHost *>
DocumentRoot /srv/www/cgiflexible4u/public_html
ServerName cgiflexible4u
ServerAdmin timmy@this.com
<Directory /srv/www/cgiflexible4u/public_html>
Order Allow,Deny
Allow from all
Options FollowSymLinks
AllowOverride All
</Directory>
</VirtualHost>

=======================================
and FYI, my /etc/hosts file
=======================================

127.0.0.1 ortiz.reno.nv.us ortiz
127.0.0.2 linux.site linux

# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback
fe00::0 ipv6-localnet
ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts

# apache2 virtual hosts
#
127.0.0.1 nthdegree
127.0.0.1 cgiflexible4u
 
  


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
Virtual Host issue with apache gauge73 Linux - Networking 1 07-12-2005 02:00 PM
Apache Virtual Host Problem eckertc1 Linux - Newbie 11 03-23-2005 03:31 PM
Apache Virtual Host problem Seventh Linux - Software 2 03-19-2005 06:33 PM
Apache virtual host problem Adrohak Linux - Software 3 07-18-2004 04:17 PM
Virtual Host Problem using Apache ataber Linux - Newbie 2 01-27-2003 12:32 PM


All times are GMT -5. The time now is 03:29 PM.

Main Menu
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