Dreamhost pretty URLs
Permalink
Hi,
Just set up a new site for a friend (http://www.1stsightfilms.co.uk) and been trying some of the suggestions in previous posts I found on Google about getting pretty URLs working on Dreamhost, but can't seem to get it to work.
Does someone know what the definitive solution for getting it to work? Is it only to do with .htaccess, or do I need to work with some other stuff to get them working?
Thanks,
osu
Just set up a new site for a friend (http://www.1stsightfilms.co.uk) and been trying some of the suggestions in previous posts I found on Google about getting pretty URLs working on Dreamhost, but can't seem to get it to work.
Does someone know what the definitive solution for getting it to work? Is it only to do with .htaccess, or do I need to work with some other stuff to get them working?
Thanks,
osu
Hi,
Thanks for getting back to me - so, for htaccess, do you mean I need to CHMod to 755? It's currently on 644 which I assume is safer?
Thanks,
osu
EDIT - Sorry, I'm being stupid. I've already done this and added the mod rewrite code in there, but I get an error of File no Input
Thanks for getting back to me - so, for htaccess, do you mean I need to CHMod to 755? It's currently on 644 which I assume is safer?
Thanks,
osu
EDIT - Sorry, I'm being stupid. I've already done this and added the mod rewrite code in there, but I get an error of File no Input
your .htaccess file permissions must be set +r (readable) for whatever user your webserver process executes under. If it is set to 644, then it is set readable by everyone. I'm not sure file permissions is the issue.
I think it's more to do with Dreamhost's server set up - I think they rewrite in an unusual way.
I'll open a ticket with them and see if they can explain why I'm getting that error message.
Thanks for your help
I'll open a ticket with them and see if they can explain why I'm getting that error message.
Thanks for your help
Found the answer!
See this post here:
http://www.concrete5.org/community/forums/installation/dreamhost_pr...
It's the last link in the list -
http://jeremeclaussen.com/blog/2010/3/30/concrete5-pretty-urls-and-...
Thanks for getting back to me everyone here.
Osu
See this post here:
http://www.concrete5.org/community/forums/installation/dreamhost_pr...
It's the last link in the list -
http://jeremeclaussen.com/blog/2010/3/30/concrete5-pretty-urls-and-...
Thanks for getting back to me everyone here.
Osu
I was just going to suggest "getting some help from a DreamHost" expert. I guess that's you now :) Congrats!
You'll need to make sure that the .htaccess file is writable.
Go to the dashboard and click on sitewide settings. You'll see a box saying pretty URL's, put a tick in the checkbox and copy the code into your .htaccess file.
The only other thing you'll need is mod_rewrite enable which Dreamhost will need to do for you if it isn't already switched on.
Hope this helps.