4872 Posts in 6960 Topics by 1470 members
|Go to End|
24 November 2009 at 9:09am Last edited: 24 November 2009 9:26am
After starting Silverstripe the first time I get the configuration page (install.php).
When I submit this page after a few seconds I see the following message:
Checking that friendly URLs work...
Friendly URLs are not working. This is most likely because mod_rewrite isn't configuredcorrectly on your site. Please check the following things in your Apache configuration; you may need to get your web host or server administrator to do this for you:
mod_rewrite is enabled
AllowOverride All is set for your directory
Extra info: installed on Windows 2003 Server / IIS 6 / PHP / FastCGI / ISAPIRewrite (free version)
24 November 2009 at 9:12pm
The installer won't detect you're using a third-party URL rewriting module.
Once this message occurs, are you able to browse to the installed SS copy and see if it works anyway?
25 November 2009 at 6:48am Last edited: 25 November 2009 6:53am
No Sean, I cannot access that page (Page Not Found)
I can run rewritetest.php but this gives the following message:
mod_rewrite doesn't appear to be working. Make sure:
mod_rewrite is enabled in your httpd.conf
AllowOverride is enabled for the current path.
25 November 2009 at 10:10pm
by default Silverstripe uses the .htaccess to define rewrite rules.
But this is only working automatically with the Apache webserver.
You have to define the rewrite rules for your rewrite engine by hand.
For that have a look in the ISAPIRewrite documentation.
Your can find the required rewrite rules in your Silverstripe root directory in the .htaccess file.
25 November 2009 at 10:12pm Last edited: 25 November 2009 10:15pm
The only thing I can think of is that your rewrite module isn't working properly.
There's a part in the installer that does an AJAX request to InstallerTest/testrewrite which is generic for any rewriting capability - so this means it'll work for the IIS 7 rewrite module, Apache mod_rewrite or ISAPIRewrite if it's setup correctly.
I'm not too familiar with ISAPIRewrite and installing SS on IIS 6, as I've only installed and used SS on IIS 7 and IIS 7.5.
I assume ISAPIRewrite uses some form of .htaccess file for configuration?
EDIT: Just came across this URL, might be of some help: http://cubiksoundz.blogspot.com/2008/12/tech-note-installing-silverstripe-cms.html
26 November 2009 at 8:35am
Well ... I've found the solution.
Forget about IIS and install WAMP, up and running within 5 minutes
26 November 2009 at 9:20am
That's one way - IIS 7 with the MS URL rewriting module appears to work pretty well. However, that requires at least Windows Server 2008 I believe.
|Go to Top|