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.

Comments

mikeytown2’s picture

Version: 6.x-1.13 » 6.x-1.x-dev
mikeytown2’s picture

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.

Froggie-2’s picture

+ 1

Great idea! Thanks again!

bgm’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Closing old issue with no activity in a long time.