Re: David Persson Media Plugin on IIS 7

2012-02-06 Thread John Emmanuel
Hi Jeremy,

Nothing in the app debug logs. However I looked at the IIS server logs. All
requests to the uploaded images are being routed through index.php. I have
used the rewrite rules from here -
http://book.cakephp.org/1.3/view/1636/URL-Rewrites-on-IIS7-Windows-hosts

I am not sure if I understand this right but I think that based on
'Redirect static resources' rule requests to images must just pass through.
However I see that they are going through index.php.

Here's the web.config -









































Please do let me know if there is any change I must make in this file.

thanks again very much.

regards,
John

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: David Persson Media Plugin on IIS 7

2012-02-06 Thread jeremyharris
If the 404 isn't being sent by the server, it's probably being sent by 
Cake. Turn on debug to see what errors cake generates, or look at the debug 
log (/tmp/logs/debug.log). Any clues in there?

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: David Persson Media Plugin on IIS 7

2012-02-06 Thread John Emmanuel
Hi Jeremy,

Thank you very much for you reply.
I have not protected the media folders (no htaccess in media folder).
Also Godaddy is the hosting provider and I am tied to IIS. I had
already removed 'recursive permissions' from parent for the media,
transfer and filter folder (and subfolders) and checked. 404 persists
(even though I see a 200 in the IIS logs).

I am unable to think further. Really need help here.

Thanks very much again.

regards,
John

On Feb 6, 8:15 pm, jeremyharris  wrote:
> If you used the media shell to protect your files, it *could* be why. Check
> for an .htaccess file under /webroot/media.
>
> If not, we'll need more information. Can you get to them locally? Did you
> check to make sure they are uploaded correctly? Were the permissions you
> set recursive?

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: David Persson Media Plugin on IIS 7

2012-02-06 Thread jeremyharris
If you used the media shell to protect your files, it *could* be why. Check 
for an .htaccess file under /webroot/media.

If not, we'll need more information. Can you get to them locally? Did you 
check to make sure they are uploaded correctly? Were the permissions you 
set recursive?

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php