Jump to content

Archived

This topic is now archived and is closed to further replies.

imti

protecting directories using php on apache

Recommended Posts

How can i protect directories on teh apache web server,, other than using .htaccess file. I want a seperate login to protect directories, as i have 5000 pages in that directory.
thanks

Share this post


Link to post
Share on other sites
.htaccess works. Why not use it? You can always make a <Directory /></Directory> addition to httpd.conf and use the same Auth directives as you would in the .htaccess file. Other than that, there is no real way to truly protect a directory with apache.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.