Crazy Idea - Crawl site in offline mode
mikeytown2 - October 22, 2009 - 17:51
| Project: | Boost |
| Version: | 6.x-1.x-dev |
| Component: | Core compatibility |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
| Issue tags: | 2.0 |
Jump to:
Description
While site is in offline mode, only allow crawler to still get content. Crazy idea, don't know if this can be done without hacking core... Would make any contact form useless. Would make site a lot harder to hack most likely.

#1
#2
may not be so crazy... don't need to hack core, just more htaccess rules and a file inside the root dir.
Clone index.php call it crawler_index.php
Inside I check that the IP address of request is the same IP as server.
Implement my own menu_execute_active_handler() function that doesn't check if the site is in offline mode.
Inside the boost htaccess rules, if user ip = server ip then go to crawler_index.php file.
#3
+ 1
Great idea! Thanks again!