This is the one being executed. Your request file name has a leading '/'

Try removing the duplicate / from below

RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f

becomes

RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f


It may have more success

Anthony 2dc wrote:
> Thanks for you reply.
>
> I get this in my log file for each images, css and js files :
>
> [18/Dec/2007:22:03:51 +0100]
> [myapp/sid#800f6270][rid#80258cc0/initial] (2) init rewrite
> engine with requested uri /images/logo.png
> [18/Dec/2007:22:03:51 +0100]
> [myapp/sid#800f6270][rid#80258cc0/initial] (3) applying pattern
> '^/$' to uri '/images/logo.png'
> [18/Dec/2007:22:03:51 +0100]
> [myapp/sid#800f6270][rid#80258cc0/initial] (3) applying pattern
> '^([^.]+)$' to uri '/images/logo.png'
> [18/Dec/2007:22:03:51 +0100]
> [myapp/sid#800f6270][rid#80258cc0/initial] (3) applying pattern
> '^/(.*)$' to uri '/images/logo.png'
> [18/Dec/2007:22:03:51 +0100]
> [myapp/sid#800f6270][rid#80258cc0/initial] (4) RewriteCond:
> input='/var/www/rails/myapp/public//images/logo.png' pattern='!-f' =>
> not-matched
> [18/Dec/2007:22:03:51 +0100]
> [myapp/sid#800f6270][rid#80258cc0/initial] (1) pass through
> /images/logo.png
>
> I presume that the problem come from the // in (4) RewriteCond:
> input='/var/www/rails/myapp/public//images/logo.png'but I don't
> understand why it appears.
>
> Do you have any idea?
>
> Thanks!
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to