Apache -> Configuration
Hi everybody!
One simple question (i do not know the answer:( ) How schould apache be configured if i want this sutiation? /var/www -> http://www.mydom.netm -> 192.168.0.2 /mnt/data1/.../scritps -> http://script.mydom.net -> 192.168.0.2 THX in advance |
This should do the trick. Take care, this example allows everyone access:
<VirtualHost www.mydom.net> DocumentRoot /var/www/html ServerName www.mydom.net <directory /var/www/html> options indexes order allow,deny allow from all </directory> </VirtualHost> <VirtualHost script.mydom.net> DocumentRoot /mnt/data1/.../scripts ServerName script.mydom.net <directory /mnt/data1/.../scripts> options indexes order allow,deny allow from all </directory> </VirtualHost> |
You can also always check out the documentation over at www.apache.org in which they have very easy to understand manuals and howto's, etc.
|
now it works....
THX :D |
All times are GMT -5. The time now is 09:02 PM. |