а если ip/test1, ip/test2, ip/test3 открывались сайты, не могу разобраться с конфигом апача кидает всегда на первый сайт
конфиг
CODE (htmlphp):
скопировать код в буфер обмена
скопировать код в буфер обмена
- <VirtualHost *:80>
- ServerName test1
- ServerAlias test1
- DocumentRoot /mnt/DATA/WWW/test1/http
- <Directory /mnt/DATA/WWW/test1/http>
- Options All
- AllowOverride All
- Order deny,allow
- </Directory>
- ErrorLog /mnt/DATA/WWW/test1/logs/error.log
- CustomLog /mnt/DATA/WWW/test1/logs/access.log common
- </VirtualHost>
- <VirtualHost *:80>
- ServerName test2
- ServerAlias test2
- DocumentRoot /mnt/DATA/WWW/test2/http
- <Directory /mnt/DATA/WWW/test2/http>
- Options All
- AllowOverride All
- Order deny,allow
- </Directory>
- ErrorLog /mnt/DATA/WWW/test2/logs/error.log
- CustomLog /mnt/DATA/WWW/test2/logs/access.log common
- </VirtualHost>