HTTP authentication, with proxy?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 webmaster@xxxxxxxxxxxxxxxxxx
    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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux