Re: Followup: VirtualHosts..

This is a discussion on Re: Followup: VirtualHosts.. within the Apache Web Server forums, part of the Web Server and Related Forums category; Evan Platt wrote: > I've added to the top of my httpd.conf: Usually it should be sthg. like ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-12-2006
Robert Ionescu
 
Posts: n/a
Default Re: Followup: VirtualHosts..

Evan Platt wrote:
> I've added to the top of my httpd.conf:


Usually it should be sthg. like


NameVirtualHost *:80

<VirtualHost *:80>
ServerName www.espphotography.com
DocumentRoot /Library/WebServer/Documents
</VirtualHost>

<VirtualHost *:80>
ServerName www.hisdomain.be
ServerAlias hisdomain.be *.hisdomain.be
DocumentRoot /Users/hisdirectory/public_html
</VirtualHost>


have a look on http://httpd.apache.org/docs/2.2/vhosts/name-based.html

--
Robert
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:54 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0