Hey folks

I have just installed drupal 6 on a fasthosts linux account and cannot generate clean urls. In admin it says it is not supported yet fasthosts.co.uk say it is. I have tried adding an .htaccess file to the root directory but this doesn't have any effect. The code used is this, but I am a total newbie so it could be wrong:

RewriteEngine on
RewriteRule (.*)-(.*)/(.*)\.html index.php?app=$1&ns=$2&ref=$3 [L,PT]

Would appreciate any help on this!

Thanks
pumpkin

Comments

Bluesmoke’s picture

I'm a newbie and having similar problems on Fasthosts- DRUPAL would not install at all when I included the .ht access file so I deleted it and 5.7 worked OK but clean URLs won't work. Would appreciate any help as well but will keep looking for a solution also

ggarry’s picture

"mod_rewrite is not available on Linux Silver and Gold servers"
http://www.fasthosts.co.uk/knowledge-base/?article_id=972

Bluesmoke’s picture

Thanks - discovered mod_rewrite is on but something is clashing somewhere- I have just found this:

http://drupal.org/node/181027

I had same initial setting up problems so I'm going to try it out

http://www.bluesmoke.co.uk

Bluesmoke’s picture

It worked! - just delete out anything either side of:

<IfModule mod_rewrite.c>
....
</IfModule>

worked for me on fasthosts anyway -now stuck on contact form not working on fasthosts Linux -tried the same set up of Drupal on Fasthosts windows and the contact form worked with no problems. Tried using the SMTP module but got a string of errors.
Any help appreciated on this one also