The MU forums have moved to WordPress.org

400 Error When Accessing any newly created blogs after install (3 posts)

  1. pc1oad1etter
    Member
    Posted 16 years ago #

    After installation of the zipped version of Wpmu from the web site, I have had many problems viewing newly created blogs.

    Under my current installation, I used (from the install.php) a server address of blog.domain.com , and I chose subdomains. I installed wpmu not at the html root but one level down at /blog/
    In my httpd.conf, I have this entry:

    <VirtualHost *:80>
    ServerName domain.com
    DocumentRoot /var/www/html/blog
    ServerAlias *.domain.com
    </VirtualHost>

    So now if I try to access a new blog, meetings.blog.domain.com , I get "Error 400 - Bad Request" and no error is placed in the httpd error_log.

    I have tried various other configuration of the HTTPD virtualhosts and using subdirectories instead of subdomains.

    I currently do not have an entry in my httpd.conf file related to step two in the apache configuration instructions:
    "21 2. In the <Directory> directive of your virtual host, look for this
    22 line
    23 "AllowOverride None"
    24 and change it to
    25 "AllowOverride FileInfo Options""

    I tried this at one point but it did not work and I was not sure where it went. It seems that I have seen a wide variety of recommended solutions for similar problems, from changing DNS settings, to .htaccess, to virtual hosts - but there haven't been many explicit instructions on what the httpd.conf settings should be, so I am asking here.

  2. NetSpider
    Member
    Posted 16 years ago #

    try
    <VirtualHost *:80>
    DocumentRoot /var/www/html/blog
    ServerAlias *.domain.com
    ServerName domain.com
    </VirtualHost>

  3. tony199
    Member
    Posted 15 years ago #

    I had the same problem, it was resolved by adding this to the httpd.conf:

    SecRuleInheritance Off

    as in:

    <VirtualHost *:80>
    DocumentRoot /var/www/html/blog
    ServerAlias *.domain.com
    ServerName domain.com
    SecRuleInheritance Off
    </VirtualHost>

About this Topic

  • Started 16 years ago by pc1oad1etter
  • Latest reply from tony199