17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 3015 Views |
-
home redirects to check-php.php

27 January 2008 at 12:42pm
I have a fresh installation of SilverStripe 2.2.1. Everything went fine. My environment is MySQL5/PHP5.2/Apache2.
Whenever I try to access home page by going to <site_root>/home/, I get redirected to check-php.php and end up with "page not found" error since I deleted installation files at the end of successful installation.
I tried searching the forums and wiki with no luck. I would really appreciate any help.
Thank you in advance.
Regards,
Thuva
-
Re: home redirects to check-php.php

27 January 2008 at 1:06pm Last edited: 27 January 2008 1:12pm
Hi there,
Thankfully this issue is not so severe. I'm assuming you're using Safari, because I can replicate the exact same behaviour with that browser, but not with Firefox or IE.
Easy fix: flush Safari's cache and restart.
I've filed a bug here:
http://open.silverstripe.com/ticket/2196
Cheers,
Sean -
Re: home redirects to check-php.php

27 January 2008 at 1:22pm
The problem is fixed now. Thank you for the quick reply, Sean. I really appreciate that. I would need to deliver a SilverStripe project on Monday
Thuva
-
Re: home redirects to check-php.php

27 January 2008 at 1:37pm
No problem! I hope the project turns out well!
Cheers,
Sean -
Re: home redirects to check-php.php

8 March 2008 at 11:17am
thanks! that was for me also a good hint....
I had the same problem experience with safari 3.0 and osx 10.5.2 -
Re: home redirects to check-php.php

15 April 2008 at 11:37pm
i have the same problems but with Firefox and IE.
-
Re: home redirects to check-php.php

18 November 2008 at 12:02pm Last edited: 18 November 2008 12:04pm
Although this bug is apparently slated for fixing in 2.4.0 (see Ticket #2196) the same problem with redirecting after installation seems to occur regardless of browser, not just in Safari (I should say I encountered on Firefox 3 (for Mac OSX), and when I loaded up safari (from which I did not do the install) the redirect worked ok). The ?flush=1 trick did not help. However, force quitting Firefox and then reloading the page with ?flush=1 appended did work (e.g.: http://localhost/silverstripe/?flush=1).
A related and similar issue is that, after following the vanilla install procedure, when I point the browser to http://localhost/silverstripe without the trailing slash, I get a directory index. That can be fixed with a simple change to the .htaccess to prohibit directory indexing--however, that would give an error. Another solution would be by replacing an index.php with a meta-refresh header to http://localhost/silverstripe/ with the trailing slash. A better solution would be to rewrite the .htaccess rewrite engine commands to route attempts without a trailing slash correctly.
Obviously allowing unwanted directory indexing after following your vanilla install instructions is a possible security issue and should be remedied, imho, asap.
For the revised installation procedures, I would suggest having the install files in a subdirectory as done with wordpress or joomla.
| 3015 Views | ||
|
Page:
1
|
Go to Top |



