I cannot get clean URLs to work with Drupal 5.1 installed on a Network Solutions server.

Network Solutions does have the LoadModule rewrite_module configured and mod_rewrite enabled in httpd.conf configuration file for their Apache servers.

They run PHP as a cgi script NOT as an apache module.

When Clean URLs are enabled the site is no longer able to access the css files because it looks for them in /admin/settings/modules/system/ (which doesn't exist) rather than /modules/system/ (where they actually are). Therefore the text renders, but the graphics do not.

Thank you for your help.

Comments

Jerimee’s picture

I think I need a special htaccess to account for the fact that PHP is being run as a cgi script.

Jerimee’s picture

I'm getting this as the URL when I run the clean URL test: www.example.com/admin/settings/admin/settings/clean-urls

The test comes back positive ("yes you can run clean URLs") but the pages are text only, because the php is churning out html that has the wrong directory structure.

vm’s picture

I recieved your email, however, I have no experience with network solutions servers.

have you read over this documentation with regards to clean urls ? http://drupal.org/node/15365

using clean urls cgi as a search term turned up this node: http://drupal.org/node/11861 which may help. be sure to read the entire thread

Jerimee’s picture

I've read node 15365 so many times I can recite it verbatim.

I'll let you know how 11861 works out. Thanks for the help; I need it.

jgreenplate’s picture

Im struggling with the same thing and Im hoping someone has found a fix.
Network solutions-Clean Urls... Possible?

fmitchell’s picture

Enable the $base_url in settings.php

I got clean_urls to work in Network Solutions with this.

--
Fredric
http://brightplum.com

dpalmer’s picture

I am currently developing a website for a client and i was trying to install drupal on their network solutions server and when i tried to connect via the terminal in ubuntu< i would connect to the file system and then i would try to move around the directory and each time i tried a unix command i would get booted from the server i tried using their web interface but it"s slow and unfriendly and i much prefer to manage my sites through the terminal :( any suggestions??

-don

-don

gettysburger’s picture

Greetings. I am encouraged to hear that you have had success with Network Solutions. I am trying to configure Clean URLs there and am having a headache.

I will try your setting about the base_URL but am wondering if you would not mind sharing the EXACT code that you put into htaccess?

I have tried different snippets I have found here and there. They always work so far as allowing me to enable Clean URLs in Drupal's back end, but the it won't let me have access to any pages. It will not even allow me to log in as Admin.

Even if I turn off Clean URLs in the database it won't let me in. My guess is my htaccess script is wrong. Any thoughts/ Thanks.

hyperidler’s picture

Hmmm. I have several sites working on Network Solutions with Clean URL's running just fine. I apologize because I can no longer quote the Drupal page where I found all of this. I am running Drupal 6.17 and did a normal copy of Drupal files directly into /htdocs and did the following before running install.php:

1. Edit settings.php with the following

$base_url = 'http://www.mydomain.com';

2. Edit .htaccess in Drupal root to have:

Rewritebase /

3. Create a php.ini file in /cgi-bin with the following;

register_globals = off;
upload_max_filesize = 20M;
post_max_size = 40M;

After that the installation went as normal and Clean URL's worked.