SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard Darren884's Avatar
    Join Date
    Aug 2003
    Location
    Southern California, United States
    Posts
    1,616
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Anyone know an example or tutorial on how to write Web.config URL rewriters?

    Hey all, does anyone know an example or a tutorial on how I could write the following URL request in the Web.config file or Global.asax?

    Allow directories to access:
    Css, Images, and Js

    All other requests go to Framework/Bootstrap.php

    Thanks
    Have a good day.

  2. #2
    Resident OCD goofball! bronze trophy Serenarules's Avatar
    Join Date
    Dec 2002
    Posts
    1,911
    Mentioned
    26 Post(s)
    Tagged
    0 Thread(s)
    http://learn.iis.net/page.aspx/461/c...ewrite-module/

    The same process will apply, even though you are using a php application. In the first part, where it asks that you create a test aspx page, just replace it with a similar test php page. It covers rewrites, redirects and gives examples.

  3. #3
    Non-Member
    Join Date
    Nov 2010
    Posts
    21
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Please follow the below URL for URL rewritting:

    msdn (dot)microsoft(dot)com/en-us/library/ms972974(dot)aspx
    www(dot)simple-talk(dot)com/dotnet/asp(dot)net/a-complete-url-rewriting-solution-for-asp(dot)net-2.0/


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •