I am looking for a way to create a customtag which purpose is to handle
url to id mappings before they are caught by the IIS errorhandler.
For example:


The page http://www.mydomain.com/software/product does not exist on the
server because the system is used as an ASP model, and all customers use
the same wwwroot directory. I however want to do this


Customer types in http://www.mydomain.com/software/product
Serverside /software/product/ is registered in a sql database as mapped
to index.cfm?pageid=1234
http://www.mydomain.com/software/product is relocated on the fly to
http://www.mydomain.com/index.cfm?pageid=1234


This is possible within .NET by using the iHTTPModule interface, but I
haven't found any way besides a custom 404 template (which still causes
a 404 entry in the logs) to handle such actions. I know the explanation
is a bit odd, but I hope it is understandable.


The reason why I am not making directories is because of the following
structure (the ASP model)


Root
            Applicationdata
                        www.domain.com <http://www.domain.com/>
                                    templates
                                    configuration      
                        www.domain.com <http://www.domain.com/>
                                    templates
configuration
            Wwwroot
                        Objects
                                    Core
                                    Shared
                                    Admin
                        Sitedata
                                    www.domain.com
<http://www.domain.com/>
                                                gfx
                                                css
                                                uploads
                                    www.domain.com
<http://www.domain.com/>
                                                gfx
                                                css
                                                uploads




Micha Schopman
Software Engineer
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to