Thursday, September 29, 2011

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

as a hack, couldn't you just create a symlink in the webroot folder to the pdf folder? :)
i use symlinks inside the folder structure all the time for my **development** environment.. not sure if its a clever idea in production though...


On Fri, Sep 30, 2011 at 11:29 AM, Ryan Schmidt <google-2010@ryandesign.com> wrote:
On Sep 28, 2011, at 04:15, heohni wrote:

> 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?

http://groups.google.com/group/cake-php/browse_thread/thread/d9d85da93ae29088



--
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

--
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: