Here's my .htaccess:

Options +FollowSymLinks

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]


--regards,
nathan


On Thu, Nov 21, 2013 at 6:10 PM, Tim Lieberman <[email protected]> wrote:

> Can you confirm that you have:
>
> RewriteCond %{REQUEST_FILENAME} -l [OR]
>
> in your .htaccess ?
>
>   Nathan Garlington <[email protected]>
>  November 21, 2013 at 6:01 PM
> I am trying to serve images out of a directory that is not in the public
> directory where my zf installation is serving out of (hopefully that makes
> sense).
>
> If I serve the images from the public directory where the .htaccess and
> index.php are located, things work fine. But if I try to serve images from
> a
> symlinked directory under the public directory, I get:
>
> "Invalid controller specified (media)"
>
> The working path is: "mysite.com/media/images/album/myImg.jpg" where
> "images/" is a real directory under "media/".
>
> The problematic path is: "mysite.com/media/albums/myAlbumName/myImg.jpg"
> where "albums/" is a symlinked directory. I have Options +FollowSymlinks in
> /public/.htaccess, but I still get the error. Any suggestions?
>
>
>
> -----
> --regards,
>
> Nathan Garlington
> Zend Framework + Dojo
> http://www.tandrtrailer.com
> --
> View this message in context:
> http://zend-framework-community.634137.n4.nabble.com/Serve-images-from-symlinked-directory-tp4661255.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>

Reply via email to