Hello All,

I've got authentication in place on my server for every virtual host. with
the usual:

<Directory "/whatever">
Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
AuthType Basic
AuthUserFile /etc/httpd/conf/htpasswd
AuthName "Authorized users only!"
require valid-user
satisfy any
</Directory>

Now in the VirtualHost declaration I'm proxying all requests over to a rails
app:
<VirtualHost *:80>
    ServerName wiki.[mydomain].com
    ServerAdmin [EMAIL PROTECTED]
    ProxyRequests           Off
    ProxyPreserveHost       On
    RewriteEngine           On
    RewriteRule             ^/(.*) http://127.0.0.1:2600/$1 [P,L]
    ProxyPassReverse        / http://127.0.0.1:2600/
</VirtualHost>

But it seems that with the proxy it overrides HTTP authentication..  Also
note that I changed the directory to "whatever" and the serverName to
[mydomain].. that isn't actualkly in the vhosts file.

Any ideas?

Thanks all

Reply via email to