The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 Virtual Hosts & Server Alias
Author: Kevin G 
Date:   13-07-00 10:27

Hi Hi,

UNIX rookie here with a FreeBSD/Apache(Frontpage) box

Apache is set up with ip based virtual hosts, 12 ips at this time.

After much reading here in the FreeBSDdiary, and the Apache man, I understand ServerAlias will not work with the ip based virtual hosts, so I activated NameVirtualHost two different ways (after adding ServerAlias in the target VirtualHost Container) :

1. Igoring the instructions in httpd.conf to include a port number at the end of the NameVirtualHost ip string

2. Following instructions in httpd.conf to include a port number (80) at the end of the NameVirtualHost ip string

No other changes were made to httpd.conf

After each attempt I restarted Apache using /usr/local/sbin/apachectl graceful

Each attempt was unsuccesful. Suggestions are appreciated. I am a bit reluctant to go wholesale Name-based virtual hosts, as the box is a good workhorse (it ain't broke... etc). But I DO need to get ServerAlias working.

Thanks,
Kevin


 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 Virtual Hosts & Server Alias   new
Kevin G 13-07-00 10:27 
 RE: Virtual Hosts & Server Alias   new
Philip Hallstrom 14-07-00 03:28 
 RE: Virtual Hosts & Server Alias   new
Kevin G 14-07-00 07:32 
 RE: Virtual Hosts & Server Alias   new
Philip Hallstrom 14-07-00 17:38 
 RE: Virtual Hosts & Server Alias   new
Kevin G 16-07-00 07:14 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org