[thesite] How to get the application started with CFMX?

.jeff jeff at members.evolt.org
Fri Sep 27 14:48:22 CDT 2002


frank,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Punkey
> 
> I'm having the hardest time getting the Evolt
> application running. I have IIS 5.0 and Cold Fusion MX.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

the source code will require some serious modifications to get it to run under iis.

start by changing the custom 404 handler to a url handler set to /index.cfm.

second, you'll need to fool around with the formurl2attributes custom tag to parse the query string instead of the cgi.request_uri.

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> I install the public_html folder in the
> c:\cfusionMX\wwwroot folder and make a virtual directory
> in IIS to that folder
> (C:\CFusionMX\wwwroot\public_html\) Now, I see the
> startpage from Evolt, but I can't do anything!
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

you've got that part setup right.

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> Whatever I click, I get errors, because of wrong
> mappings (I guess).
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

you'll need a mapping for /evolt which points to c:/cfusionmx/wwwroot/public_html/

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> The link "Submit an article links to
> localhost/article/index.html?action=submit instead of
> localhost/evolt/article/index.html?action=submit.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

it's not supposed to point to /evolt/article/index.html?action=submit.  what you're seeing is correct.  the entire site purposely generates 404 errors in order to maintain the search engine friendly urls.

get the url parsing correct, and that'll solve most of your problems.

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/




More information about the thesite mailing list