• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 403 IE Users

#1
This is very weird and I can't seem to figure out as to why some people who view our website can see and work everything fine while others keep running into 403 and sometimes even the 404 error but mostly 403 forbidden.

Furthermore if you use internet explorer you get 403 error.
http://www.uoforum.com

Our server is a windows server so not sure if the .htaccess does anything but here is the web.config file.

Code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>
<defaultDocument>
      <files>
        <clear />
        <add value="index.php" />
      </files>
    </defaultDocument>
    <rewrite>
      <rules>
        <clear />
        <rule name="CanonicalHostNameRule1">
          <match url="(.*)" />
          <conditions logicalGrouping="MatchAll" trackAllCaptures="false">
            <add input="{HTTP_HOST}" pattern="^www\.uoforum\.com$" negate="true" />
          </conditions>
          <action type="Redirect" url="http://www.uoforum.com/{R:1}" />
        </rule>
        <rule name="XenForo Rule 1" stopProcessing="true">
          <match url="^.*$" />
          <conditions logicalGrouping="MatchAny" trackAllCaptures="false">
            <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" />
            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" />
          </conditions>
          <action type="None" />
        </rule>
        <rule name="XenForo Rule 2" stopProcessing="true">
          <match url="^(data|js|styles|install)" />
          <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
          <action type="None" />
        </rule>
        <rule name="Xenforo Rule 3" stopProcessing="true">
          <match url="^.*$" />
          <conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
          <action type="Rewrite" url="index.php" />
        </rule>
        <rule name="Xenforo Rule 4" stopProcessing="true">
          <match url="^(.*)$" ignoreCase="false" />
          <conditions logicalGrouping="MatchAll" trackAllCaptures="false">
            <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
          </conditions>
          <action type="Rewrite" url="index.php/{R:1}" />
        </rule>
      </rules>
    </rewrite>
  </system.webServer>
<system.web>
        <customErrors>
            <error redirect="http://www.uoforum.com/" statusCode="403" />
        </customErrors>
    </system.web>

</configuration>
 

Adam Howard

Well-known member
#2
What is your htaccess file?

edit: Windows server.

I know next to nothing about remote management on windows as a web server (except to hack them, never to fix them). I'm tempted to tell you to switch to a real server using linux.

I'm unsure if anyone here is using a Windows Server (I'm sure there are those who do). But I've also taken steps to post this else where in an effort to find you a solution.

I'm using Firefox on Debian and I too got a 403
 
Last edited:

Adam Howard

Well-known member
#4
Yeah half our population can access the forum fine other half can't. Those with IE definately can't.
It looks like the web.config is set to spit out a 403 error whenever the site has a problem.

Can you temporarily comment out the <system.web> to </system.web> code and see if the site gives a different error?

You might need to stop and start the site for the change to take effect.