The MU forums have moved to WordPress.org

404 in comments (3 posts)

  1. bmonster99
    Member
    Posted 18 years ago #

    I have tried every solution in these forums and am still getting 404 errors after users try to post a comment in any blog. They go to subdomain.autiblogger.com/wp-comments-post.php. Domain is autiblogger.com.

    This problem has just started after moving the site from dreamhost to a VPS on liquid web.

    Here's my .htaccess file:

    RewriteEngine On
    RewriteBase /

    # Rewrite http://www.domain.com to domain.com
    RewriteCond %{HTTP_HOST} ^www.(.*)
    RewriteRule ^(.*) http://%1/$1 [R,L]

    #uploaded files
    RewriteRule ^(.*)?/?files/(.*) wp-content/blogs.php?file=$2 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
    RewriteRule . index.php [L]

    Here is the error from the server apache log:

    xx.xxx.xxx.xxx - - [23/Sep/2006:10:51:08 -0700] "POST /wp-comments-post.php HTTP/1.1" 404 14095 "http://test.autiblogger.com/2006/08/26/long-link-test/" "Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7"

    Any help is appreciated. Thanks!

  2. drmike
    Member
    Posted 18 years ago #

    Have you looked to see if wp-comments-post.php is there?

    What permissions is it set to? Should be 644. Who is the file owned by? Should be either your account or the webserver.

  3. bmonster99
    Member
    Posted 18 years ago #

    Thanks drmike! Ordinarily I would feel dumb about not even checking if the file is there, but I am too happy to even care :) This is not the first file that has gone missing after the transfer from dreamhost. I often have problems when doing server to server transfers from there.

About this Topic

  • Started 18 years ago by bmonster99
  • Latest reply from bmonster99