• Resolved nyhokie

    (@nyhokie)


    Currently, admin users can log into the administration area without any issues. When they try to log out, they receive a 500 error for:
    wp-login.php?action=logout&_wpnonce=<somenumberhere>

    The only area to log in is the admin dashboard. I do not have a log in for general users when visiting the site. As such, there is no logout button in the theme. This is ONLY for the admin section of wordpress. Comments are turned off.

    This is running on Windows Server 2008 R2 with IIS and PHP. I am using an LDAP plugin. Below is my web.config.

    <?xml version="1.0" encoding="UTF-8"?>
    <configuration>
      <system.webServer>
        <httpErrors errorMode="Custom"/>
        <rewrite>
          <rules><rule name="Main Rule" stopProcessing="true"><match url=".*"/><conditions logicalGrouping="MatchAll"><add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/><add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/></conditions><action type="Rewrite" url="index.php/{R:0}"/></rule>
    				<rule name="wordpress" patternSyntax="Wildcard">
    					<match url="*"/>
    						<conditions>
    							<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
    							<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
    						</conditions>
    					<action type="Rewrite" url="index.php"/>
    				</rule></rules>
        </rewrite>
        <defaultDocument>
          <files>
            <clear/>
            <add value="index.php"/>
          </files>
        </defaultDocument>
      </system.webServer>
    </configuration>

    Let me know if there is anything else I need to provide to help solve this issue. Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi!

    I caught the same issue with my WordPress installations when upgrading from PHP 5.1.6 to PHP 5.3.3. -> WPMU LDAP plugin broke in the same manner (allowing only local users aka admin to login usccesfully).

    I posted about it in the authors forum here:
    https://wpmuldap.tuxdocs.net/2011/03/23/wpmu-ldap-3-1-1-released/#comment-5398

    I’m assuming you’re using the same plugin as I am, and unfortunately that plugin is not in WordPresses plugin repository, so I’d say asking for help in that matter won’t catch the author’s attention.

    Let’s hope that we’ll get a response and a fix asap!

    Scratch that… I got mine working after reinstalling some php’s ldap-modules again. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘500 error when logging out of admin area – IIS’ is closed to new replies.