.htaccess for Dreamhost users
If any of you it’s currently using Dreamhost as Hosting provider, since yesterday they had made some modificataions deprecating “Options +FollowSymlinks”.
This means your site will return an 500 Error.
After talking to the support for more than 1 hour they admitted they have made changes in the policies and now we should use “Options +SymLinksIfOwnerMatch” instead.
Pretty bad communication from them and making this changes without noticing them.
If you are affected by this issue, please your .htaccess for Open Classifieds should look like this to get to work:
ErrorDocument 404 / Options +SymLinksIfOwnerMatch <IfModule mod_rewrite.c> RewriteEngine on RewriteBase / RewriteRule ^category/(.+) index.php?category=$1 RewriteRule ^offer/(.+) index.php?category=$1&type=0 RewriteRule ^need/(.+) index.php?category=$1&type=1 RewriteRule ^type/(.+) index.php?type=$1 RewriteRule ^publish-a-new-ad-for-free/ new/index.php RewriteRule ^contact/ contact/index.php RewriteRule ^privacy-policy/ privacy/index.php RewriteRule ^sitemap/ sitemap/index.php RewriteRule ^advanced-search/ search/index.php RewriteRule ^map/ map/index.php RewriteRule ^(.+)/(.+)/(.+)/(.+)$ item.php?item=$1&type=$2&category=$3&title=$4 </IfModule>
Remember that needs to be in your language.
This would be fixed for Open Classifieds 1.6.1 that is coming soon with few improvements to make your life easier.
I’m getting pretty annoyed by this hosting, since I use a Privvate Server and this things should never happen (as this other one http://j.mp/d8WVXY).
Your blog was forwarded to the Drupal development list. I enquired with Dreamhost and the emphatically replied that they do NOT disallow “Options +FollowSymlinks”. My .htaccess there still contain that line and it does not cause any error.
You mention you spoke to their support desk and that they admitted the change in policy. Have they reverted their policy? As I said, my site work fine with +FollowSymlinks and I got a different reply from them.
On the other hand, speaking of Drupal, their shared hosting plan (not their PS plan) is not suited for even a small, low traffic Drupal web site. They are very aggressive at killing non-interactive scripts and processes that “take too much resources”, so much that a normal Drupal cron run more often than not is killed before it can complete properly. Instead, a non existing internal_error.html page is being accessed. Add to that the known problem that Drupal will cache the resulting error message which has for effect that Drupal cron will stop working altogether even on a small site.
I am not particularly happy about that.
Back to topic: maybe you can try if Options +FollowSymlinks work again on your site.
Hello Augustin.
Thanks for your feedback, I use a Dremhost PS and works faster thn my shadow ;) I’m really happy with it, almost no downtime and really cheap. And managed!
I think the htaccess problem may be only in some PS…no idea…I just found that this happened to me…
About drupal: It’s really powerful, but is a big pain in the ass, just like WP, they are extremely slow…
regards
For the record, I asked for confirmation from Dreamhost on this issue, and this is what they replied:
This means that “Options +FollowSymlinks” should work across all Dreamhost servers.
Great news then, but for the record as well, if it’s like this was not just for few hours…at least 2 days as far as I know.
regards
I seem to be running into something like this on my Dreamhost set up. Trying to run a new app that I just got and I keep getting a 403 Forbidden message. The .htaccess file looks like this:
RewriteEngine on
RewriteCond $1 !^(index\.php|assets|install) [NC]
RewriteRule ^(.*)$ /index.php/$1 [L]
Options SymLinksIfOwnerMatch
That last line seems to be causing all the trouble. If I take it out, then the 403 goes away, but I get a “No input file specified” message so I guess the app needs that line to work. Dreamhost support says they can not debug .htaccess errors and the app writers say the error is with the server so I am all alone out here. Do you know how I might fix this or look for a work around? It is frustrating!
I’m sorry I’m not using dreamhost anymore, I’ve got sick of them and sooo many trouble with them….
That cool… understand.
I am really a newbie with the htaccess stuff… any thoughts on what I could do, or where I could look for answers. If it is a Dreamhost issue, what do I need to ask them to turn on/off to get this to work?
Thanks a ton for your help!
just try to open a ticket they are kind of responsive ;)
good luck!
[...] From http://neo22s.com/htaccess-for-dreamhost-users/ Posted 1 year ago [...]