В IIS я могу создать Virtual Directory где угодно на своём диске и запускать странички из неё типа ]]>http://localhost/TestDirectory/index.html]]>. Возможно ли такое в Apache и как это сделать?
Спасибо!
##########
#-----TEST----#
<VirtualHost test>
ServerAdmin admin@brest.by
ServerName test
DocumentRoot "E:/hosts/test/www"
ScriptAlias /cgi/ "E:/hosts/test/cgi/"
ErrorLog E:/hosts/test/logs/error.log
CustomLog E:/hosts/test/logs/access.log common
DefaultType text/plain
</VirtualHost>NameVirtualHost 127.0.0.1
<VirtualHost localhost>
ServerName localhost
DocumentRoot "/home/localhost/www"
ScriptAlias /cgi/ "/home/localhost/cgi"
ErrorLog /home/localhost/log/error.log
CustomLog /home/localhost/log/access.log common
</VirtualHost>
<VirtualHost carprice>
ServerName carprice
DocumentRoot "/home/carprice/www"
ScriptAlias /cgi/ "/home/carprice/cgi"
ErrorLog /home/carprice/log/error.log
CustomLog /home/carprice/log/access.log common
</VirtualHost>DirectoryIndex index.php , index.htmlа иначе нет файла index.html - нет доступа к директории. Эту же строку можно прописать в .htaccess - индеец поймет, если загружен модуль mod_dir (по умолчанию в конфиге он есть)