hi ,all
i have a multisite install locally on xampp
i have setup wordpress with wp-config.php (allow_multisite, multiaite, etc..), virtual hosts in apache
</VirtualHost>
NameVirtualHost *.domain.com
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot C:/domain
ServerName domain.com
ServerAlias *.domain.com
<Directory "C:/domain">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
setup hosts in win hosts file
127.0.0.1 en.domain.com
127.0.0.1 el.domain.com
127.0.0.1 ar.domain.com
created the sub domain sites through network admin
and i can view all frontends
the problem is that i can login only to primary site
when i try to login to other sites
although the login is succesfull (no error)
it cannot redirect to admin section and redirects back to login page
(cookies not set right) example:
http://ar.domain.com/wp-login.php?redirect_to=http%3A%2F%2Far.domain.com%2Fwp-admin%2F&reauth=1
how can this be fixed??
thanx