mod_rewrite and authentication

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

 



I've got a section of the website that I want only .htaccess authenticated users to be able to access, but I also want to push them to https://domain.name if they accidentally type in http://domain.name. If I throw both rules into my .htaccess I'm prompted to authenticate, then mod_rewrite fires, and then I have to authenticate again.

Is there a way I can tell apache to do the mod_rewrite first, then authenticate?

Apache 1.3.29 on OpenBSD 4.1

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[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