Ricky55 Posted November 9, 2010 Share Posted November 9, 2010 Hi I am very new to PHP but I have just been following a tutorial that required PEAR to be installed on my server. I installed PEAR fine using the go-pear.php script and I now have the web front end working and I've got the packages installed that I needed. I am however getting a message across the interface saying "Warning: This package management website is not protected with a password, this is a MAJOR security risk." It provides a read me file with some instructions on how to secure using an htaccess file but I've tried this and I can then no longer access the front end once its on the server. I have installed PEAR to a folder called pearInstall, I have attached the code for the htaccess, I have tried uploading this file to both the site root and the pearInstall folder. What am I doing wrong? Thanks $ echo " AuthUserFile $(pwd)/.htpasswd AuthType Basic AuthName \"Web-based PEAR Frontend\" Require valid-user" > .htaccess && htpasswd -c .htpasswd admin Link to comment https://forums.phpfreaks.com/topic/218240-securing-a-pear-install-with-htaccess/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.