• Resolved rcwatson

    (@rcwatson)


    I’m fairly certain I’ve read and followed everything in other posts, but I’m still having trouble setting up multisite on a fresh 3.2.1 install.

    PROBLEM: When I update wp-admin.php with the code recommended by the network installer, but NOT the .htaccess code recommended (blank .htaccess file), the base site works fine. New sites don’t work, though. However, as soon as I add the recommended .htaccess code, I get Internal Server 500 errors for every URL.

    SETUP:

    1. documentroot is not named “wordpress”
    2. I DO want a subdirectory install, NOT a subdomain install.
    3. My obfuscated wp-config.php file, which is in documentroot and has 775 permissions: https://pastebin.com/kVwkzG7v
    4. My .htaccess file, which is in the documentroot and has 775 permission: https://pastebin.com/PcvxFuPR
    5. Added AllowOverride ALL: https://pastebin.com/Deug2n5g
    6. and restarted Apache: https://pastebin.com/1a0p3AHB

    Anything else I can try?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    If you get error 500 on .htaccess, the file’s not being read correctly.

    The permissions (775 etc) aren’t the problem. That’s all in the httpd.conf setup. And yes, you HAVE to have the .htaccess working for pretty permalinks and for multisite.

    Thread Starter rcwatson

    (@rcwatson)

    Thanks for clarifying on whether it was truly .htaccess. Now that it’s narrowed down, can you offer any advice, based on the code I linked to, as to what might not be in place in .htaccess or my vhost settings?

    Thread Starter rcwatson

    (@rcwatson)

    SOLVED! I tailed the error log for this instance when .htaccess contains the code above, which triggers the Internal Server 500 error.

    The error message in the log is:

    [Thu Aug 18 02:02:21 2011] [alert] [client nnn.nnn.nnn.n] /usr1/webroot/example/.htaccess: Invalid command '\xef\xbb\xbf#', perhaps misspelled or defined by a module not included in the server configuration

    Searching on the Invalid command string, I found this article, which solved the issue handily.

    I hate Windows.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    UGH! Okay, what text editor are you using? Notepad++ if you’re on windows is the best to use.

    Thread Starter rcwatson

    (@rcwatson)

    I used Notepad++ and also an editor that is built into SmartFTP. Same as I always do with no problems. But somewhere along the way, Windows character codes got into it and weren’t visible and Notepad++ couldn’t shake them, so I kept editing and uploading in ignorance. It was only when I used pure vi and typed it all out by hand that I was able to have success. Lesson learned.

    Thanks for all the help the past couple of days, though.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    and also an editor that is built into SmartFTP

    I would stop using that one. NotePad++ when set to Unix mode (there’s a way to do that) is safe as houses ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Internal server error for Multisite’ is closed to new replies.