Hi Andy,
Thanks again for the help. It turns out that because my server
(hosted by GoDaddy) was running on Windows, I was not able to
use .htaccess/.htpasswd authentication. In addition, as you
mentioned, I did not have the server's full path, which GoDaddy
provided me. I will have to keep
Actually, you can use .htaccess for http authentication on windows
machines; you just need to be running Apache or one of the few non-
Apache web servers that mimic this functionality. I would recommend
switching to a web hosting service based on *nix/Apache web servers--
especially if you're
Hi Andy,
Actually that is my full path. At least when I FTP to my server,
immediately in the root directory / is the app folder. Is there
anything else that could be wrong?
Thanks
On May 12, 9:20 pm, Andy Dirnberger andy.dirnber...@gmail.com wrote:
You need to use
While that may be your FTP user's full path, it most likely isn't your
server's full path. Try putting a file in webroot with the line:
echo __FILE__;
For example, putting that line in a file called path.php will probably
give you /full/path/to/app/webroot/path.php rather than just /app/
Hi, I have the following in my /app/webroot/.htaccess file, as well as
a matching .htpasswd file in the correct directory per multiple online
how-to's, but my password protection is not working. Can someone tell
me what I am doing wrong?
/app/webroot/.htaccess
AuthUserFile
You need to use /the/full/path/to/app/.htpasswd.
On May 12, 11:17 pm, Jeff jhull...@gmail.com wrote:
Hi, I have the following in my /app/webroot/.htaccess file, as well as
a matching .htpasswd file in the correct directory per multiple online
how-to's, but my password protection is not