View previous topic :: View next topic |
Author |
Message |
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
hdcg Tux's lil' helper
Joined: 07 Apr 2013 Posts: 120
|
Posted: Mon Jul 14, 2014 7:16 pm Post subject: |
|
|
Hi,
to protected a single directory you use the location and the require directive. E.g. with mod_xradius you use:
Code: |
<Location "/protected">
AuthType basic
AuthBasicProvider xradius
AuthName "Login required"
Require valid-user
</Location>
|
You need to configure the proper authentication provider. I do not know if there is any directly using MySQL. mod_xradius can use MySQL as a backend and hence can be used for MySQL based authentication. Whether this fits your needs depends on your exact requirements.
Best Regards,
Holger |
|
Back to top |
|
|
audiodef Watchman
Joined: 06 Jul 2005 Posts: 6639 Location: The soundosphere
|
|
Back to top |
|
|
|