Re: [EMAIL PROTECTED] Mass configured virtual hosts and dynamic alias's

2006-01-27 Thread Tom Turrisi
Joshua Slive wrote: On 1/26/06, Tom Turrisi <[EMAIL PROTECTED]> wrote: Thanks for you reply. It's put me in the right direction but i'm still having a problem working out the correct regex for what i need to do. I don't know how to get the first and second characters of the domain into the p

Re: [EMAIL PROTECTED] Mass configured virtual hosts and dynamic alias's

2006-01-26 Thread Joshua Slive
On 1/26/06, Tom Turrisi <[EMAIL PROTECTED]> wrote: > Thanks for you reply. It's put me in the right direction but i'm still > having a problem working out the correct regex for what i need to do. > > I don't know how to get the first and second characters of the domain > into the places where i hav

Re: [EMAIL PROTECTED] Mass configured virtual hosts and dynamic alias's

2006-01-26 Thread Tom Turrisi
Thanks for you reply. It's put me in the right direction but i'm still having a problem working out the correct regex for what i need to do. I don't know how to get the first and second characters of the domain into the places where i have put <1> and <2> in the following config. I also don't

Re: [EMAIL PROTECTED] Mass configured virtual hosts and dynamic alias's

2006-01-26 Thread Joshua Slive
On 1/26/06, Tom Turrisi <[EMAIL PROTECTED]> wrote: > > This works fine but what i would like is to have an alias of /dshop go > to /domains/%1.1/%1.2/%0/shop for all the virtual hosts. Unfortunately > for me, the variables only work when using the VirtualDocumentRoot > directive and not the Alias

[EMAIL PROTECTED] Mass configured virtual hosts and dynamic alias's

2006-01-26 Thread Tom Turrisi
Hi, I'm currently using apache 1.3 to serve virtual hosts dynamically using the following config... ServerName removed ErrorLog /var/log/error_log CustomLog /var/log/sites_access_log ald VirtualDocumentRoot /domains/%1.1/%1.2/%0/public_html User nobody Group sites Th