Hi all,

I am a complete drupal newbie and to be honest, installing drupal for me was a 4 hour nightmare. My webhosts (www.streamline.net) did not appear to like my htaccess file one little bit and to even get drupal installed I had to delete the file entirely.

Everything now appears to be going well and I am about to start adding content to my site, however before I do, I want to get my clean url's turned on. every time I run the clean url test I get the error message: The requested URL /admin/settings/clean-urls was not found on this server. I think this may have something to do with me deleting the htacess file (I do still have a copy locally) and I wondered if any of you had experience with installing drupal on streamline, how you got your htaccess file to work and if anyone knows how I can sort this clean url problem out?

Thanks, all help appreciated!

Comments

kjarva’s picture

For all of you who are using streamline.net, their system just does not like the htaccess file as is shipped with drupal my workaround was this:

1) Make a copy of your htaccess file locally. Copy it again and put it somewhere safe in case the workaround doesn't work for you.

2) open the first htaccess file with notepad and delete absolutely everything that is in it.

3) put only these lines of code into it:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?q=$1

4) save and upload to the directory on your webserver that contains the old htaccess file (overwrite it, natch).

Now try to go to the root of your site and see if it works. From here I was able to enable clean URL's etc. hope it works for you too

sakshay’s picture

Thanks kjarva .

the solution you provided for the clean url is working .

Thanks Again

Sudhakar sarswat

mikojak’s picture

thanks kajarva..

letsbuild’s picture

Thanks so much for this,

Works prefectly, great stuff :)

petrotool’s picture

wow , i was banging my head on the desk

that seems to work but my radio buttons are still greyed out ! aaagghhh.

almost there!

decksandbass’s picture

Cheers for posting that, you just saved me a whole world of pain!

uniyolu.com’s picture

Yes. That's the solution.

garethn’s picture

I also had a problem with streamline and also removed the .htaccess file and I got my home page. However my menu items gave me URL not found. Putting the lines given above in a .htaccess file made the menu work