The MU forums have moved to WordPress.org

Multi-blogs with Page 404 not found error (7 posts)

  1. jimmy7838
    Member
    Posted 14 years ago #

    Have define mutli-blogs like through admin:
    http://hkhkglxblo1/blogs/fashion/
    http://hkhkglxblo1/blogs/fbp/

    But, cannot visit these sub blogs with 'Page 404 not found' error

  2. jimmy7838
    Member
    Posted 14 years ago #

    My main blog is http://hkhkglxblo1/blogs and it is ok to show the blog home page. But, don't know why the sub blogs cannot show.

  3. jimmy7838
    Member
    Posted 14 years ago #

    Seems that it is looking for file. Here is my apache log for the error:

    [Thu Feb 04 06:30:10 2010] [error] [client 10.9.4.66] File does not exist: /usr/local/apache2/htdocs/blogs/fashion
    [Thu Feb 04 06:31:21 2010] [error] [client 10.9.8.156] File does not exist: /usr/local/apache2/htdocs/blogs/fbp, referer: http://hkhkglxblo1/blogs/wp-admin/wpmu-blogs.php?updated=true&action=add-blog
    [Thu Feb 04 06:31:32 2010] [error] [client 10.9.8.156] File does not exist: /usr/local/apache2/htdocs/blogs/fashion, referer: http://hkhkglxblo1/blogs/
    [Thu Feb 04 06:31:43 2010] [error] [client 10.9.8.156] File does not exist: /usr/local/apache2/htdocs/blogs/fbp, referer: http://hkhkglxblo1/blogs/
    [Thu Feb 04 06:34:09 2010] [error] [client 10.9.8.156] File does not exist: /usr/local/apache2/htdocs/blogs/fashion, referer: http://hkhkglxblo1/blogs/wp-admin/wpmu-blogs.php?action=editblog&id=2
    [Thu Feb 04 06:35:06 2010] [error] [client 10.9.8.156] File does not exist: /usr/local/apache2/htdocs/blogs/fbp, referer: http://hkhkglxblo1/blogs/
    [Thu Feb 04 06:35:13 2010] [error] [client 10.9.8.156] File does not exist: /usr/local/apache2/htdocs/blogs/fbp, referer: http://hkhkglxblo1/blogs/
    [Thu Feb 04 06:35:16 2010] [error] [client 10.9.8.156] File does not exist: /usr/local/apache2/htdocs/blogs/blog, referer: http://hkhkglxblo1/blogs/
    [Thu Feb 04 06:35:21 2010] [error] [client 10.9.8.156] File does not exist: /usr/local/apache2/htdocs/blogs/fashion, referer: http://hkhkglxblo1/blogs/
    [Thu Feb 04 06:46:13 2010] [error] [client 10.9.8.156] File does not exist: /usr/local/apache2/htdocs/blogs/fashion, referer: http://hkhkglxblo1/blogs/

  4. leyburn888
    Member
    Posted 14 years ago #

    It sounds like mod_rewrite is not working properly.
    I'm not an expert on this, but I experienced similar issues.

    You need to check your httpd.conf file to see if your configuration is right.

    There are several things that need to be configured to make your apache server work with .htaccess file.
    For example, first check if mod_rewrite module is on.
    Then, other configurations like:
    AccessFileName .htaccess
    AllowOverride All

    There must be a couple of more things you need to check. Sorry, I cannot say more details (I'm not an expert). If you google it, you might be able to find more details.
    Here is one of them:
    http://codex.wordpress.org/Using_Permalinks

  5. andrea_r
    Moderator
    Posted 14 years ago #

    Is this on a local machine? The domain shoudl be a fully qualified TLD.

    in other words, it's not dot "something".

  6. jimmy7838
    Member
    Posted 14 years ago #

    I have modified the http.conf based on http://codex.wordpress.org/Using_Permalinks

    [Wed Feb 10 18:48:31 2010] [notice] Apache/2.2.13 (Unix) PHP/5.2.6 configured -- resuming normal operations
    [Wed Feb 10 18:51:12 2010] [alert] [client 10.9.8.156] /usr/local/apache2/htdocs/blogs/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
    [Wed Feb 10 18:54:45 2010] [alert] [client 10.9.8.156] /usr/local/apache2/htdocs/blogs/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
    [Wed Feb 10 18:55:04 2010] [alert] [client 10.9.8.156] /usr/local/apache2/htdocs/blogs/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
    [Wed Feb 10 18:55:13 2010] [alert] [client 10.9.8.156] /usr/local/apache2/htdocs/blogs/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

    [andrea_r@] This is on a local intranet machine. The domain is hkhkglxblo1 and there is not dot or subdomain is involved.

  7. andrea_r
    Moderator
    Posted 14 years ago #

    "The domain is hkhkglxblo1 and there is not dot or subdomain is involved. "

    And that's partly why it's not working.

    "Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration"

    mod rewrite isn't on the server.

About this Topic

  • Started 14 years ago by jimmy7838
  • Latest reply from andrea_r