View Single Post
Old 06-13-2012, 04:17 PM   PM User | #3
csammy
New to the CF scene

 
Join Date: Jan 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
csammy is an unknown quantity at this point
I'm working with Rahul on this...

1) URL rewrite is what we want, thanks for clarifying.

2) Let's say we want all pages, after the domain name to be handled by environment_test.php. How would you update your htaccess for that?

Meaning, we want...

test.mytest.com/page/test/hello
test2.mytest.com/page/test/hello/1234
test2.mytest2.com/different

...all to be handled by environment_test.php. The application will take it from there in terms of producing an output.

3) Then, how would we throw in an exception? Say we have a file that if it is accessed in the URL, we want it to this to actually load the file they're requesting. For example...

test.mytest.com/app/run.php

Can we make it so anything in the /app/ folder will actually run if the file being requested (run.php) exists?

4) Lastly, we will use this for dev/staging/production - can we insert a wildcard for the domains?


Thanks!
csammy is offline   Reply With Quote