无法加载 Clean URLs,
提示:
This option makes Drupal emit "clean" URLs (i.e. without ?q= in the URL).
其它解决方案如下:
I just tried vangorra’s solution on a GoDaddy Deluxe Linux hosting plan, and can confirm that it works!
Thank you very much, vangorra, you just saved me a LOT of trouble, and many other people as well, I suspect.
The mod_rewrite and Clean URLs were not working at all for me before this, and now they do. I simply added this line:
RewriteBase /
Before the first "RewriteCond" line and now it works perfectly.
(Note: My site is currently hosted on a subdomain while under development, so my confirmation here refers to that case. The Drupal site, in my case, is in a subdirectory called "/development" and the so the site is at "development.mydomain.com". I’m guessing this fix will also work fine for normal sites which are in the web root, but that I can’t say I’ve confirmed.)
======
I would also like to confirm that the clean URL’s work with godaddy hosting.
Details :
Drupal 5.1
Godaddy Deluxe Linux Hosting
Uncommenting the "Rewritebase / " in the .htaccess was all that I needed to get clean URL’s working. Easy.
Thanks Vangorra
