Monday, April 13, 2009

Drupal CLEAN URLS working now

What a milestone! After about 3 weeks of troubleshooting, constipation, and depression I got CLEAN URL's working in Suse Linux Enterprise 10 with Drupal 6.9.

Basically, I had to restore the Drupal server from a previous backup to erase all the hack and slash editing I made to the config files.  Here is the solution for making clean url's work on Suse Linux Enterprise 10.

Images was pointing to the wrong location change that too.

You will need to go into the httpd service under Yast Control Center > http server > and toggle the "rewrite" module to "Enabled".  The server will automatically reboot the Apache server and make the changes.

Then go into "/etc/apache2/default-server.conf"  and 
   AllowOverride All              #From NONE

Thats it exit restart the Apache server and log back into Drupal 6.9 clean urls the option to enable should now be available.

------------------------------------------------------------------------------------------

In Drupal 6.9 I have the following File System Path settings:
/srv/www/htdocs/sites/default/files

and Temp directory
/tmp

Image directory is:
/srv/www/htdocs/sites/default/files/images

But when I try to view an image the path is:
http://creekspeak//srv/www/htdocs/sites/default/files/images/carmen_0.gif

The Drupal installation will not recognize anything but the above FSP how can I manually change this to reflect the correct path which should be:

/sites/default/files

The solution was to put this in the FSP:

sites/default/files




No comments: