I have a site using CF that I want to use "fake" URLs to access dynamic content. The site is an online bookstore.
An example:
I would like the URL:
To be something like:
Now I understand that I need (or I think I need) to use a cgi script to do this. In this case the cgi script would be called shop.cgi and placed in the root directory, it would then parse "/#categoryName#6.htm" to get the correct dynamic content.
2 questions:
1.) Is there a way to do this in CF without CGI scripting?
2.) If not, can I output coldfusion tags in the html outputted by my cgi script and have it working?
Basically what I want is a cgi script to convert the fake URL into a real one that it includes using
<cfinclude template="#realURL#">
Hope I've made any sense and thanks in advance
DT
An example:
I would like the URL:
To be something like:
Now I understand that I need (or I think I need) to use a cgi script to do this. In this case the cgi script would be called shop.cgi and placed in the root directory, it would then parse "/#categoryName#6.htm" to get the correct dynamic content.
2 questions:
1.) Is there a way to do this in CF without CGI scripting?
2.) If not, can I output coldfusion tags in the html outputted by my cgi script and have it working?
Basically what I want is a cgi script to convert the fake URL into a real one that it includes using
<cfinclude template="#realURL#">
Hope I've made any sense and thanks in advance
DT