Closed (fixed)
Project:
PHPIDS
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2011 at 12:12 UTC
Updated:
31 Aug 2012 at 17:51 UTC
It would be nice if phpids implemented hook_robotstxt from the robotstxt module to add
Disallow: /warning.html
Disallow: /?q=warning.htmlto the robotstxt output.
I created two patches. One implements the hook in phpids.module, the other changes the requirements check in phpids.install so that a warning is only fired when the robots.txt file is missing and the robotstxt module is not installed.
| Comment | File | Size | Author |
|---|---|---|---|
| phpids.install-robotstxt-integration.diff | 634 bytes | morenstrat | |
| phpids.module-robotstxt-integration.diff | 628 bytes | morenstrat |
Comments
Comment #1
patrickd commentedIn 7.x-2.x no further changes in robots.txt will be required.