mod_vhosts_alias and partial domains

This is a discussion on mod_vhosts_alias and partial domains within the Linux Web Servers forums, part of the Web Server and Related Forums category; A question, obviously, for those in the know. Here's my mass virtual host line relivant to the question: VirtualDocumentRoot /...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-27-2005
strredwolf@gmail.com
 
Posts: n/a
Default mod_vhosts_alias and partial domains

A question, obviously, for those in the know. Here's my mass virtual
host line relivant to the question:

VirtualDocumentRoot /home/sites/%-2.%-1/%-3.1/%-3.2/%-3/public_html

Of course, using examples:

www.example.com -> /home/sites/example.com/w/w/www/public_html
www.example.co.uk -> /home/sites/co.uk/e/x/example/public_html
www.example.com.au -> /home/sites/com.au/e/x/example/public_html

What would happen if I just did "example.com"? Will it remap to
/home/sites/example.com////public_html, aka
/home/sites/example.com/public_html?

(And yes, if need be I'll run the rewrite engine over them to sanitize
them)

 
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 07:09 AM.


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