Welcome Guest, Not a member yet? Register   Sign In
Need a little help with PHP_AUTH_(USER|PW)
#5

(10-08-2015, 08:19 AM)mwhitney Wrote:
(10-08-2015, 07:02 AM)jLinux Wrote: P.S. This is what I tried: http://php.net/manual/en/features.http-auth.php#52405 With no avail

That one uses the following:


Code:
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization},L]


Try removing the ",L" from the end, since that tells mod_rewrite to stop processing rules. You'll also probably need it to be before any other rewrite rules. You may also need to check for REDIRECT_ variables, depending on your rules and where they are defined.

I forgot to say in my other post, but I did try it with and without the L on the end. Also, this is in a separate folder from CodeIgniter, so it has its own .htaccess, so theres no other rules above it. Have you ever tried it? (successfully?)
Reply


Messages In This Thread
RE: Need a little help with PHP_AUTH_(USER|PW) - by jLinux - 10-08-2015, 08:35 AM



Theme © iAndrew 2016 - Forum software by © MyBB