PDA

View Full Version : VirtualDocroot


felosi
06-01-2008, 01:01 PM
I setup a server today and they have a script where a user signs up and it gives them a subdomain. They use wildcard on their dns and in httpd.conf this line here:

VirtualDocumentRoot /home/admin/domains/blogabet.com/public_html/users/%1.0/

So when a user enters their subdomain like
http://nasko100.blogabet.com/ it should go to http://www.blogabet.com/users/nasko100

But it didnt with litespeed. However it did work with apache. Does anyone know a solution for this?

mistwang
06-01-2008, 01:18 PM
LSWS does not support virtualdocumentroot directive yet. You can archive the same result with rewrite rule.