Anadizinde sadece web.config var içinde ise bi klasöre yönlendirdiği yazıyor birde klasör var. Klasörde .js ve .html dosyaları var fakat dediğim gibi anadizinde sadece web.config
Windows serverim var oraya iss ile kurdum fakat .js felan görmüyor galiba iss tomcat'e kurdum oda 404 diyor dosyaları görmüyor.
Web.Config <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<directoryBrowse enabled="false" />
<rewrite>
<rules>
<clear />
<!-- rule name="static rewrite" enabled="false" patternSyntax="Wildcard" stopProcessing="true">
<match url="*/static/*" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
<action type="Rewrite" url="/static/{R:0}" />
</rule -->
<rule name="non www to www" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
</conditions>
<action type="Redirect" url="http://localhost/{R:1}" />
</rule>
<rule name="tomcat" enabled="true" stopProcessing="true">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll" trackAllCaptures="false">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
</conditions>
<action type="Rewrite" url="http://localhost:8080/{R:1}" />
</rule>
</rules>
<rewriteMaps>
<rewriteMap name="localhost" />
</rewriteMaps>
</rewrite>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
</customHeaders>
</httpProtocol>
<staticContent>
<clientCache cacheControlMode="DisableCache" />
</staticContent>
</system.webServer>
</configuration>