htpasswd

Events happening in the community are now at Drupal community events on www.drupal.org.
superfedya's picture

htpasswd doesn't works for /admin path

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 more
gallamine's picture

How to set up a cron job on a site that's protected with .htaccess/.htpasswd?

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.php

OR
curl --compressed http://example.com/cron.php

The 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?

Read more
Subscribe with RSS Syndicate content