Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
J dubya #1
URL Rewriting
Hi all,
I'm hoping someone can help me here. I've been using sesConverter to rewrite
a url like this:
[url]http://www.yoursite.com/index.cfm?section=services&pageID=anything[/url]
to look like this:
[url]http://www.yoursite.com/index.cfm/section/services/pageID/anything[/url]
HOWEVER... I really don't like having to keep the INDEX.CFM in the address.
Rather I would like to have the rewritten url look like this:
[url]http://www.yoursite.com/section/services/pageID/anything[/url]
It could always default to index.cfm without having to put index.cfm in the
url...
Is this possible WITHOUT have to use the 404 page to trick it?
Thanks for your help!!
J dubya Guest
-
Help! Contribute is rewriting Lasso code.
Hi, I'm finishing development of a large site that was designed in Dreamweaver using nested templates and has several pages with Lasso code that... -
code rewriting
Hi, I have given a colleague of mine acces to edit our website through Contribute .. He can publish (create files, delete, etc.) No problem... -
eRuby and URL rewriting
I am in the process of doing some web page authoring using eRuby. My question is this-- how do I access the post/get information in URL... -
rewriting posted content for use in redirect
similar to a recently asked question - The scenario is that posted data from World Pay is to be used to construct one of two pages depending on... -
DreamweaverMX Keeps Rewriting my Code
For some reason, when I open some files, DreamweaverMX adds in extra tags, usually closing CFIFs. This results in the pages breaking if I don't... -
J dubya #2
Re: URL Rewriting
Sorry for the double post... but consider this.
Say I have a url that I know will ONLY use 2 variables. (for a basic info site
for a small business) One variable is the site section, the second is the page
ID
And, suppose that I use only one index.cfm file which resides in the web root
to serve the entire site.
Is it possible to make a rewrite rule that would take this:
[url]http://www.anysite.com/services/loans[/url]
and interpret it server side to mean this:
[url]http://www.anysite.com/INDEX.CFM?var1=SERVICES&var2=LOANS[/url]
J dubya Guest



Reply With Quote

