Password protecting PEAR folder
Posted: Mon May 10, 2010 12:21 pm
I installed PEAR using FTP on a site using a shared host (Network Solutions), and the PEAR documentation says to password protect the directory.
I tried doing the usual password protection through Account Manager, but then when I went to my PEAR page, I got a 500 Internal Server Error.
So in looking into doing it with .htaccess, I found that I need to create an .htpasswd file in my root directory, above the public web folder. However, File Manager won't allow me to create anything in the root directory.
I was thinking maybe this was something I could do in php.ini but there doesn't seem to be a password protection command that I could find.
Any suggestions on how to password protect my PEAR directory?
I tried doing the usual password protection through Account Manager, but then when I went to my PEAR page, I got a 500 Internal Server Error.
So in looking into doing it with .htaccess, I found that I need to create an .htpasswd file in my root directory, above the public web folder. However, File Manager won't allow me to create anything in the root directory.
I was thinking maybe this was something I could do in php.ini but there doesn't seem to be a password protection command that I could find.
Any suggestions on how to password protect my PEAR directory?