zoukankan      html  css  js  c++  java
  • 关于xampp使用不同端口的虚拟机

    1.打开apache/conf/httpd.conf文件加入listen 8080(监听的端口号)

    然后加入

    # Virtual hosts
    Include "conf/extra/httpd-vhosts.conf"

    然后加入

    DocumentRoot "E:htdocs/"
    <Directory "E:htdocs/">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important. Please see
    # http://httpd.apache.org/docs/2.4/mod/core.html#options
    # for more information.
    #
    Options Indexes FollowSymLinks Includes ExecCGI

    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # AllowOverride FileInfo AuthConfig Limit
    #
    AllowOverride All

    #
    # Controls who can get stuff from this server.
    #
    Require all granted
    </Directory>

    注:文件地址是上面的文件地址,记住是两个地址

     2.打开apacheconfextra目录下的httpd-vhosts.conf文件

    加入

    <virtualhost *:8080>

    ServerName localhost

    DocumentRoot "E:project_ICSourceICS"

    </virtualhost>

    注:更改地址就好了

    完成!

  • 相关阅读:
    28图结构的类实现
    27图的拓扑排序
    26最短路径之Floyd算法
    25最短路径之Dijkstra算法
    24最小生成树之Prim算法
    23最小生成树之Kruskal算法
    22-1图的遍历的源代码
    22图的遍历
    21图结构的基本概念
    20树结构的类实现
  • 原文地址:https://www.cnblogs.com/liuwenbohhh/p/4301864.html
Copyright © 2011-2022 走看看