On 10/12/2015 19:45, Yuri D'Elia wrote:
On 10/12/15 20:21, Seb Francis wrote:
Thanks for your reply Yuri. I had read this already, but on re-reading
I found the reason why it wasn't working: I'm using mod_fcgi and this
doesn't pass Basic Auth properly.
I added an .htaccess file with the following:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>
Now it's working fine :)
It might be good idea to include this in the distribution. As far as I
can see it wouldn't hurt, regardless of whether fcgi was used.
Ah but it's in there ;)
http://www.thregr.org/~wavexx/software/dl/README.html#apache-fastcgi
Yes, this is where I got the clue that I needed to create the .htaccess
file :)
What I was suggesting is that you include such an .htaccess file with
the distribution, and then people will not need to edit httpd.conf if
they happen to use fcgi. And it shouldn't hurt in the case where fcgi
is not used.
Note that mod_fcgi buffers the upload into memory, unfortunately.
Yes, it's a shame, although there are other advantages that fcgi brings
so we stick with it.
Cheers,
Seb