Skip to:
Content
Pages
Categories
Search
Top
Bottom

404 on localhost installation


  • breedlove
    Participant

    @breedlove

    Hi, Loving Buddypress and can’t wait for the release.

    I have a problem when trying to install on a localhost server (XAMPP).

    Home page is there and I seem to be able to create profiles and users. But I’m constantly getting “Opps 404” when I go to view profiles / blogs / everything else.

    I’m guessing it’s because I’ve got to install WPMU under localhost.localdomain.

    Is there a way around this?

Viewing 9 replies - 1 through 9 (of 9 total)

  • Andrea Rennick
    Participant

    @andrea_r

    Nope not really. Also make sure you have mod_rewrite, and allow File Override All in apache’s config so it will actually read the htaccess file (double check that it has one).


    breedlove
    Participant

    @breedlove

    Hi Andrea,

    Nope not really as in – it’s not because of localhost.localdomain?

    or

    Nope not really as in – There’s no way around it?

    I’ve check the apache httpd.conf file and all seems to be fine with that.

    I can successfully install other MU installations with no problems.

    Cheers, BL


    Andrea Rennick
    Participant

    @andrea_r

    “Nope not really as in – There’s no way around it?”

    That’s what I meant. :)


    breedlove
    Participant

    @breedlove

    Thanks Andrea.

    Saves me wrecking my head over this tonight.


    talk2manoj
    Participant

    @talk2manoj

    There seems to be permission issue

    First check your mod_rewrite and try following

    chown -R yourusername wwwdirectory

    or

    chown -R yourusername 755 wwwdirectory

    Hope this helps


    breedlove
    Participant

    @breedlove

    here’s where my knowledge is failing me.

    how do i set chown permissions? do i edit a file? which one?

    thanks in advance


    Andrea Rennick
    Participant

    @andrea_r

    those are command-line statements done via terminal mode.


    Burt Adsit
    Participant

    @burtadsit

    If you installed WPMU with the subdomain option and not the directory option you won’t be able to create *any* user blogs (or the WPMU site blog) if you don’t edit the windowssystem32driversetchosts file.

    Windows uses this file for DNS resolution. e.g. mylovelysite.org -> 127.0.0.1 (localhost)

    A standalone Windows desktop doesn’t use DNS to map these things. So… create entries for your site and all the blogs you will create in WPMU:

    (hosts file entries)

    127.0.0.1 localhost

    127.0.0.1 mylovelysite.org

    127.0.0.1 userblog1.mylovelysite.org

    127.0.0.1 userblog2.mylovelysite.org

    Restart Apache (it only looks at the hosts file on boot), wander back into WPMU and create blogs with names userblog1, userblog2.

    Works the same in BP. Create your usernameblog.mylovelysite.org mapping in hosts file. Restart Apache and play.

    Burt


    guillermojmc
    Participant

    @guillermojmc

    Hi! I have so many problems! and I need help! please!

    Problems with buddypress in Localhost

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘404 on localhost installation’ is closed to new replies.
Skip to toolbar