forked from AKSW/OntoWiki
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,31 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
<system.webServer> | ||
<rewrite> | ||
<rules> | ||
<rule name="Fizyczne zasoby" stopProcessing="true"> | ||
<match url="^.*$" /> | ||
<conditions logicalGrouping="MatchAny"> | ||
<add input="{REQUEST_FILENAME}" matchType="IsFile" pattern="" ignoreCase="false" /> | ||
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" pattern="" ignoreCase="false" /> | ||
</conditions> | ||
<action type="None" /> | ||
</rule> | ||
<rule name="Rewrite" stopProcessing="true"> | ||
<match url="^.*$" /> | ||
<action type="Rewrite" url="index.php" /> | ||
</rule> | ||
</rules> | ||
</rewrite> | ||
</system.webServer> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
<system.webServer> | ||
<handlers> | ||
<add name="deny ini" verb="*" path="*.ini" type="System.Web.HttpForbiddenHandler" /> | ||
</handlers> | ||
<rewrite> | ||
<rules> | ||
<rule name="Don't rewrite physical files" stopProcessing="true"> | ||
<match url="((extensions|libraries).*|\.(js|ico|gif|jpg|png|css|php|swf|json))$" /> | ||
<conditions logicalGrouping="MatchAny"> | ||
<add input="{REQUEST_FILENAME}" matchType="IsFile" pattern="" ignoreCase="false" /> | ||
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" pattern="" ignoreCase="false" /> | ||
</conditions> | ||
<action type="None" /> | ||
</rule> | ||
<rule name="Redirect favicon" stopProcessing="true"> | ||
<match url="^favicon\.(.*)$" /> | ||
<action type="Redirect" url="application/favicon.{R:1}" /> | ||
</rule> | ||
<rule name="Rewrite" stopProcessing="true"> | ||
<match url="^.*$" /> | ||
<serverVariables> | ||
<set name="ONTOWIKI_APACHE_MOD_REWRITE_ENABLED" value="true" /> | ||
</serverVariables> | ||
<action type="Rewrite" url="index.php" /> | ||
</rule> | ||
</rules> | ||
</rewrite> | ||
</system.webServer> | ||
</configuration> |