Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Redirecting to url that doesn't exist in db


Reply


2 Posts   964 Views

Avatar
obj63mc

Community Member, 24 Posts

24 November 2009 at 7:18am

I just recently setup an instance of SS in a subdirectory /myss that contains the silverstripe project and all the files but for some reason when I hit this url it is always redirecting back to /dir-name where dir-name doesn't exist. I have no pages with that dir-name in the url segment when checking the db, and the base directory to start the mod rewrite is set to /myss so I have no idea why this is happening.

Does anyone know why this might be doing this redirect or what settings/files might be causing this. I cannot replicate this when it is just in the root directory only in the subdirectory does it do this redirect.

TIA

Avatar
obj63mc

Community Member, 24 Posts

5 January 2010 at 9:06am

I found the issue for this was caused by the db migrating from windows to unix where windows it did not matter for case sensitivity of the tables and for unix it does matter. To resolve this I had to change how my windows environment was configured and rebuild the database.