Multisite locally with static IP
-
Hi all
I’ve installed WP 3.6 multisite using the sub directory method on a local linux server with a static IP using a virtual host and I use webmin to manage the virtual hosts. I have added the extra code to my config file and updated the htaccess file. I can add sites from the dashboard but I receive an error when I want to view it. Copy of the error below:
The requested URL /Ruki/crestmead/wp-admin/ was not found on this server. Apache/2.2.22 (Ubuntu) Server at 192.168.0.111 Port 80.
I have enabled apache rewrite.
I suspect that my server is not processing the htaccess rewrite rules properly.
Below is a copy if the config file I’m using:
define(‘WP_ALLOW_MULTISITE’,true);
define(‘MULTISITE’, true);
define(‘SUBDOMAIN_INSTALL’, false);
define(‘DOMAIN_CURRENT_SITE’, ‘192.168.0.111’);
define(‘PATH_CURRENT_SITE’, ‘/Ruki/’);
define(‘SITE_ID_CURRENT_SITE’, 1);
define(‘BLOG_ID_CURRENT_SITE’, 1);Here is a copy of the htacces file
RewriteEngine On
RewriteBase /Ruki/
RewriteRule ^index\.php$ – [L]# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]and here is a copy of the directive I’m using for the virtual host
<VirtualHost *:80>
DocumentRoot /var/www/Ruki
<Directory /var/www/Ruki>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
</VirtualHost>I can’t seem to find the error. I’d appreciate any help. With thanks.
Damon
- The topic ‘Multisite locally with static IP’ is closed to new replies.