Dezinerfolio

Invalid cURL Response on Shared Hosting solution

i figured i share the solution i worked out with my hosting service.  my site is hosted with 1and1 and after browsing their faq i realized that i needed two additional settings in my .htaccess file (bolded):

<FilesMatch

"\.(engine|inc|info|install|module|profile|po|sh|.*sql|theme|tpl(\.php)?

|xtmpl)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template)$">

 Order allow,deny

</FilesMatch>

 

Options -MultiViews

 

ErrorDocument 404 /index.php

DirectoryIndex index.php

 

<IfModule mod_rewrite.c>

 RewriteEngine on

 RewriteBase /gallery

 RewriteCond %{REQUEST_FILENAME} !-f

 RewriteCond %{REQUEST_FILENAME} !-d

 RewriteRule ^(.*)$ index.php/$1 [L]

</IfModule>

 

Please note that the second entry will correspond to the path in which your .htaccess file resides.

 

 

Trackback URL for this post:

http://www.dezinerfolio.com/trackback/1523

Post new comment

The content of this field is kept private and will not be shown publicly.