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 /...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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) |