H
HuwW
Guest
Hi folks,
I wonder if someone would be so kind as to help me out a bit. I've just bought a VPS which uses Plesk 9.3 running on Ubuntu (Webfusion host). Many of my websites use a Content Management System where the admin files are held in a 'master' directory. Under 'normal' Apache I just had to include an Alias directive in the httpd.conf file. For example:
<VirtualHost *:80>
ServerName www.mywebsite.net
ServerAlias mywebsite.net
Alias /admin /var/www/html/master/admin
DocumentRoot /var/www/html/mywebsite
</VirtualHost>
The result of this would be that anyone visiting www.mywebsite.net/admin would be served files from /var/www/html/master/admin
My question is how can I recreate this scenrio using the vhost.conf file? From what I can Google it looks like I need an Alias and a directive to alllow pages to be server from outside the domains file structure.
All help appreciated.
TIA
Huw
I wonder if someone would be so kind as to help me out a bit. I've just bought a VPS which uses Plesk 9.3 running on Ubuntu (Webfusion host). Many of my websites use a Content Management System where the admin files are held in a 'master' directory. Under 'normal' Apache I just had to include an Alias directive in the httpd.conf file. For example:
<VirtualHost *:80>
ServerName www.mywebsite.net
ServerAlias mywebsite.net
Alias /admin /var/www/html/master/admin
DocumentRoot /var/www/html/mywebsite
</VirtualHost>
The result of this would be that anyone visiting www.mywebsite.net/admin would be served files from /var/www/html/master/admin
My question is how can I recreate this scenrio using the vhost.conf file? From what I can Google it looks like I need an Alias and a directive to alllow pages to be server from outside the domains file structure.
All help appreciated.
TIA
Huw