My environment is: Xampp,vista system, drupal5.x. It has been a while to install the Drupal test environment locally, but the simple URL (clean URLs) has not been tuned, but there was nothing, just a configuration issue. Recently, in the study of Ubercart, You need to use a simple URL. So start configuring.
The first is to open the. htaccess file, looked inside, as if there is nothing to match, because the previous installation environment is used WDP, rather than xampp, so there is a concise URL configuration does not apply. Previously wrote a special article on this aspect. Baidu search for a while, see or their own that article. Because he is not very familiar with the apache,php, so can only rely on the existing scheme.
First find http://drupal.org/node/15365 This document, according to the instructions, the Apache allowoverride none of the above changed to allowoverride all, try it, and then changed back. It's still not working.
Look at this document, pull down, and find an article, http://drupal.org/node/43545, devoted to the simple URL configuration below xampp. According to gourd painting ladle.
1,f:\xampp\apache\conf, locate the Httpd.cond file in the directory, open, and find #loadmodule rewrite_module modules/mod_rewrite.so.
Remove the previous annotation symbol "#".
2,f:\xampp\apache\conf\extra, under this directory, create a new httpd-ubercart-5.conf file, my project name is ubercart-5. Add the following:
Alias/ubercart-5 "f:/xampp/htdocs/ubercart-5/"
<directory "f:/xampp/htdocs/ubercart-5/" >
AllowOverride All
Order Allow,deny
Allow from all
</Directory>
Save, close, and restart Apache, so it's done. Note that you need to change the F:\xampp\ to your directory and write the path right.