Stephen Adams wrote:
> Hi,
>
> I'm trying to set up my laptop with Apache and CF, so far I have everything 
> working the only problem is that the site I'm working on uses SEO url's e.g. 
> mysite/myaccount and this will load the index.cfm page of the my account 
> folder.
> This also means that all the includes and links to stylesheets are like this:
>
> <CFINCLUDE TEMPLATE="/includes/modules/myaccount/act_default.cfm"> or <link  
> type="text/css" href="/styles/print.css" rel="stylesheet" media="print" /> 
>
> Now at work we are using IIS and these links work fine, but on my laptop I'm 
> using Apache (I couldn't get IIS to work on the laptop), but on Apache url 
> written this way are not working I have to amend them to 
>
> <CFINCLUDE TEMPLATE="../includes/modules/myaccount/act_default.cfm"> or <link 
>  type="text/css" href="../styles/print.css" rel="stylesheet" media="print" /> 
>
> Is there a way in Apache I can get all url's to work the same as IIS?
>
>   

This doesn't sound like an Apache issue at all, if you are having to 
change your cfinclude paths.  cfinclude works at the ColdFusion server 
level, not on the web server level.

It looks like you may be missing a ColdFusion mapping, and may need to 
adjust your web server's web root and/or add an alias/virtual dir.

-Ryan


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310871
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to