Viewing 6 replies - 1 through 6 (of 6 total)
  • Then your subdomains are borked or your rewrite rules are incorrect.

    Because if everything else is working, then it should find it just fine. Yes, with the subdomain in there.

    Thread Starter Steven

    (@spstieng)

    Yeah, thought that it might be something like that.

    This is my .htaccess file that I had to create:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]

    and I added *.mysite.no to my httpd.conf file:

    <VirtualHost localhost>
        ServerName mysite.no
        ServerAlias *.mysite.no
        DocumentRoot I:\Development\wamp\www\mysite
    </VirtualHost>

    And my HOST file looks like this:

    127.0.0.1       mysite.no
    127.0.0.1       subdomain.mysite.no

    I’m not sure if there is anything out of the normal here.

    So does the subdomain work correctly otherwise? As in, without this plugin?

    Thread Starter Steven

    (@spstieng)

    Yes, I can access https://subdomain.mysite.no.
    https://subdomain.mysite.no opens a different site than https://mysite.no.

    I just uploaded the plugin to my “prod” server and it works fine there.
    So it’s just on my locale machine.

    Thread Starter Steven

    (@spstieng)

    Crap!

    I take my last statement back. My WPMU was still running on v2.9.1.
    After upgrading to 3.0.1, and following your guide here (https://wpmututorials.com/how-to/upgrading-from-wpmu-to-wp-3-0/), my plugin stoped working.

    I get a ‘404 Not Found’ on https://mysite.com/wp-content/plugins/wp-filebrowser/fileBrowser.php

    The “funny” thing is that when I look in Firebug in the response folder, it returns the HTML – but it is not displayed.

    Thread Starter Steven

    (@spstieng)

    I’ve found out where it fails on my server.

    In fileBrowser.php I have the following at line 1:
    require_once($_SERVER['DOCUMENT_ROOT'].'/wp-blog-header.php');

    This is what causes the 404 error.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problems with jQuery.load in WPMU’ is closed to new replies.