apache httpd 功能配置


       编辑  \xampp\apache\conf\httpd.conf

1   http根目录修改

将  DocumentRoot "G:/htdocs/"    
                <Directory "G:/htdocs/">
 
            改为你的地址

 

2.  路径映射到端口

   <VirtualHost *:80>
       ProxyPass /ssh http://localhost:5678/
       ProxyPass /vnc http://localhost:8080/guacamole/
    </VirtualHost>

 

3.  目录索引功能

 参考:http://5875334.blog.163.com/blog/static/1333368442009102555453794/

http://itopm.com/archives/2010/02/27/custom-apache-index-of-directory.shtml

    <Directory /youpath>
       Options Indexes FollowSymLinks

      IndexOptions Charset=utf-8

    </Directory>

 

你可能感兴趣的:(apache)