E
EmmanuelJ
Guest
I have checked the ressource for this but it doesnt work:
I have write:
I have replaced my real domain with mydmain.com
I would change the directory root for a subdomains http et https on the same documentroot for a subdomains
/var/www/vhosts/mydmain.com/subdomains/intranet/conf
[root@srv01 conf]# ls -al
total 24
drwxr-x--- 2 root psaserv 4096 Apr 26 15:31 .
drwxr-xr-x 7 root root 4096 Apr 26 13:48 ..
-rw-r--r-- 1 root root 559 Apr 26 15:19 vhost.conf
-rw-r--r-- 1 root root 223 Apr 26 13:33 vhost_ssl.conf
vhost_ssl.conf
DocumentRoot /var/www/vhosts/mydmain.com/subdomains/intranet/httpdocs/web
<Directory /var/www/vhosts/mydmain.com/subdomains/intranet/httpdocs/web>
php_admin_value open_basedir none
AllowOverride All
</Directory>
/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=mydmain.com
/etc/init.d/httpd restart
but it' doesnt work I always have the defulat page, anybody knows why ?
thanks
I have write:
I have replaced my real domain with mydmain.com
I would change the directory root for a subdomains http et https on the same documentroot for a subdomains
/var/www/vhosts/mydmain.com/subdomains/intranet/conf
[root@srv01 conf]# ls -al
total 24
drwxr-x--- 2 root psaserv 4096 Apr 26 15:31 .
drwxr-xr-x 7 root root 4096 Apr 26 13:48 ..
-rw-r--r-- 1 root root 559 Apr 26 15:19 vhost.conf
-rw-r--r-- 1 root root 223 Apr 26 13:33 vhost_ssl.conf
vhost_ssl.conf
DocumentRoot /var/www/vhosts/mydmain.com/subdomains/intranet/httpdocs/web
<Directory /var/www/vhosts/mydmain.com/subdomains/intranet/httpdocs/web>
php_admin_value open_basedir none
AllowOverride All
</Directory>
/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=mydmain.com
/etc/init.d/httpd restart
but it' doesnt work I always have the defulat page, anybody knows why ?
thanks