Thursday, September 29, 2011

Re: Problem with linking a pdf at a outside webroot folder

Why can't this be changed? If you've never been able to access these
PDF's then this process has never been working and I'm sure all
concerned would welcome configuration changes to the logical folder of
'/app/webroot/files/pdf'.

Seems like you're creating a whole load of work for yourself when it
must be possible to change the config of the external CMS to drop the
PDFs in the correct place, especially when it must have been
configured by someone to drop these files into the middle of Cake's
folder structure in the first place.

Paul.

On Sep 28, 10:15 am, heohni <heidi.anselstet...@consultingteam.de>
wrote:
> Hi,
>
> I have this structure:
> controller
> model
> pdf <====
> webroot
>
> In this pdf folder are my files and I am not able to change this
> folder location as it gets filled by and external CMS Service.
>
> I need now to link to these pdfs and my link outputs me something like
> that:http://localhost/pdf/8104-3-de.pdf
>
> Is there a way through the routes.php or maybe htaccess to get the
> files properly opened?
> Anyone any ideas?

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: