IIS Error HTTP Error 403.14 - Forbidden
EDIT: I managed to solve the problem, for anyone experiencing the same just download Visual C++ Redistributable for Visual Studio 2012 Update 4 and it should work.
Hey guys so i'm currently trying to install RevCMS and this error just happend.
http://i.imgur.com/QuMvoGW.png
I tried opening the regular IIS start page and that worked fine, but after deleting the default files and installing revcms i'm getting this, any solutions?
Re: IIS Error HTTP Error 403.14 - Forbidden
You need a web.config file in the root directory of RevCMS, this should work:
Code:
<rule name="rule 1i">
<match url="^(|/)$" />
<action type="Rewrite" url="/index.php?url={R:1}" />
</rule>
<rule name="rule 2i">
<match url="^([a-zA-Z0-9_-]+)(|/)$" />
<action type="Rewrite" url="/index.php?url={R:1}" />
</rule>
<rule name="rule 3i">
<match url="^(.*)\.htm$" ignoreCase="true" />
<action type="Rewrite" url="/{R:1}.php" />
</rule>
<rule name="rule 4i">
<match url="^(|/)$" />
<action type="Rewrite" url="/dash.php?page={R:1}" />
</rule>
<rule name="rule 5i">
<match url="^([a-zA-Z0-9_-]+)(|/)$" />
<action type="Rewrite" url="/dash.php?url={R:1}" />
</rule>
If that doesn't work, have you installed PHP correctly on IIS?
Re: IIS Error HTTP Error 403.14 - Forbidden
Quote:
Originally Posted by
Notex
You need a web.config file in the root directory of RevCMS, this should work:
Code:
<rule name="rule 1i">
<match url="^(|/)$" />
<action type="Rewrite" url="/index.php?url={R:1}" />
</rule>
<rule name="rule 2i">
<match url="^([a-zA-Z0-9_-]+)(|/)$" />
<action type="Rewrite" url="/index.php?url={R:1}" />
</rule>
<rule name="rule 3i">
<match url="^(.*)\.htm$" ignoreCase="true" />
<action type="Rewrite" url="/{R:1}.php" />
</rule>
<rule name="rule 4i">
<match url="^(|/)$" />
<action type="Rewrite" url="/dash.php?page={R:1}" />
</rule>
<rule name="rule 5i">
<match url="^([a-zA-Z0-9_-]+)(|/)$" />
<action type="Rewrite" url="/dash.php?url={R:1}" />
</rule>
If that doesn't work, have you installed PHP correctly on IIS?
I tried to reinstall everything following this tutorial: http://forum.ragezone.com/f377/noob-...-plus-1098757/
Now i'm receiving the HTTP Error 500.19 - Internal Server Error
Screenshot by Lightshot
Re: IIS Error HTTP Error 403.14 - Forbidden
Quote:
Originally Posted by
HabbixDK
Sorry I stuffed up the web.config file, I didn't have IIS installed to test it. This one should work though lol:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Imported Rule 1">
<match url="^(|/)$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 2">
<match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 3">
<match url="^(.*)\.htm$" />
<action type="Rewrite" url="{R:1}.php" />
</rule>
<rule name="Imported Rule 4">
<match url="^(|/)$" ignoreCase="false" />
<action type="Rewrite" url="dash.php?page={R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 5">
<match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
<action type="Rewrite" url="dash.php?url={R:1}" appendQueryString="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
Re: IIS Error HTTP Error 403.14 - Forbidden
Quote:
Originally Posted by
Notex
Sorry I stuffed up the web.config file, I didn't have IIS installed to test it. This one should work though lol:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Imported Rule 1">
<match url="^(|/)$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 2">
<match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
<action type="Rewrite" url="index.php?url={R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 3">
<match url="^(.*)\.htm$" />
<action type="Rewrite" url="{R:1}.php" />
</rule>
<rule name="Imported Rule 4">
<match url="^(|/)$" ignoreCase="false" />
<action type="Rewrite" url="dash.php?page={R:1}" appendQueryString="false" />
</rule>
<rule name="Imported Rule 5">
<match url="^([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
<action type="Rewrite" url="dash.php?url={R:1}" appendQueryString="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
Solved it but now i'm getting the error 500
Screenshot by Lightshot
- - - Updated - - -
Oh wait I actually solved it, for anyone experiencing the same error download Visual C++ Redistributable for Visual Studio 2012 Update 4 and it should solve the problem :) thanks for your help Notex