I have a domain and a group of sub-domains that require authentication to access. I am currently using mod_auth to authenticate users (mod_auth basic) at the domain.tld level. My goal is for single sign-on between the domain and all the sub-domains.
Will these credentials carry on to the sub-domains automatically, or with a simple vhost...
I apologize before hand if this is an obvious question: can Apache 2.0 + SSL + basic authentication be trusted in order to secure a website? The way I see it, SSL creates a secure connection between the client and the server and thus any HTTP requests containing the clear-text password should not be a security issue.
thanks,
S.
...
I am trying to write a PHP script that will create a file in a dir and fopen)() and then fwrite() to it. -- No success (if curious why then read through this thread http://stackoverflow.com/questions/2230391/php-shell-exec-and-sudo-must-be-setuid-root)
Approaching this from a different angle, I am considering using a .htaccess with a mo...
I would like to set up a primary directory that has one set of LDAP-based restrictions and then have various sub-directories use other restrictions, but only have the actual LDAP search done in the base directory. For example:
.htaccess per directory
/Primary_Directory
AuthLDAPURL "ldap://ldap1.airius.com:389/ou=People, o=Airius?uid?...
is it possible to use a database and a flatfile to authenticate a user for a directory. for example, if the requested user is not found in the database, apache should check the flatfile via mod_auth for the user.
this is my current .htaccess files
AuthMYSQLEnable On
AuthName "Restricted"
AuthType Basic
AuthGroupFile /dev/null
AuthMySQL...
I have several .htaccess files that use mod_auth_ldap for authorization to different files/directories. They bind to LDAP with a username/password.
Is there a way that I could set the AuthLDAPBindPassword in the Apache config instead of in each .htaccess, so that I don't have the password in a bunch of places? I'm thinking that I could...
Hello,
I am trying to configure Apache2 so I can use MySQL for authenticating users to access certain pages. Also authorization needs to work so different groups can reach differen pages.
Now, I have googled a lot but can't find out how to do this. At least not for the configuration I am having. There doesn't seem to be any version of...
Hey, I'm trying to compile this UNMODIFIED apache mod in ArchLinux so I can modify it later on, but I'm a nub...
apxs -c -L/usr/lib/mysql
-I/usr/include/mysql -lmysqlclient -lm -lz mod_auth_mysql.c /usr/share/apr-1/build/libtool
--silent --mode=compile gcc -prefer-pic -march=x86-64 -mtune=generic -O2 -pipe -DLINU X=2 -D_REENTRANT...