Hi, I need to disable the RSS feed so that sensible information does not goes out in the public. No doubt this is a useful feature, but in our case, we need to keep sensible data unpublished.
Thanks
If you have FTP access to your webserver, the best bet would be to just modify Apache not to dish out the URL of your RSS feed in the directory for your project pier installation. See http://httpd.apache.org/docs/2.2/mod/core.html#directorymatch
An Example .htaccess file might be:
Deny from all
That would deny all URL matching "/projectpier/index.php?c=feed" with the wild card "*" at the end from being dished out to clients. Im sure there are other means to block these feeds, but this would be a quick patch job for your issue.
Thanks NickS for your comment.
I guess this would definitely work for someone more expert with .htaccess.
Did some tests but still the feed is served.
Great post, but I'm still looking for a solution (preferably a simpler one).
Cheers
If you have FTP access to your webserver, the best bet would be to just modify Apache not to dish out the URL of your RSS feed in the directory for your project pier installation. See http://httpd.apache.org/docs/2.2/mod/core.html#directorymatch
An Example .htaccess file might be:
Deny from all
That would deny all URL matching "/projectpier/index.php?c=feed" with the wild card "*" at the end from being dished out to clients. Im sure there are other means to block these feeds, but this would be a quick patch job for your issue.
Thanks NickS for your comment.
I guess this would definitely work for someone more expert with .htaccess.
Did some tests but still the feed is served.
Great post, but I'm still looking for a solution (preferably a simpler one).
Cheers
Edit application/controllers/FeedController.class.php
Comment every line containing $this->renderText by adding // in front of it. E.g.:
//$this->renderText
This should prohibit any RSS output.
You can do the same for renderCalendar lines if you want to hide the calendar as well.
Thanks a lot phpfreak
Quick edit some lines in application/controllers/FeedController.class.php and RSS is disabled.
Thanks for sharing and have a nice day.