zoukankan      html  css  js  c++  java
  • vhost文件配置含义是什么

    vhost文件配置含义是什么

    <VirtualHost *:80>
    #设置端口
    ServerName test.lesson.com
    #绑定域名
    DocumentRoot “D:/lesson”
    #指定网站根目录
    <Directory “D:/lesson”>
    #指定目录分配权限
    Require all granted
    #允许所有访问
    AllowOverride All
    #支持重写
    Allowoverride All
    #允许使用分布式文件配置
    Options Indexes FollowSymLinks ExecCGI
    #indexes可以列表显示
    #FollowSymLinks可以点击
    #Options Indexes+FollowSymLinks+ExecCGI
    Options Indexes FollowSymLinks
    #当没有首页时,就显示列表(开发阶段可以这样),FollowSymLinks可以省略
    DirectoryIndex index.html index.php
    #默认首页

    Copyright [2018] by [羊驼可以吃吗] form [https://www.cnblogs.com/phpisfirst/]
  • 相关阅读:
    使用Python往手机发送短信(基于twilio模块)
    春&风
    故乡
    非常完美
    风 记忆
    风誓
    MATLAB的循环结构
    你要的快乐
    夕颜
    MATLAB的基本元素
  • 原文地址:https://www.cnblogs.com/phpisfirst/p/9792573.html
Copyright © 2011-2022 走看看