I've posted this question but no replies yet, so I thought I would post again with a different subject in case that is a bit clearer.
I've heard these referred to as 'clean' URLs. Basically the idea is to get rid of the filename?querystring combination and replace it with what look like folder paths ( Because the webserver by default tries to execute this as a folder path I need to find a way to override that behaviour and execute the index.cfm page instead which will parse the path and extract the URL variables being passed (disguised as folder paths).
To put it more simply, I need to set a website up to handle what looks like a folder path and call a specific file, passing the folder path. That probably sounds more complicated than it is. Let me give an example:
If passed a URL such as:
I want IIS to call the file index.cfm, which will parse out the '/article/11357' bit and run the appropriate programming logic on it.
I have read an article about how to do that using apache and php, but I need to use IIS (and ColdFusion -- that's the easy bit). Apache has a function called 'ForceType' which tells it "look, anything with 'article' in the path, treat it like a php file" (or coldfusion or whatever type), and then presumably the default page (index.php or whatever) is called and that's where you put your programming logic to extract the data from the 'article/11357' bit)
Any ideas or suggestions, even if they take a different approach would be welcome.
The New Zeal The New Zealand Site
I've heard these referred to as 'clean' URLs. Basically the idea is to get rid of the filename?querystring combination and replace it with what look like folder paths ( Because the webserver by default tries to execute this as a folder path I need to find a way to override that behaviour and execute the index.cfm page instead which will parse the path and extract the URL variables being passed (disguised as folder paths).
To put it more simply, I need to set a website up to handle what looks like a folder path and call a specific file, passing the folder path. That probably sounds more complicated than it is. Let me give an example:
If passed a URL such as:
I want IIS to call the file index.cfm, which will parse out the '/article/11357' bit and run the appropriate programming logic on it.
I have read an article about how to do that using apache and php, but I need to use IIS (and ColdFusion -- that's the easy bit). Apache has a function called 'ForceType' which tells it "look, anything with 'article' in the path, treat it like a php file" (or coldfusion or whatever type), and then presumably the default page (index.php or whatever) is called and that's where you put your programming logic to extract the data from the 'article/11357' bit)
Any ideas or suggestions, even if they take a different approach would be welcome.
The New Zeal The New Zealand Site