LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Virtual hosts

Reply
 
Thread Tools Display Modes
  #1  
Old 11-02-2009, 05:40 AM
tonyedgecombe tonyedgecombe is offline
New Member
 
Join Date: Nov 2009
Posts: 7
Default Virtual hosts

I have three virtual hosts I copied from my apache configuration, unfortunately litespeed only seems to accept the last one.

Each looks like this:

<VirtualHost *>
ServerAdmin webmaster@localhost

ServerName www.domain.com
ServerAlias domain.com

DocumentRoot /web/domain/

<Directory /web/domain/>
Options FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

ServerSignature Off

</VirtualHost>

Admin just shows the last one host running and every request shows that domain.
Reply With Quote
  #2  
Old 11-02-2009, 01:14 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Please try changing <VirtualHost *> to <VritulHost xx.xx.xx.xx:80>
see if it help or not.
Reply With Quote
  #3  
Old 11-03-2009, 05:11 AM
tonyedgecombe tonyedgecombe is offline
New Member
 
Join Date: Nov 2009
Posts: 7
Thanks, that resolved the problem.
Reply With Quote
Reply

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


All times are GMT -7. The time now is 05:26 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.