#1  
Old 13th November 2009, 13:29
thibotus01 thibotus01 is offline
Member
 
Join Date: Oct 2009
Posts: 89
Thanks: 2
Thanked 2 Times in 2 Posts
Default _default_ virtual host ?

Hi,

I'm trying to figure out where I have to put the _default_ virtual host

Code:
<VirtualHost _default_:80>
        DocumentRoot /var/www/
        ServerAdmin root@example.com
        ErrorLog /usr/local/apache/logs/error_log
        TransferLog /usr/local/apache/logs/access_log
</VirtualHost>
To don't get a redirect to the first domain when I put the IP in my browser...
Reply With Quote
Sponsored Links
  #2  
Old 13th November 2009, 14:23
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,340
Thanks: 810
Thanked 5,172 Times in 4,055 Posts
Default

This si set be the linux distribution automatically, no need to add it manually.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 13th November 2009, 14:36
thibotus01 thibotus01 is offline
Member
 
Join Date: Oct 2009
Posts: 89
Thanks: 2
Thanked 2 Times in 2 Posts
 
Default

Actually I have multiple IP and it seems working only on the primary IP.

in 000-default :

Code:
<VirtualHost *:80>
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www/
......
but it's only works on the primary IP.. :s

Last edited by thibotus01; 13th November 2009 at 15:01.
Reply With Quote
Reply

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is my postfix is hacked? bzzik Server Operation 21 15th July 2009 14:13
smtp is error!!! fhawk Installation/Configuration 2 7th April 2009 13:17
Disabling HTTP TRACE / TRACK in all virtual host rdike Installation/Configuration 8 11th May 2008 03:41
Postfix problem: lost connection after CONNECT from unknown fernando_torrez Server Operation 5 30th November 2007 14:17
This is %#@*&^$# embarrassing! domino Smalltalk 34 5th February 2007 21:57


All times are GMT +2. The time now is 14:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.