Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

VS 2015 Changing URL Extensions

$
0
0

I am using VS 2015 and creating websites with a VB backend. The site is to replace one that I created in VS 2012 that is in production and works fine.

Upon deploying it to an Apache/IIS hybrid hosting site, the URL extensions are removed when calling the pages. Due to the call going to an Apache server, the Apache server recognizes the .aspx extension for the page it is looking for, and passes it along to the IIS server (which is setup to handle ASP.NET).

Something in VS 2015 is rewriting the URL so that it is only passing Default instead of Default.aspx along so I get error 404 (Page not Found).

The hosting site says that it is not their servers that is truncating the page request, yet rather something in the code that I am publishing. I know that the standard is to remove the URL extension, but in this case I want to keep them so that the page request works correctly with this hybrid server setup my hosting site has.

I cannot find what the code is in the VS 2015 project that is calling the rewrite. Does anyone know where I might find this code so that I can remove it?


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>