The MU forums have moved to WordPress.org

problems with wildcard (10 posts)

  1. jarca
    Member
    Posted 15 years ago #

    Hi,

    I am trying to install de wordpressmu but it seems it is a bit tricky to me. I have read the README thoroughly and the forum but I can not still find a solution.

    First of all, as it is explained in http://ma.tt/2003/10/10/wildcard-dns-and-sub-domains/ , I add the following line to my
    /etc/apache2/sites-available/default

    "RedirectMatch 301 (.*) http://wordpressmu.homeip.net$1"

    but when I try to access to my web server it gives the following error:

    "The page is not redirecting correctly
    Firefox has detected that the server is redirecting the request to this direction in a way it will never end"
    (The words are not exact because I am translating them)

    I have also tried to disable the cookies as it is recommended and it doesn't work.

    Later on, with that option disabled, I get a blank screen during the installation and I am wondering if it can be caused be this issue because It does not seem to be any php error

    Thanks! and my apologies for the big post

  2. SteveAtty
    Member
    Posted 15 years ago #

    Follow the instructions in the WPMU installation notes.

    Add your DNS wildcard entry
    Edit, if needed your apache config (if you are hosting more than one site on your server and are using virtual hosts then you will have to do this, and if you are doing that then I'd use separate files in the in sites-available folder and use a2ensite).

    Don't add any additional rewrite directives anywhere.

  3. VentureMaker
    Member
    Posted 15 years ago #

    Do you use www somewhere with your domain?

  4. jarca
    Member
    Posted 15 years ago #

    No, I just use "http://wordpressmu.homeip.net/" and I make this direction to be redirected to 127.0.0.1 with bind.

  5. SteveAtty
    Member
    Posted 15 years ago #

    You are running this on your own local server?

  6. jarca
    Member
    Posted 15 years ago #

    Yes Steve, at least I am trying

  7. SteveAtty
    Member
    Posted 15 years ago #

    OK if you are trying to run it locally in subdomain mode then its a pain as you either have to add each blog to your hosts file OR you have to set up your own DNS server. I used dnsmasq, and for another site which I'm also working on which needs subdomains I simply have a single line which makes dnsmasq serve the same address for any subdomain.

    If you are running in subdirectory mode then you don't have as many problems as you don't need to worry about subdomains.

    The main thing is that you should not need to add any additional rewrites as WPMU should work fine without them under normal circumstances.

  8. jarca
    Member
    Posted 15 years ago #

    Ok, I have a DNS server running just for me and I will try to use the subdirectory mode in order to have less problems.

    So..., in that mode there is no need to include the "RedirectMatch 301 (.*) http://wordpressmu.homeip.net$1" line in the apache configuration? I really do not know what that line does, I just use it because it is recommended in the README --> http://ma.tt/2003/10/10/wildcard-dns-and-sub-domains/

    Thanks for the help

  9. SteveAtty
    Member
    Posted 15 years ago #

    Get rid of it, you should need nothing more than what you are told to do in the instructions in the WPMU download and what it creates.

  10. jarca
    Member
    Posted 15 years ago #

    OK, thanks for the help ;)

About this Topic