Images aren't displayed
Added by Alexander inTagger about 16 years ago
Images like this: http://myservername/images/arrow_from.png.?1254569851 aren't displayed.
But images, defined in CSS are displayed good.
Replies (2)
RE: Images aren't displayed
-
Added by Alexander inTagger about 16 years ago
If i'm using "ruby script/server webrick -e production" all is good,
but under IIS 7 images aren't displayed.
RE: Images aren't displayed
-
Added by Alexander inTagger about 16 years ago
Though http://servername/images/arrow_from.png works for me.
But why it does not work when ".?1254569851" is appended?
Here my web.config:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="Ruby via FastCGI" path="dispatch.fcgi" verb="*" modules="FastCgiModule" scriptProcessor="C:\ruby\bin\ruby.exe|d:\!www\Ruby\Redmine\public\dispatch.fcgi production" resourceType="Unspecified" requireAccess="Script" />
</handlers>
<tracing>
<traceFailedRequests>
<add path="*">
<traceAreas>
<add provider="ASP" verbosity="Verbose" />
<add provider="ASPNET" areas="Infrastructure,Module,Page,AppServices" verbosity="Verbose" />
<add provider="ISAPI Extension" verbosity="Verbose" />
<add provider="WWW Server" areas="Authentication,Security,Filter,StaticFile,CGI,Compression,Cache,RequestNotifications,Module,Rewrite" verbosity="Verbose" />
</traceAreas>
<failureDefinitions statusCodes="500" />
</add>
</traceFailedRequests>
</tracing>
<rewrite>
<rules>
<rule name="Imported Rule 1">
<match url="^$" ignoreCase="false" />
<action type="Rewrite" url="index.html" appendQueryString="true" />
</rule>
<rule name="Imported Rule 2">
<match url="^([^.]+)$" ignoreCase="false" />
<action type="Rewrite" url="{R:1}.html" appendQueryString="true" />
</rule>
<rule name="Imported Rule 3" enabled="true" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" pattern="" ignoreCase="false" />
</conditions>
<action type="Rewrite" url="dispatch.fcgi" appendQueryString="true" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>