Virtualhost setup problem

This is a discussion on Virtualhost setup problem within the Apache Web Server forums, part of the Web Server and Related Forums category; In using the following code at the end of my httpd.conf file NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin ...


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 04-30-2005
gray
 
Posts: n/a
Default Virtualhost setup problem

In using the following code at the end of my httpd.conf file

NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin home@abc123.co.uk
DocumentRoot "/www/abc123"
ServerName www.aabc123.co.uk
ServerAlias abc123.co.uk
ErrorLog /www/abc123/error_log
CustomLog /www/abc123/access_log common
</VirtualHost>

What do I need to do with the following code that is at the top of the
httpd.conf file ????

Listen 80
ServerRoot "/www/Apache2"
DocumentRoot "/www/abc123"

ServerName localhost:80
ServerAdmin admin@localhost

ServerSignature On
ServerTokens Full

DefaultType text/plain
AddDefaultCharset ISO-8859-1

UseCanonicalName Off

HostnameLookups Off

ErrorLog logs/error.log
LogLevel warn
  #2 (permalink)  
Old 04-30-2005
gray
 
Posts: n/a
Default Re: Virtualhost setup problem

Apols for 2nd message, as server did not respond that it had sent 1st
message.
 


Thread Tools
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

vB 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 11:38 AM.


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