web.config sample code for IIS 8 for contentbox 1.5.6

Hi Group,
I want to enable SES (hiding index.cfm) . I am currently running windows server 2012 with IIS8 and coldfusion 10. Can you provide me sample codes or some type of tutorial? Thanks
Best regards,
Jojo M
coldbox fanatics

http://wiki.coldbox.org/wiki/URLMappings.cfm

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Hi Brad,
How about an IIS 8 web.config. I ran contentbox installer on windows 7 with iis 7 and coldfusion 9, it works flawlessly but not on IIS8 with coldfusion 10. Please advice.
Thanks,
Jojo M

is the web.config different on iis8 than 7

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

on 7 you can use url rewrite as well as on 8.
But it seems to be not working on coldfusion 10 for some reason. I will try demoting coldfusion to CF9.

Jojo

signature0.jpg

Jojo,

Have you updated your CF10 install.

I remember the first versions had issues with the CGI scope but fixed on the updates.

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

signature0.jpg

Luis,
I will try that. I will keep you posted.
Thanks,
Jojo

signature0.jpg

signature0.jpg

When you say seems to be not working, please explain what you mean by seems to be not working… I am running on IIS 8 or Win 2012, without any issues but have you got installed a rewrite engine?

signature0.jpg

Luis,
I installed all updates in cf10 and ms server 2012 and still problematic.
I think web.config file need some tweakin.

<?xml version="1.0" encoding="UTF-8"?>

Regards,
Jojo

signature0.jpg

signature0.jpg

Andrew,
I am using the ms server 2012 built-in rewrite engine. Did you made some changes on rewrite rules? What kind of rewrite engine that you use?

Thanks,
Jojo

signature0.jpg

signature0.jpg

I use Helicon rewrite, small cost for production but you can get a developers license.

But even still it is hard for us to help, if we don’t know exactly what type of problem you’re having. For example, you may find that the rewrite is rewriting to th e wrong URL, or that you have index.cfm still in your URL and you want to know how to get rid of it.

There are many reasons for it to not work, but knowing why it is not needs more information for us to help.

signature0.jpg

signature0.jpg

Now, I did got back and see that if I am correct, the only thing you are needing to do is hide the index.cfm, if this is the only thing that you need to do.

Then go to routes.cfm and remove the index.cfm from the if conditional statement and you will be good to go.

signature0.jpg

signature0.jpg

Hi Guillermo Mateo,

You need to re-install confusion connector for IIS8. We had this problem but resolved after re-installing cf connector.

Thanks

signature0.jpg

signature0.jpg

It is actually very surprising, how many people actually don’t do that, after upgrading ColdFusion. Even though it clearly is stated there when updating.

will try it @Sana

signature0.jpg

signature0.jpg

Sana Ullah’s solution worked! I reconfigured connector via wsconfig located at coldfusion10\cfusion\runtime\bin. You guys are awesome! Thank you guys for all the help.
Coldbox rocks!
Happy camper,
Jojo Mateo

signature0.jpg

signature0.jpg