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>

 

posted @ 2012-02-05 14:33  wangkangluo1  阅读(528)  评论(0编辑  收藏  举报