Friday, 15 June 2012

php - Route on Laravel keeps redirecting (301) to root of website -


I have an application using the A2 host provider, and inside my public directory, my MyWorld folder (www. Website.com/app)

and I'm redirecting to "/" from "/" in my server preferences

The app was okay, but today a specific one The root has started redirecting.

  Root :: find ('/ postgains / {alias} / {datainio?}', Array ('as' => Artista.get.posts.all ', 'Uses' = & gt; ArtistaController @ getPostsMainFeed')); Generates within HTML Generate: But when I send this request or send a request via jquery, it redirects me, and it gives me a 404 (since there is no lairve app inside the root Is ...)  

All other routes are still working ...

Any ideas?

thanks

edit

I put the wrong route here, but BTW, I have solved it without making the second parameter "resolved" and it's URL LerlL :: Added to Javascript using the route.

There was only one problem reaching a path on the AuthController provided to me. Mildware (except for 'Guest', ['Exclude' = & gt; 'Logout'])

  $ this-> Middleware;  

On the root page were 302-non-non-guests, even with the exception, even for the logout route.


No comments:

Post a Comment