Viewing 5 replies - 1 through 5 (of 5 total)
  • Sorry for hijacking your thread with something unrelated but I am Googling myself in circles with 30 threads open all with the same 2 or 3 pages in!

    About 3 years ago you contributed to a now closed thread regarding windows server install of multiple WP installs in sub-folders with a main site in the root.

    I have the exact problem you wrote about and am having trouble finding an answer with all the circular references in many closed threads.

    I did write a better explanation of my problem but lost it by closing the wrong browser tab! I have summarized at the bottom this post as I hate it when people ask questions with supplying information.

    If you could remember the solution it would be so much appreciated as I am going nuts here! ??

    You wrote

    “mine is still not working even with the last post.
    I have a main site and I have installed wordpress site on the same server under that domain, ex https://intranet and the new one is https://intranet/testsite

    When I try to put the Day and name permalink the pages get directed to https://intranet

    anything I’m missing?”

    https://www.ads-software.com/support/topic/iis-75-multisite-subdirectory-webconfig-rewrite-rules

    My basics
    – I am new to WordPress
    – I changed my asp.net/sql server site to a wordpress one by installing it on my windows hosting
    – All was well
    – I added an independent microsite in a sub folder by installing wp in a sub-folder.
    – Added a theme
    – Changed permalinks to name
    – tried to add a page and site died with 500 errors
    – googled and fixed 500 error with new web.config file.
    – now all content in subfolder bounces to top level site design and gets a “oops content not found error”

    Not much to go on.

    What system are you running on?

    Here are a couple options depending on if you happen to be running a Linux distro:

    * sudo yum install php-ldap
    * sudo apt-get install php5-ldap

    If IIS, then it sounds like a problem I was having… Your rewrite rules are not quite right or they are getting messed up by subsite rules… (note the “remove” clauses in my rules)

    I also modified/added to the normal WP rewrite rules so they work better… I was having issues with certain plugins and subfolder installs until I edited my rewrite rules.

    <rewrite>
    			<rules>
    				<remove name="Security Rule" />
    				<remove name="SEO Rule" />
    				<!--   -->
    				<rule name="Force HTTPS" enabled="true">
    					<match url="(.*)" ignoreCase="false" />
    					<conditions>
    						<add input="{HTTPS}" pattern="off" />
    					</conditions>
    					<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" appendQueryString="true" redirectType="Permanent" />
    				</rule>
    				<rule name="WordPress Rule 1" stopProcessing="true">
                <match url="^index\.php$" ignoreCase="false" />
                <action type="None" />
            </rule>
            <rule name="WordPress Rule 2" stopProcessing="true">
                <match url="^wp/([_0-9a-zA-Z-]+/)?wp-admin$" ignoreCase="false" />
                <action type="Redirect" url="{R:1}wp-admin/" redirectType="Permanent" />
            </rule>
            <rule name="WordPress Rule 3" stopProcessing="true">
                <match url="^" ignoreCase="false" />
                <conditions logicalGrouping="MatchAny">
                    <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" />
                    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" />
                </conditions>
                <action type="None" />
            </rule>
            <rule name="WordPress Rule 4" stopProcessing="true">
                <match url="^wp/([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" ignoreCase="false" />
                <action type="Rewrite" url="wp/{R:1}" />
            </rule>
            <rule name="WordPress Rule 5" stopProcessing="true">
                <match url="^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*)" ignoreCase="false" />
                <action type="Rewrite" url="{R:1}" />
            </rule>
            <rule name="WordPress Rule 6" stopProcessing="true">
                <match url="wp-login.php" ignoreCase="false" />
                <action type="Rewrite" url="wp-login.php" />
            </rule>
            <rule name="WordPress Rule 7" stopProcessing="true">
                <match url="." ignoreCase="false" />
                <action type="Rewrite" url="index.php" />
            </rule>
          </rules>
        </rewrite>

    I’m running current version of WP on Win2012 R2, IIS no openLDAP installed. After much searching I found a solution posted for a different plugin that works for this one as well.

    https://www.ads-software.com/support/topic/running-php-in-iis-7

    Once you add extension=php_ldap.dll to the [ExtensionList] section of your php.ini file, you’ll no longer receive the openLDAP message and then you can start troubleshooting actual AD authentication issues, if any. My php.ini was stored in C:\Program Files (x86)\PHP\v5.4\, but yours might be in a slightly different location

    @drunk Skunk

    THANKS – adding extension=php_ldap.dll to php.ini worked for me,

    chris

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘openLDAP not installed’ is closed to new replies.