As part of the discussion on IRC about #639738: Help File Fixup: Path module, it was decided that if we had a status report entry for Clean URLs, we could remove mention of it from path_help(). Even without that, I still think this would be a useful enhancement so when users move sites between hosts (or they break their .htaccess), they can be alerted if Clean URLs are broken.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 644388_clean_url_status.patch | 4.56 KB | deviantintegral |
Comments
Comment #1
deviantintegral commentedHere's a patch which checks the status of clean URLs for the status report. At this point, the text for each message is a placeholder, and probably all need to be replaced.
Checking for clean URLs is also refactored into a
system_check_clean_url()function. Finally, system_cron() is updated to automatically disable clean URLs if they don't work. This way, in the worst case that your server breaks the functionality, eventually your site will at least be viewable again. The last bit I'm OK with moving into a new issue, but it was trivial to implement and seems to be best committed along with any text messages for the status report.No tests yet - lets see if I broke any existing ones first.
Comment #2
MichaelCole commented#1: 644388_clean_url_status.patch queued for re-testing.
Comment #4
sunConfigurable clean URLs have been removed and are always enabled now:
#1183208: Remove variable_get('clean_url') and switch to index.php/path pattern for dirty URL support