Closed (duplicate)
Project:
Drupal core
Version:
6.x-dev
Component:
base system
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2007 at 15:58 UTC
Updated:
17 Dec 2007 at 18:47 UTC
When first installed Drupal 6.0-b4, installer detected that my environment supports clean URLs and allowed me to enable.
Later and during my tests, I disabled clean URLs from admininstration and now I cannot re-enable it. When going to 'Clean URLs' page it shows message "Your system configuration does not currently support this feature..."
I'm using Nginx http server and never had any problem with Drupal rewrite rules. As already said, if reinstall Drupal 6 from scratch it founds Nginx as valid environment for clean URLs.
Comments
Comment #1
robloachTry disabling Javascript in your browser and then going to the Clean URLs settings page...
Comment #2
chx commentedUntil someone reproduces this on Apache, this is minor. Also, as Rob Loach mentions above it could be some JS problem....
Comment #3
ssb-1 commentedAfter disabling Javascript, it worked allowing to rerun the clean URLs test.
However this is only a workaround, I still consider it as a Drupal bug need to be fixed.
Comment #4
wim leersssb, as chx said, until somebody can reproduce it on a more widely used server (Apache, perhaps IIS and lighttpd too), this won't be fixed. Most people haven't even heard of the server you're using, so you can't expect them to fix that.
Comment #5
ssb-1 commentedFix followes...
Line 17 of system.js has to be written as follow
This way it cleans location.pathname, similarly to cleanURLsInstallCheck function.
Now it works on any http server, including Apache2, Nginx and Lighttpd (tested all).
Comment #6
robloachI think we should first put settings.base_path into core, and then fix this problem.
Comment #7
robloachI submited a patch which might help.... Mind testing it there?
Comment #8
gábor hojtsyhttp://drupal.org/node/193804 contains a better fix and more wide reaching advantage.