Jump to content


Photo

protecting directories using php on apache


  • Please log in to reply
1 reply to this topic

#1 imti

imti
  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 27 September 2006 - 10:35 PM

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


#2 R_P

R_P
  • Members
  • PipPipPip
  • Advanced Member
  • 98 posts

Posted 01 October 2006 - 11:34 PM

.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.
Pro in: Win2K3S | Apache2 | PHP5 | Perl5 | MySQL | MSSQL | Firefox | Photoshop
Student of: Ubuntu6 | Java | C | VB.NET | ASP.NET
Developer: Roddzilla Webstudios, Burrson CG, DVIDSHUB, The Four Nations
Student: Georgia Tech, Georgia Tech College of Computing




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users