you can do this using url rewrite. http://www.youtube.com/watch?v=ut0pD2l4z5c
which will be put in your web.config On Sun, Aug 26, 2012 at 11:57 PM, Michael David <[email protected]>wrote: > > Hey, I posted this to the Railo group, but my membership there is > waiting for approval, so thought one of the Railo users here might have > a suggestion. > > Rather than restricting access to the Railo admin pages using the IP > filtering within IIS (which works fine), I am trying to do it within > the site's web.config. This way, I would just copy it from webroot to > webroot, rather than manually setting it each time. So far, though, I > am having no luck. > > I have added empty railo-context and admin directories into the webroot > (so I can set permissions on them). > > Here is what I have so far. I am hoping someone here might have some > ideas: > > <?xml version="1.0" encoding="UTF-8"?> > <configuration> > <location path="SomeSite/railo-context/admin" overrideMode="Deny"> > <system.webServer> > <security> > <ipSecurity allowUnlisted="false"> > <clear/> > <add ipAddress="123.456.789.0" allowed="true"/> > </ipSecurity> > </security> > </system.webServer> > </location> > <system.webServer> > <defaultDocument> > <files> > <add value="index.cfm" /> > </files> > </defaultDocument> > </system.webServer> > </configuration> > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352314 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

