Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Garden's .htaccess & removing index.php from URLs

edited April 2010 in Vanilla 2.0 - 2.8
Been very happily running Vanilla 1 for a while on Dreamhost. Now, trying out Vanilla 2 on a new domain.

Install went ok using iamkeir's instructions:

But I can't get the URL rewriting to work as expected - I assume that Garden's rewrite removes /index.php/ from URLs? (as explained towards the end of this page:

Under garden/settings/configure the "Use Garden's .htaccess file to rewrite urls" option has the warning:
The server configuration for this setting could not be found.
If you enable this setting your site may become unavailable.
Are their details about what server configuration settings the 'configure' controller is looking for to make Garden's rewrites work?

The stock .htaccess file is in the root folder:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,L]
I've tried a few things including turning off FastCGI as suggested by Louis here:

But still can't get the rewrite to remove /index.php/

Any ideas?



  • Options
    ive been attempting to get my htaccess to work for a few months now with no luck. Im personally waiting for the RC to see if any changes fix any errors i may be encountering
  • Options
    Are you on Dreamhost too? Maybe it's host-specific.

    Hopefully RC hits soon!

    I'm otherwise really impressed with the simplicity of Vanilla 2. Even cleaner than Vanilla 1.

    Even managed to knock up a WYSIWYG addon today, surprisingly simple, all with just a few lines of code:
Sign In or Register to comment.