The MU forums have moved to WordPress.org

After I log in, It redirects to wrong page. (8 posts)

  1. chameleonfx611
    Member
    Posted 14 years ago #

    http://damien.vhost/wp-login.php is the location of the login page. The page just has the log in text boxes and text; the background of the page is plain white, so there is something wrong there. When I log in, it sends me to this page http://damien.vhost/index.php/wp-login.php and I get a the Blog's 404 page. Any thoughts?

  2. andrea_r
    Moderator
    Posted 14 years ago #

    Your install is hosed somehow.

    But you haven't given enough info for us to help fix it.

  3. chameleonfx611
    Member
    Posted 14 years ago #

    It is hosted on a local machine, I am using apache file server 2.2. I used the damien.vhost for the name because I had an earlier problem where it kept saying that I have cookies disabled in my browser. I check and it was not, I saw on this forum that someone had similar issues and it was because the domain name was too short. So instead of using damien, I use damien.vhost. Please let me know if you need more info.

  4. tmoorewp
    Member
    Posted 14 years ago #

    Have you:

    1. Set up mod_rewrite in Apache?
    2. Set up the AllowOverride settings in Apache?
    3. Checked file permissions?

  5. chameleonfx611
    Member
    Posted 14 years ago #

    I mhave the mod_rewrite there. I have the file permissions. I didn't do anything about the allow override. Below is what is rewritten in my httpd.conf file. What is allowoverride about?

    <Directory "D:/Apache2.2/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>

    <Directory "D:/Apache2.2/htdocs">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important. Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    #
    Options Indexes FollowSymLinks

    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    #
    AllowOverride None

    #
    # Controls who can get stuff from this server.
    #
    Order allow,deny
    Allow from all

    </Directory>

    <Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    </Directory>

  6. tmoorewp
    Member
    Posted 14 years ago #

    AllowOverride None needs to be changed to

    AllowOverride FileInfo Options

  7. operador
    Member
    Posted 14 years ago #

    I'm in de same hole than you, chameleonfx611... I need help too
    I wath http://www.blog-local.com/blog/wp-login.php, and when i send the form this is de url: http://blog-local.com/blog/wp-login.php and get 404 error page

  8. chameleonfx611
    Member
    Posted 14 years ago #

    thank you tmoorewp,it worked. operador, give his solutions a shot. Hopefully it will work.

About this Topic

  • Started 14 years ago by chameleonfx611
  • Latest reply from chameleonfx611