Re: changing apache documentroot causes CF administrator to break

2010-07-13 Thread joe martinez

gotcha.  Thanks again! 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335339
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: changing apache documentroot causes CF administrator to break

2010-07-13 Thread Kym Kovan

On 14/07/2010 10:37 AM, joe martinez wrote:
>
> Thanks, that worked!  This might be a dumb question, but why does it matter?

All the CFCs are in a folder under the CFIDE one. Remember the error:

Could not find the ColdFusion Component or Interface CFIDE.adminapi.security

it was looking for CFC called "security.cfc" in a folder called 
"adminapi" under the CFIDE one. So you need to map CFIDE itself.

In a production environment it is common to make a copy of the CFIDE 
folder with the admin bits missing and map to that so the CF tags that 
need the mapping will still work but the admin area is missing to reduce 
hack attempts.


-- 

Yours,

Kym Kovan
mbcomms.net.au


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335334
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: changing apache documentroot causes CF administrator to break

2010-07-13 Thread joe martinez

Thanks, that worked!  This might be a dumb question, but why does it matter? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335330
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: changing apache documentroot causes CF administrator to break

2010-07-13 Thread Kym Kovan

On 14/07/2010 8:40 AM, joe martinez wrote:
>
> Hi.  Here is my directory structure:
>
> c:\webstuff
> c:\webstuff\mainwebsite
> c:\webstuff\CFIDE
>
> In my httpd.conf, I changed the  from c:\webstuff to 
> c:\webstuff\mainwebsite.  I also added the following directive to accommodate 
> the change I made earlier since CF Administrator is now outside 
> of:
>
> Alias /cfide/administrator "c:/webstuff/CFIDE/administrator"
>
> But, now I can't access CF Administrator.  When I try, I get the following 
> error:
>
> Could not find the ColdFusion Component or Interface CFIDE.adminapi.security
>
> Why does this happen?  Is there anything else I need to modify?  I didn't 
> change the physical location of the files so it shouldn't have a problem 
> finding anything.


You need to map CFIDE not the administrator folder within it.


-- 

Yours,

Kym Kovan
mbcomms.net.au


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335328
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


changing apache documentroot causes CF administrator to break

2010-07-13 Thread joe martinez

Hi.  Here is my directory structure:

c:\webstuff
c:\webstuff\mainwebsite
c:\webstuff\CFIDE

In my httpd.conf, I changed the  from c:\webstuff to 
c:\webstuff\mainwebsite.  I also added the following directive to accommodate 
the change I made earlier since CF Administrator is now outside of 
:

Alias /cfide/administrator "c:/webstuff/CFIDE/administrator"

But, now I can't access CF Administrator.  When I try, I get the following 
error:

Could not find the ColdFusion Component or Interface CFIDE.adminapi.security

Why does this happen?  Is there anything else I need to modify?  I didn't 
change the physical location of the files so it shouldn't have a problem 
finding anything. 

Thanks! 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335323
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm