EE v2.5.5 MSM
On the current host the main site and other sites each have their own directory, 'www.oursite.com' points to one directory, 'subdomain1.oursite.com' points to it's own directory etc.
This setup doesn't seem possible on our new host, so we have put the main site into the public_html directory, and created subdomain directories in public_html into which the other sites have been put.
I have followed the instructions for setting up the paths in MSM; in the subdomains directories both the admin.php and index.php $system_path value points to the main sites system directory.
I thought I could reach the control panels via subdomain1.oursite.com/admin.php etc, but it's actually the main cp, requests for the subdomain frontends fail.
I don't think this is an open basedir issue is it? Any other ideas please?
Update, I've added my htaccess details here in reponse to the comment from Jeremy Gimbel: I have the following in my htaccess for the subsite1 directory:
--------------- htaccess rediect ----------
RewriteEngine On RewriteCond $1 !\.(gif|jpe?g|png)$ [NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-da RewriteRule ^(.*)$ /index.php?/$1 [L] RewriteCond %{HTTP_HOST} ^www.subsite1.domain.com RewriteRule ^(.*)$ subsite1.domain.com/$1 [R=301,L] RewriteCond %{HTTPS} !=on RewriteRule ^ http s://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
------------- end htaccess redirect ----------
I'm not sure if lines 6/7 are doing the right thing?