Hello,

I searched the internet and some documentation about getting a parameter
direct to coldfusion, but till know it does not working.

I am opening my internetpage:
www.testesttest.com/[PARAMETER1]/?testvar1=daniel&testvar2=peter

The url bevause of different parameter1 does not existing that while im
using an .htaccess file with modrewrite

# .HTACCESS FILE FOR MODREWRITE
RewriteEngine on

# REDIRECTION
ErrorDocument 404 /channel/index.cfm
# END

Till now I used the rewrite and javascript to get PARAMETER1 but the other
url-parameter got lost.

JS-Script today:

<script>
                text = self.location.href;
                text= text.replace(/http:\/\//,"");
                text= text.replace(/#cgi.http_host#\//,"");
                location.href =
'http://#cgi.http_host#/channel/index.cfm?channel='+text;
</script>


So is there a better way to get the parameter1 and all the other parameters?
I thought to get the parameter from an cgi. Variable but I found no suitable
one.

Any ideas? 

Thanks in advance.


Daniel





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265897
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to