Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. http.ini in asp.net

http.ini in asp.net

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netapache
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    faizurrahman
    wrote on last edited by
    #1

    I have used httpd.ini file for ISAPIs in Classic asp which dynamically get the url for .asp file. How I can use this file with asp.net.

    N C 2 Replies Last reply
    0
    • F faizurrahman

      I have used httpd.ini file for ISAPIs in Classic asp which dynamically get the url for .asp file. How I can use this file with asp.net.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      You can't. What does it do ? You can write HTTP handlers in ASP.NET.

      Christian Graus Driven to the arms of OSX by Vista.

      F 1 Reply Last reply
      0
      • F faizurrahman

        I have used httpd.ini file for ISAPIs in Classic asp which dynamically get the url for .asp file. How I can use this file with asp.net.

        N Offline
        N Offline
        N a v a n e e t h
        wrote on last edited by
        #3

        AFAIK, ASP.NET don't have that. There are commercial libraries available which does IIS ISAPI rewriting. But easy way would be to use HttpModule and rewrite the URL. There are free libraries available like Urlrewriter.net. Try that

        Navaneeth How to use google | Ask smart questions

        1 Reply Last reply
        0
        • C Christian Graus

          You can't. What does it do ? You can write HTTP handlers in ASP.NET.

          Christian Graus Driven to the arms of OSX by Vista.

          F Offline
          F Offline
          faizurrahman
          wrote on last edited by
          #4

          These are html url for asp files when the name of the asp page match with the html url it get that url and the viewer doesn't see the original url. SEO also use prefer it in search point of view. Example : Rewrite /www.websitename/sitemap.html /sitemap.asp [I] sitemap.asp is the original url while it will display sitemap.html.

          C 1 Reply Last reply
          0
          • F faizurrahman

            These are html url for asp files when the name of the asp page match with the html url it get that url and the viewer doesn't see the original url. SEO also use prefer it in search point of view. Example : Rewrite /www.websitename/sitemap.html /sitemap.asp [I] sitemap.asp is the original url while it will display sitemap.html.

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #5

            You can use a http handler for that, I believe. You sure can't use an ini file from ASP.

            Christian Graus Driven to the arms of OSX by Vista.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups