S
sbmman
Guest
Hello,
currently I have a project on a win32/apache server which I wanna migrate to a Plesk server.
My problem is that I used the /alias function of apache to use another domain to refer into directories of another web site hosted in another local file directory.
How can I migrate that with Plesk ? I know that it doesn't work via Gui, so is it possible to do that via shell and does the Plesk security model allow that ?
domain1 is the main site. domain2 points to dirs of domain1....
httpd.conf
<VirtualHost 212.212.28.226:80>
ServerName www.domain1.de
DocumentRoot C:/xampp/xampp/htdocs
RewriteEngine On
RewriteRule autoinfo([0-9]+)\.html$ http://www.domain1.de/blah.php?zeug=$1
</VirtualHost>
ssl.conf
<VirtualHost 212.292.066.102:443>
ServerName www.DOMAIN2.com:443
DocumentRoot C:/xampp/xampp/htdocs-tk
Alias /admin "C:/xampp/xampp/htdocs/admin"
Alias /pagepics "C:/xampp/xampp/htdocs/pagepics"
Alias /fz_pics "C:/xampp/xampp/htdocs/fz_pics"
Alias /tkits "C:/xampp/xampp/htdocs/tkits"
</VirtualHost>
currently I have a project on a win32/apache server which I wanna migrate to a Plesk server.
My problem is that I used the /alias function of apache to use another domain to refer into directories of another web site hosted in another local file directory.
How can I migrate that with Plesk ? I know that it doesn't work via Gui, so is it possible to do that via shell and does the Plesk security model allow that ?
domain1 is the main site. domain2 points to dirs of domain1....
httpd.conf
<VirtualHost 212.212.28.226:80>
ServerName www.domain1.de
DocumentRoot C:/xampp/xampp/htdocs
RewriteEngine On
RewriteRule autoinfo([0-9]+)\.html$ http://www.domain1.de/blah.php?zeug=$1
</VirtualHost>
ssl.conf
<VirtualHost 212.292.066.102:443>
ServerName www.DOMAIN2.com:443
DocumentRoot C:/xampp/xampp/htdocs-tk
Alias /admin "C:/xampp/xampp/htdocs/admin"
Alias /pagepics "C:/xampp/xampp/htdocs/pagepics"
Alias /fz_pics "C:/xampp/xampp/htdocs/fz_pics"
Alias /tkits "C:/xampp/xampp/htdocs/tkits"
</VirtualHost>