htpasswd doesn't works for /admin path
Posted by superfedya on August 18, 2012 at 3:15pm
Hi,
It works great for really existed /admin path, but in Drupal it doesn't exist, so I cannot protect admin directory with htpasswd.
Any fix or suggestion?
Thanks
Read moreHow to set up a cron job on a site that's protected with .htaccess/.htpasswd?
Posted by gallamine on July 17, 2009 at 2:07pm
Howdy,
I'm trying to set up a cron job to run my cron.php file every hour. I've read through the docs on cron on Drupal.org (http://drupal.org/cron), and I tried executing the following commands, just to test:
wget -O - -q -t 1 http://www.example.com/cron.phpOR
curl --compressed http://example.com/cron.phpThe problem is is that I have a .htpasswd file on my site that restricts access, and curl and wget can't get to the page.
So, is there an easy way of allowing them to access the cron.php files?

