Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8369649
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:42:15+00:00 2026-06-09T13:42:15+00:00

This is my solution structure. When users hit in this http://localhost/RouteUrl/ URL I want

  • 0

enter image description here

This is my solution structure.
When users hit in this http://localhost/RouteUrl/ URL I want to redirect them to http://localhost/RouteUrl/UI/MainForm.aspx.

In web.config file within system.web section I’ve written:

<urlMappings enabled="true">
  <add url="~/RouteUrl" mappedUrl="~/UI/MainForm.aspx" />
</urlMappings>

And when I browse http://localhost/RouteUrl/ it shows HTTP Error 403.14 – Forbidden. The Web server is configured to not list the contents of this directory
When I directly browse http://localhost/RouteUrl/UI/MainForm.aspx it simply shows the page, doesn’t show any error.

I don’t want to enable directory browsing. What I’m missing? How I should properly redirect the URL?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T13:42:16+00:00Added an answer on June 9, 2026 at 1:42 pm

    Finally I find out the problem. The ~ itself points to the root directory and in <add /> tag I’ve written url="~/RouteUrl".

    So the corrected <add /> tag will be:
    <add url="~/" mappedUrl="~/UI/MainForm.aspx" />

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two tables on MySQL, with this structure: Users: id | name Accounts:
This is the basic database structure for Users and UserRoles. My client wants to
I want the following structure in my ASP.NET MVC solution; Controllers/HomeController.cs Controllers/Administration/AdministrationController.cs Controllers/Administration/UsersController.cs Views/Home/Index.aspx
My solution structure looks something like this: MySolution FirstProject SecondProject SolutionFolder1 SolutionFolder2 SolutionItem1.txt SolutionItem2.txt
is this solution possible in asp.net dragging picturebox inside winform on runtime i just
This was just what I was thinking for this solution and I would like
if your app use this solution , do do you plan port the app
I know people asked this before and I found this solution: for (UIView *subview
First of all, this solution is no option for me, because I can't change
I searched for an implementation of std::map runtime ordering and have found this solution:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.