Questions tagged [mod-auth]
41 questions
0
votes
1 answer
Apache 2.4 Directory access control for mod_auth_form
I need some help with this simple directory access rules - sorry I just started playing with Apache 2.4 and not done this before.
I have configured Apache 2.4 to a stage where I can see a login for for protected resources and once I enter the…

Sach
- 91
- 1
- 8
0
votes
2 answers
mod_rewrite not working due to mod_auth?
I must have discovered a bug in Apache! Because I have the wierdest issue with my webhost. I cannot access a folder named admin. It works in one virtualhost but not the other. (Same hosting account)
/.htaccess
Options…

tim
- 2,530
- 3
- 26
- 45
0
votes
1 answer
howto get PAM authentication working with Apache and mod_authnz_external?
I'm trying for 2 days now to write a custom PAM script which authenticates under Linux with sys user and pass.
I made examples in C, Python and Perl but I have the same problem with all of them.
When I test the script in my shell everything works…

Nico
- 1,071
- 1
- 23
- 39
0
votes
1 answer
APACHE mod_auth limit number of users connecting at the same time
im trying to password protect a directory and its files
i know its possible to generate temporary download links with php
but the subfolders and files are generated dynamicly
its a little hard for me to use php. setting user/pass with mod_auth is…

k961
- 577
- 1
- 5
- 19
0
votes
1 answer
htaccess RewriteCond require user
There is a problem I am having, and I'm pulling my hair out on how to solve it:
in root folder I have a htaccess file with the following rules:
RewriteCond %{REQUEST_FILENAME} !-s
RewriteCond %{REQUEST_FILENAME} !-l
RewriteCond…

Populus
- 7,470
- 3
- 38
- 54
0
votes
1 answer
How can you store a log in using mod_auth_sspi on Apache?
I have an Apache x86 2.2 server set up with mod_auth_sspi in order to authenticate users. I haven't had a problem with it until I noticed something recently.
Users normally log into my website when they are on the company's intranet and in this case…

mswjackso
- 67
- 2
- 11
0
votes
1 answer
Apache mod_auth and mod_rewrite Order
On this given server running Apache, mod_rewrite is executed prior to mod_auth. Normally not a critical issue except when you are trying to use the environmental variable, %{REMOTE_USER} - per .htaccess. In this scenario, it is undefined and…

Daniel Abrams
- 141
- 1
- 9
0
votes
1 answer
mod_auth_cas redirects random requests to CAS login
I'm using mod_auth_cas as authentication system on my applications but I have a problem, even when I'm already logged in to CAS and making AJAX requests to my server some requests are being redirected to CAS login page.
The problem is that CAS is on…

Ephi Gabay
- 938
- 7
- 27
0
votes
1 answer
how to get the userinfo using mod_auth_cas from session?
I use mod_auth_cas as the cas client,and here is my conf file in http.conf of apache:
CASDebug On
CASValidateServer Off
CASCookiePath /var/cache/apache2/mod_auth_cas/
CASLoginURL https://example/cas/login
CASValidateURL…

kerry
- 1
- 4
0
votes
2 answers
lighttpd authentication and rewrite on same url not working
I can't seem to get both authentication and rewriting on the same url. If I disable one, the other works. Is this possible in lighttpd?
$HTTP["host"] =~ "www\.example\.com$" {
auth.require = (
"/prettyurl" =>
(
"method" =>…

user1965780
- 19
- 4
0
votes
1 answer
Fast SHA-2 Authentication with Apache, is it even possible?
Okay, I spent the last couple of days researching this, and I can't believe Apache's natively supported hashing functions are that outdated.
I discovered a couple of ways to do this, which are mod_perl and mod_authnz_external, both of which are too…

Curious developer
- 1
- 1
- 2