You can use per application mappings in your application.cfc file like this:

<cfset THIS.mappings["/cfcs"]="c:\inetpub\myStuff">

Adjust per app / directory as needed.

-Cameron

On Mon, Feb 25, 2013 at 11:27 AM, Matthew Smith <[email protected]>wrote:

>
> Yes, it had a mapping.
>
> Is there anyway to have "cfcs.whatever" to reference two different
> directories via mapping or someway else?
>
> I want the root site to reference /cfcs for cfcs. and have the subsite to
> reference /site_mysite_com/cfcs for cfcs..
>
> On Mon, Feb 25, 2013 at 9:20 AM, Cameron Childress <[email protected]
> >wrote:
>
> >
> > On Sun, Feb 24, 2013 at 2:07 PM, Matthew Smith <[email protected]
> > >wrote:
> >
> > > I am trying to run the site from a subdirectory using the rewrite.
>  After
> > > the change, I cannot access cfcs unless I put siteSubDirectory.cfcs.cfc
> > > where originally I had cfcs.cfc.  The problem is that the first only
> > works
> > > on the live server and the second only works on my local set up.  My
> > local
> > > setup is using apache with vhosts.  I'm not sure what I am doing wrong
> or
> > > what the solution is.
> >
> >
> > What'sa 1st vs 2nd? I don't see two clearly described scenarios here. Can
> > you give more detail?
> >
> > The only thing this makes me think initially is that maybe you'd created
> a
> > mapping for "cfcs" in the CFAdmin on the working server and you didn't on
> > the non-working server.
> >
> > -Cameron
> >
> > ...
> >
> >
> >
>
> 

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

Reply via email to