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
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 stock .htaccess file is in the root folder:
But still can't get the rewrite to remove /index.php/
Any ideas?
Thanks,
Rak.
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.Are their details about what server configuration settings the 'configure' controller is looking for to make Garden's rewrites work?
If you enable this setting your site may become unavailable.
The stock .htaccess file is in the root folder:
<IfModule mod_rewrite.c>I've tried a few things including turning off FastCGI as suggested by Louis here: http://vanillaforums.org/discussion/comment/100245/#Comment_100245
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,L]
</IfModule>
But still can't get the rewrite to remove /index.php/
Any ideas?
Thanks,
Rak.
0
Comments
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