[Pound Mailing List] Set backend for Apache "userdir"s

Alan McGinlay <alanm-02ecni/[email protected]>
Newsgroups gmane.comp.web.pound.general
Message-ID <[email protected]>
Hi,

I am trying to find a good way to redirect example.com/~username to a 
specific backend (which will run apache and nfs mounted home 
directories) in order to keep users public_html and nfs mounts off of 
our main webserver.

We also have multiple domains pointing at the same backend but I would 
like the userdirs to only be available via one of them so that 
example.com/~bob works but otherexample.com/~bob does not.

So far I have this:

     Service
         HeadRequire "^Host:\s*www.example.se.*"
	URL "/~*"
         BackEnd
             Address userdirhost
             Port    80
         End
         Emergency
                 Address localhost
                 Port 9090
         End
     End

Followed by:

     Service
         HeadRequire "^Host:\s*www.example.se.*"
         BackEnd
             Address standardbackend
             Port    81
         End
         Emergency
                 Address localhost
                 Port 9090
         End
     End

However, although this allows the userdir to work, it also completely 
breaks the second entry..


Any advice?

Thanks,

Alan

--
To unsubscribe send an email with subject unsubscribe to [email protected]
Please contact [email protected] for questions.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.