This is a discussion on Using a folder name as a file parameter? within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hello all, Is it possible to configure a server to pass subfolder names under a certain folder as parameters to ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello all,
Is it possible to configure a server to pass subfolder names under a certain folder as parameters to a file? For example: .../search/shoes would be interpreted by the server as .../search/index.asp?query=shoes Or: .../product/0314 would become .../product/productdetail.asp?productID=0314 This way, you can have simple URLs that point to a specific query, search result, item info, etc that is retrieved from a database. Besides the obvious simplicity or having a shorter URL, you could eventually change your operating technology (in this case ASP) and still keep your URLs valid. W3C rightly advocates unchanging, not-technology-specific URLs, so this kind of technique would be great. Can it be done? Thanks in advance. Diego |