URL - works with index.php? but not with index.php/ |
[eluser]Unknown[/eluser]
So the problem I am having is that when I code a link into my site I also way to use www.yoursite.com/index.php?function and the links worked fine. I went to use the redirect function which generates a URL like www.yoursite.com/index.php/function, which does not work. But if I manually go into the address bar and change the / to a ? it works. I'm sure its a simple fix but I cant seem to find it... probably too tired. But if some one can answer faster than I can find it, would be greatly appreciated.
[eluser]gunter[/eluser]
if you are using microsoft iis then this is the way it works... but I think it should be index.php?/controller/function... if I remember correctly
[eluser]Unknown[/eluser]
I am using Instant Rails on local machine. EDIT: I'll be damned... went into the config.. added a ? to then end of the config['index_page'] and started working, will do more testing to make sure it works across the board.
|
Welcome Guest, Not a member yet? Register Sign In |