Virtualhost config problem

This is a discussion on Virtualhost config problem within the Apache Web Server forums, part of the Web Server and Related Forums category; In using the following code at the bottom 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 config problem

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

NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin home@abc123.co.uk
DocumentRoot "/www/abc123"
ServerName www.abc123.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 below original code 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
 
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 05:47 AM.


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