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.

Reply via email to