>You need the whmedia in your links.  The leading "/" takes you to the
webroot of >localhost.  The link "/images/afile.jpg" is looking for
just that not the images in the >whmedia subfolder. 
"/whmedia/images/afile.jpg" is what is need to use a root relative
link.

What about the path to components? On my development machine it is
whmedia.componentdirectory.componentname but on the server it is just
componentdirectory.componentname. The first time I uploaded my site
(this is the first site I've built using CFC's) I had to rush through
all the files with invoke statements and change the paths to my
components.

Any ideas or suggestions on streamlining this?

Thanks,
Aaron

On 4/27/06, Ian Skinner <[EMAIL PROTECTED]> wrote:
> The url is http://localhost/whmedia/index.cfm
>
> My directory structure is something like this:
>
> /
> /whmedia
> /whmedia/styles
> /whmedia/images
> /whmedia/inc
> /whmedia/cflib
>
>
> You need the whmedia in your links.  The leading "/" takes you to the webroot 
> of localhost.  The link "/images/afile.jpg" is looking for just that not the 
> images in the whmedia subfolder.  "/whmedia/images/afile.jpg" is what is need 
> to use a root relative link.
>
>
> --------------
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
>
> ---------
> | 1 |   |
> ---------  Binary Soduko
> |   |   |
> ---------
>
> "C code. C code run. Run code run. Please!"
> - Cynthia Dunning
>
> Confidentiality Notice:  This message including any
> attachments is for the sole use of the intended
> recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the
> intended recipient, please contact the sender and
> delete any copies of this message.
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238940
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to