• Hi there –

    I’ve setup a very vanilla installation of wordpress_mu.

    I’ve taken the sub-folder approach.

    My “root” blog (the default created by the installation process) is displaying just fine at https://mydomain.com/.

    However, when I try to create a new blog at https://mydomain.com/mynewblog – the browser cannot find it.

    I have apache mod_rewrite enabled:

    root@domU-12-31-39-06-8D-81:~# ls -l /etc/apache2/mods-enabled/
    lrwxrwxrwx 1 root root 27 2009-09-29 17:29 php5.conf -> ../mods-available/php5.conf
    lrwxrwxrwx 1 root root 27 2009-09-29 17:29 php5.load -> ../mods-available/php5.load
    lrwxrwxrwx 1 root root 30 2009-09-29 17:49 rewrite.load -> ../mods-available/rewrite.load
    lrwxrwxrwx 1 root root 31 2009-09-29 17:29 setenvif.conf -> ../mods-available/setenvif.conf
    lrwxrwxrwx 1 root root 31 2009-09-29 17:29 setenvif.load -> ../mods-available/setenvif.load
    lrwxrwxrwx 1 root root 29 2009-09-29 17:29 status.conf -> ../mods-available/status.conf
    lrwxrwxrwx 1 root root 29 2009-09-29 17:29 status.load -> ../mods-available/status.load

    (for brevity not all results shown)

    The contents of my .htaccess file are here.

    root@domU-12-31-39-06-8D-81:~# cat /var/www/.htaccess
    RewriteEngine On
    RewriteBase /
    
    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$
    RewriteRule ^(.+)$ $1/ [R=301,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]
    
    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

    Does anyone have any ideas?

    Thanks –

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Create a New Blog – get a 404 page’ is closed to new replies.