My webhost says that mod_rewrite IS enabled, but the enable/disable clean URLs buttons are greyed out and the clean URL test fails. My site is on a shared server and the webhost (Globat) does NOT permit AllowOverride (security!). There is no terminal or shell access and I can not see the httpd.conf file (there is no /etc directory visible).
Adding $conf['clean_url']=1; to the settings.php file enables the radio buttons on the settings menu and Drupal generates clean URLs but can't find the pages.
I'm temporarily on a subdomain for testing, but the "base URL" setting correctly shows the fully qualified URL. Changing RewriteBase in .htaccess to either "/" or the subdomain name does nothing, but I think that the .htaccess file is being ignored because AllowOverride is OFF.
Any suggestions would be greatly appreciated.
By mauryg on
Comments
Update on Clean URL problem
I have confirmed that mod_rewrite is enabled on my shared server. Globat even recommends it in their FAQs for redirection and for preventing others from linking to your images directory. And they show the commands to be used in an .htaccess file. Which leads me to believe that something is wrong with my Drupal installation or configuration. Globat doesn't know from Drupal; they offer Mambo.
Any suggestions PLEASE??
PROBLEM IDENTIFIED --
After 4 phone calls to Tech Support at my webhost (Globat) I was finally informed that .htaccess files do not work on a subaccount, which is where I was testing my new Drupal site. They only work in the main httpdocs directory of the main account. If that's true, then it explains why my mod_rewrite didn't work to give me clean URLs. I'm now doing my development under WAMP on my local system. Maybe I should just pay for another domain account on a month-to-month basis for development.
NOTE
The WAMP (Windows/Apache/MySQL/PHP) system does NOT have the mod_rewrite.c module to execute the AddModule command after the LoadModule...mod_rewrite.so. In order to make the clean URL work under WAMP it was necessary to comment out the lines which test for the existence of mod_rewrite.c in the .htaccess file:
# <IfModule mod_rewrite.c> and
[Rewrite conditions and rules here...]
# </IfModule>