[mythtv-users] setting password for settings*.php only

MagicITX magicitx at gmail.com
Tue May 3 22:00:52 UTC 2005


On 5/3/05, Kees van <kvbmythtv at gmail.com> wrote:
> Hi,
> 
> I like to add some access control to the settings section of MythWeb.
> I figured out how to set Apache to require a password on a specific
> directory, however, the settings*.php files are located in the mythweb
> root.
> 
> Is it possible to configure .htacces file-specific?
> 
> Thanks,
> Martijn
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 

The preferred method is to put access control in the main
configuration files instead of htaccess.  You would only use htaccess
if you don't have access to the main files.

To do what you want, check out the Files directive.
http://httpd.apache.org/docs/mod/core.html#files

-- 
Tim
www.magicitx.com


More information about the mythtv-users mailing list