Title: Re: [DFW CFUG] Url rewrite on godaddy shared hosting?
Hey Dave...

Thanks...i’ll give this a try and let you know!

Sona.


On 8/29/06 10:30 PM, "Dave Shuck" <[EMAIL PROTECTED]> wrote:

Sona, if I am not mistaken, on a default installation of CFMX7, the following line is uncommented in the web.xml.

<servlet-mapping id="macromedia_mapping_7">
        <servlet-name>CfmServlet</servlet-name>
        <url-pattern>*.cfm/*</url-pattern>
</servlet-mapping>

This allows ColdFusion to process SES urls.  If it is, and you have some type of method in place for turning your url string into name/value pairs, you may not need to worry about isapi.  I have been working with a lot of SES url apps lately and I have never had to touch the web server settings.  

Try this:

In your Application.cfc/cfm add an include to ses.cfm and in it place the following code:

<!--- convert SES url parameters to the URL scope --->
<cfset isArg = true />
<cfloop list="#cgi.PATH_INFO#" index="i" delimiters="/=&">
   <cfif isArg>
      <cfset argName = i />
   <cfelse>
      <cfset url[argName] = i />
   </cfif>
   <cfset isArg = not isArg />
</cfloop>


Then try setting up a sample page (ex. mytest.cfm) that will output a variable named url.MyTest.  

Then try hitting it like this:
http://whateverserver/mytest.cfm/MyTest/Hello

Good luck...

~Dave


On 8/29/06, Sona Solanki < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote:
Anyone have any ideas on this?  It's for a client.  Since it's not dedicated I can't install isapi.

Suggestions?  Ideas? URLs?

Sona.

_______________________________________________
Reply to DFWCFUG:
  [email protected]
Subscribe/Unsubscribe:
  http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives:
    http://www.mail-archive.com/list%40list.dfwcfug.org/
  http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors:
  www.HostMySite.com <http://www.HostMySite.com>
  www.teksystems.com/ <http://www.teksystems.com/>





_______________________________________________
Reply to DFWCFUG: 
  [email protected]
Subscribe/Unsubscribe: 
  http://lists1.safesecureweb.com/mailman/listinfo/list
List Archives: 
    http://www.mail-archive.com/list%40list.dfwcfug.org/             
  http://www.mail-archive.com/list%40dfwcfug.org/
DFWCFUG Sponsors: 
  www.HostMySite.com 
  www.teksystems.com/

Reply via email to