Friday, July 1, 2011

Drupal 7 403-Forbidden Errors from RSS Aggregators

From a command line just execute this command, and you should see the error :

lynx http://example.com/?q=rss.xml

The fix in my case was related to old versions of the HTTP protocol , meaning I had this rewrite rule in my httpd.conf:

# Disallow old and invalid HTTP protocols versions.
RewriteEngine On
RewriteCond %{THE_REQUEST} !HTTP/1\.1$
RewriteRule .* - [F]


This was inherited in the vhost definition thus breaking the fragile Drupal aggregation.

No comments:

Post a Comment