Home IIS 10 trailing slash on Application
Reply: 0

IIS 10 trailing slash on Application

user985 Published in March 24, 2018, 2:15 am

I have currently got a view sites in sub folders of a site that have been converted to applications.


When a user types a link with a slash at the end:


Then the redirect goes to the wrong place.

example.com/foobar instead of example.com/folder/foobar

I am using a Laravel and IIS 10 on Windows 10 and Windows Server 2012.

From the RouteServiceProvider:

        ->namespace($this->namespace . '\Admin')

In the routes:

Route::get('/', function() {

If example.com/folder/admin is hit then the text 'here' appears, if there is a slash at the end. Then you get redirected to example.com/admin.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.299671 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO