imti Posted September 27, 2006 Share Posted September 27, 2006 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 Link to comment https://forums.phpfreaks.com/topic/22308-protecting-directories-using-php-on-apache/ Share on other sites More sharing options...
R_P Posted October 1, 2006 Share Posted October 1, 2006 .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. Link to comment https://forums.phpfreaks.com/topic/22308-protecting-directories-using-php-on-apache/#findComment-102039 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.