IIS Error HTTP Error 403.14 - Forbidden

Results 1 to 5 of 5
  1. #1
    Valued Member HabbixDK is offline
    MemberRank
    Mar 2013 Join Date
    121Posts

    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.

    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?
    Last edited by HabbixDK; 15-06-16 at 04:55 AM.


  2. #2
    Member Notex is offline
    MemberRank
    Apr 2012 Join Date
    AustraliaLocation
    53Posts

    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?

  3. #3
    Valued Member HabbixDK is offline
    MemberRank
    Mar 2013 Join Date
    121Posts

    Re: IIS Error HTTP Error 403.14 - Forbidden

    Quote Originally Posted by Notex View Post
    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

  4. #4
    Member Notex is offline
    MemberRank
    Apr 2012 Join Date
    AustraliaLocation
    53Posts

    Re: IIS Error HTTP Error 403.14 - Forbidden

    Quote Originally Posted by HabbixDK View Post
    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
    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>

  5. #5
    Valued Member HabbixDK is offline
    MemberRank
    Mar 2013 Join Date
    121Posts

    Re: IIS Error HTTP Error 403.14 - Forbidden

    Quote Originally Posted by Notex View Post
    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



Advertisement