I install drupal-6.0-beta1 using XAMPP Lite 1.6.3a ("unzip and run") on Windows XP.

Drupal tells during install that "Your server has been successfully tested to support this feature". ["clean" URLs]

But it actually doesn't work, after installation all requests with "clean" URLs (instead ?q=) fail.

So the installer should correctly detect if the system is "clean" URL enabled or not.

XAMPP Lite 1.6.3a
Apache HTTPD 2.2.4 + Openssl 0.9.8e
MySQL 5.0.45
PHP 5.2.3
PHP 4.4.7
phpMyAdmin 2.10.3
Zend Optimizer 3.3.0
1.6.3 Patch
http://www.apachefriends.org/de/xampp-windows.html#631

Comments

gábor hojtsy’s picture

Status: Active » Closed (duplicate)

Please try the latest development snapshot: http://drupal.org/node/97368 We have fixed this issue since beta1 there, so only reopen this issue if you can still reproduce it.

bluepuma’s picture

Status: Closed (duplicate) » Active

Not fixed with drupal-6.x-dev as in the linked post.

dww - November 13, 2006 - 20:58
Nightly development snapshot from CVS branch: HEAD
Download: drupal-6.x-dev.tar.gz
Size: 947.73 KB
md5_file hash: d01a63650794ead66169ca5d86be8ec7
First released: November 13, 2006 - 20:58
Last updated: October 1, 2007 - 13:02

I reopen this issue as I didn't find the original issue for which this should be the duplicate.

bluepuma’s picture

Title: "clean" URL testing during installation doesn't work » "clean" URL testing not correct
Version: 6.0-beta1 » 6.0-beta2

Clean URL testing still not working correctly in 6.0-beta2.

Drupal still tells me during install my configuration is clean URL enabled, but it is actually not and the installation process breaks later on...

JirkaRybka’s picture

You probably need to provide information about your setup (Apache, PHP - version, configuration and the like), or any other relevant info. Otherwise no chance to find the problem. (For me, the test works.)

bluepuma’s picture

It's still the same setup as described in the first post (top of page).

For the configuration you have to tell me which info/files you exactly need.

Or you test it yourself on a windows machine, just download, unzip and run

XAMPP Lite http://www.apachefriends.org/en/xampp-windows.html#646

webernet’s picture

Status: Active » Closed (won't fix)

Tested with XAMPP 1.6.3 and could not reproduce. The installer correctly determined that clean urls were not supported.

bluepuma’s picture

Version: 6.0-beta2 » 6.x-dev
Status: Closed (won't fix) » Active

Okay, here we go, it's easily reproducable, you find my conclusion at the end.

1. Download XAMPP Lite 1.6.4
"XMPP Lite is a very reduced version of XAMPP with Apache 2.2.6 + PHP 5.2.4 + MySQL 5.0.45 + phpMyAdmin 2.11.1 + OpenSSL 0.9.8e + SQLite 2.8.15. For lovers! For the lite versions exist no upgrades or addons. XAMPP Lite is an only "Take-Run-Delete-Forget-it" package."
http://www.apachefriends.org/en/xampp-windows.html#646

2. Downloaded nightly development snapshot from CVS branch: HEAD
http://drupal.org/node/97368

3. Unzpipped XAMPP Lite 1.6.4 and then drupal-6.x-dev.tar.gz to C:\xampplite164\htdocs\drupal

4. Created drupal database in MySQL database

5. Accessed drupal at http://localhost/drupal/ and started "Install Drupal in English"

6. Clean URLs: Your server has been successfully tested to support this feature.
Click "Save"

7. "Congratulations, Drupal has been successfully installed" (with mail error)
"Please review the messages above before continuing on to your new site."
Click continue

8. "Welcome to your new Drupal website!"
"Visit the administration section" http://localhost/drupal/admin
Click Admin

9. I get redirected to the XAMPP homepage, so clean URLs doesn't seem to work.

Situation
Clean URL detection is not 100% reliable, but at the moment you discover it's the wrong setting you are pretty much stuck especially as a beginner. With clean URLs enabled, you can't even access the help page anymore ("For more information, please refer to the help section" http://localhost/drupal/admin/help) and you can't go back and change it ("already installed").

Complication
I fully understand that depending on the components and configuration the detection might be not 100% reliable and that this could be very hard to fix.

Recommendation
Please think about a pure information approach, that for example in "Welcome, Step 1. Configure your website - Visit the admin section" you include a small note (maybe just footnote) that users can switch clean URL mode off at http://localhost/drupal/?q=admin/settings/clean-urls if they experience problems with it.

I think this REALLY helps beginners with drupal if they are just trying to check it out and don't get stuck directly during their first installation...

gábor hojtsy’s picture

Status: Active » Closed (duplicate)

Sorry guys, I was under the impression that we got this issue resolved in the previous betas already (http://drupal.org/node/175944 was the original issue). Now I got the fix committed, so please wait a few hours (don't know how often Drupal development tarballs are rebuilt), grab a new development version: http://drupal.org/node/97368 I sincerely hope that everything will be fixed properly. The new clean URL check only recognizes success if there was an actual JSON response from the server (ie. not some webserver dependent stuff). Alternatively you can also try to apply the patch in the issue to your beta 2 copy and see what happens.

I agree that if people remain with symptoms of clean URLs being enabled but not working, then we either

- need to find another better solution
- remove the clean URL checker as it is
- and/or add the documentation piece suggested by bluepuma

This issue now marked as duplicate of http://drupal.org/node/175944

bluepuma’s picture

Drupal HEAD now detects correctly that clean URLs can't be used (using XAMPP) - thanks!