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

rakrak
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: http://vanillaforums.org/discussion/10522/extended-how-to-install-vanilla-2

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: http://vanillaforums.org/page/Controllers)

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]
</IfModule>
I've tried a few things including turning off FastCGI as suggested by Louis here: http://vanillaforums.org/discussion/comment/100245/#Comment_100245

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

Any ideas?

Thanks,
Rak.

Comments

  • 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
  • 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: http://vanillaforums.org/addon/549/jquery-wysiwyg
Sign In or Register to comment.