zoukankan      html  css  js  c++  java
  • Apache

    Apache

    官网下载

    http://httpd.apache.org/

     http://httpd.apache.org/docs/current/platform/windows.html#down

    官方推荐的第三方下载

    http://www.apachehaus.com/cgi-bin/download.plx

    推荐

    http://www.apachelounge.com/download/

    Visual Studio 2015 Update 1

    VC14

     https://www.microsoft.com/en-us/download/details.aspx?id=49984

    手动安装服务

    httpd.exe -k install

    httpd.exe -k uninstall

    绿色版,不用setup,直接运行ApacheMonitor.exe启动服务。

    命令参考

    http://httpd.apache.org/docs/current/platform/windows.html#down

     VC14记得安装vc_redist_x64/86.exe.

     启动不起来报错的话,在windows的事件查看器>Windows 日志>应用程序>错误,内容很明确的显示出来了,一般是下面2个文件需要修改,文件路径和端口。

    httpd.conf

    DocumentRoot "D:phphttpd-2.4.18-win64-VC14Apache24htdocs"

    ServerRoot "E:MYDEVwebhttpd-2.4.18-win64-VC14Apache24"

     Listen 127.0.0.1:8080

    httpd-xampp.conf

    LoadFile "E:MYDEVwebPHPxamppphpphp7ts.dll"
    LoadModule php7_module "E:MYDEVwebPHPxamppphpphp7apache2_4.dll"

    AppServ

    http://www.appservnetwork.com/

    EasyPHP

    http://www.easyphp.org/

    XAMPP

    https://www.apachefriends.org/index.html

    Apache + MariaDB + PHP + Perl

    比较好用的集成包。

    test local

    http://127.0.0.1:8080/index.html

     

    Forbidden

    You don't have permission to access / on this server.

    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

    http 403 禁止访问

    you don't have permission to access / on this server

    please check file httpd.conf. 

    <Directory />
        Options FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Satisfy all
        Require all denied//拒绝所有请求,前面加个#注释就OK啦。
    </Directory>
  • 相关阅读:
    欧几里得 与 扩展欧几里得
    hdu-1559 最大子矩阵
    hdu-1081 To The Max (最大子矩阵和)
    Oracle处理排序问题
    报表犯的错误
    MySQL中汉字一二三排序问题
    MySQL复习
    帆软查看显示和填报显示
    MySQL某年查询12个月份的数据
    mysql中去日期格式
  • 原文地址:https://www.cnblogs.com/cb168/p/5059231.html
Copyright © 2011-2022 走看看