The MU forums have moved to WordPress.org

problems installing behind a proxy (4 posts)

  1. mattvenn
    Member
    Posted 19 years ago #

    Hi, I'm having some problems with installing wpmu.

    First, what (kind of) works:

    I've installed on the target server, and accessed this locally at wpmu.safenet:80. The links work and pages are accessible. I still couldn't login, but this could be because I was using lynx?

    Second, what doesn't:

    Now I set the URL to be wp.externaldomain.com and use an apache redirect [P] rule to proxy traffic from outside. This results in the endless redirects that other users have also experienced.

    Any ideas?

  2. drmike
    Member
    Posted 19 years ago #

    Lynx handles cookies, doesn't it?

    Can't use the port in the URL. It should have told you that on the install as a warning.

    Not sure about the proxy but I have a feeling that its an issue with the redirect since WPMu does redirects internally. There may be a conflict.

    Anything in teh webserver's error logs?

  3. quenting
    Member
    Posted 19 years ago #

    are you doing forward or reverse proxy?
    Did you try replacing the P with an R to see what the result request actually was ? Did you add an L so that the rule is the last one used ? where did you put the rule (in which htaccess and in what position ?

  4. mattvenn
    Member
    Posted 19 years ago #

    drmike: I put the port in there just to make it clear that I was using port 80. Looking back that didn't work! I didn't ever use that in the config. Though for future notice, wpmu doesn't warn about this.

    When I do a request I get lots of this in the access_log:

    192.168.1.6 - - [19/Mar/2007:15:57:58 +0000] "GET /wpmu/wp-signup.php HTTP/1.1" 302

    and nothing in the error log.

    Quenting - re proxies. This is my current config:

    <VirtualHost 212.58.63.114:80>
    ServerName wp.oncampusuk.co.uk
    ReWriteEngine On
    ReWriteRule ^/(.*) http://wpmu.safenet/$1 [P]
    ProxyRequests Off
    ProxyPassReverse / http://wpmu.safenet/
    </VirtualHost>

    If I replace the P with an R, I get redirected to

    http://www.wpmu.safenet/wpmu/

    As you can see, the config is in a virtual host, and the redirect rule is the only one there is.

    Cheers,

    Matthew

About this Topic

  • Started 19 years ago by mattvenn
  • Latest reply from mattvenn