CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • HTTP GET for civimail.cronjob.php returns 403
Pages: [1]

Author Topic: HTTP GET for civimail.cronjob.php returns 403  (Read 1476 times)

tvaughan

  • Guest
HTTP GET for civimail.cronjob.php returns 403
June 30, 2008, 04:37:47 am
Trying to run CiviMail mailings via the cron job gives the following:
Code: [Select]
user@remotehost:~$ wget 'http://sitename/civicrm/bin/civimail.cronjob.php?name=user&pass=password'
--12:10:08--  http://sitename/civicrm/bin/civimail.cronjob.php?name=user&pass=password
           => `civimail.cronjob.php?name=user&pass=password'
Resolving sitename... 123.123.123.123
Connecting to sitename|123.123.123.123|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
12:10:08 ERROR 403: Forbidden.

I've also tried pasting the URL into my browser, while logged in and while not logged in, with login details in the URL and without.  No combination results in any mailings being sent.  Test mailings do get sent, however.  Apache logs show a HTTP 302 code.

Any thoughts?  What other information do I need to diagnose the problem?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: HTTP GET for civimail.cronjob.php returns 403
June 30, 2008, 12:08:09 pm

that url looks wrong, it should either be: (i'm assuming drupal 5)

http://sitename/sites/all/modules/civicrm/bin/civimail.cronjob.php?name=user&pass=password

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

tvaughan

  • Guest
Re: HTTP GET for civimail.cronjob.php returns 403
July 01, 2008, 04:00:44 am
Ah....now I feel stupid.  Thanks for pointing that glaringly obvious error out!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • HTTP GET for civimail.cronjob.php returns 403

This forum was archived on 2017-11-26.