`
liuzhaomin
  • 浏览: 199046 次
  • 性别: Icon_minigender_1
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

Apache Handler

阅读更多

       A "handler" is an internal Apache representation of the action to be performed when a file is called. Generally, files have implicit handlers, based on the file type. Normally, all files are simply served by the server, but certain file types are "handled" separately.

 

      Apache 1.1 adds the ability to use handlers explicitly. Based on either filename extensions or on location, handlers can be specified without relation to file type. This is advantageous both because it is a more elegant solution, and because it also allows for both a type and a handler to be associated with a file.

      Handlers can either be built into the server or included in a module, or they can be added with the Action directive. The built-in handlers in the standard distribution are as follows:

     

  • default-handler: Send the file using the default_handler(), which is the handler used by default to handle static content. (core)
  • send-as-is: Send file with HTTP headers as is. (mod_asis)
  • cgi-script: Treat the file as a CGI script. (mod_cgi)
  • imap-file: Parse as an imagemap rule file. (mod_imap)
  • server-info: Get the server's configuration information. (mod_info)
  • server-status: Get the server's status report. (mod_status)
  • type-map: Parse as a type map file for content negotiation. (mod_negotiation)

 

分享到:
评论

相关推荐

    hive-hbase-handler-1.2.1.jar

    被编译的hive-hbase-handler-1.2.1.jar,用于在Hive中创建关联HBase表的jar,解决创建Hive关联HBase时报FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. org.apache.hadoop....

    使Delphi 6.0 支持 Apache 2.0

    修改project 上面的 use 部分,把 Apacheapp改为Apachetwoapp,再把下面的ContentType 改为handler,好了,所有手术完成,现在你编译出来的就是支持Apache 2.0.43 的动态共享模块了。注意:以上的修改为非官方修改,...

    apache-hive-3.1.2-jdbc.jar

    hive3.1.2编译后的驱动包

    apache-hive-3.1.2-bin.tar.gz

    为解决hive安全问题,重新编译hive源码升级jetty到9.4.24.v20191120

    Apache Commons fileUpload实现文件上传

    // Create a new file upload handler ServletFileUpload upload = new ServletFileUpload(factory); // Set overall request size constraint upload.setSizeMax(4194304); // 设置最大文件尺寸,这里是4MB ...

    struts-2.3.8+spring-3.2.1+mybatis-3.2.2架构

    INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\...

    apache2-rs:用Rust开发Apache模块[早期开发]

    用Rust开发Apache模块 该库旨在使使用Rust编程语言轻松且容易地编写Apache HTTP Server模块。...fn hello_handler (r: & mut Request) -> Result <Status> { r. set_content_type ( "text/plain; charset=utf-8" );

    apache 采用C语言的模块开发

    我在改造APACHE服务器授权访问时,需要对不合法的客户端请求进行过滤。对不合法请求需要立即发送一个错误提示页面给客户端。 发送错误提示页面的程序片断如下: //非法请求作错误跳转 char *location...

    php伪静态之APACHE篇

    1.检测Apache是否支持mod_rewrite通过php提供的phpinfo()函数查看环境配置,通过Ctrl+F查找到“Loaded Modules”,其中列出了所有apache2handler已经开启的模块,如果里面包括“mod_rewrite”,则已经支持,不再需要...

    MiniServer v2.0 php运行环境(Apache+Nginx+MySQL+PHP)

    1.新增:PHP更换为5.3.22和5.4.12,并更换原APACHE2HANDLER运行方式为CGI-FCGI 2.新增:全面支持Zend Guard加密 3.新增:添加一个快速便捷的文件分享服务器(基于第三方软件) 4.改进:调整虚拟目录和虚拟主机的...

    hive-bigquery-storage-handler:用于BigQuery和Apache Hive之间互操作性的Hive存储处理程序

    Hive-BigQuery StorageHandler 这是一个Hive StorageHandler插件,可让Hive与BigQuery进行交互。 它允许您保留现有管道,但可以...部署Hive-BigQuery-storage-handler-1.0-shaded.jar 使用StorageHandler访问BigQuery

    PHP+APACHE实现网址伪静态

    检测Apache是否开启mod_rewrite功能 可以通过php提供的phpinfo()函数查看环境配置,找到“Loaded Modules”,其中列出了所有apache2handler已经开启的模块,如果里面包括“mod_rewrite”,则已经支持,不再需要继续...

    d7 for apache2.048

    解压编译后分别放到source和lib文件夹中,同时在apache中配置文件添加如下LoadModule test_module "d:/test/test.dll"<Location /test>SetHandler test-Handler在ie中测试localhost/test

    PHP整站套件-1.3.4

    httpd.conf.bak, php-apache2handler.ini.bak 然后被覆盖. Start.cmd 安装并启动 Apache 和 MySQL 服务. Stop.cmd 停止并移除 Apache 和 MySQL 服务. 执行它后即可删除整个套件目录. Apa_Restart...

    前端-后端java的Util类的工具类

    │ SocketHandler.java │ StreamHandler.java │ Test.java │ XMLFormatter.java │ ├─Android快速开发不可或缺的11个辅助类 │ AppUtils.java │ DensityUtils.java │ HttpUtils.java │ KeyBoardUtils.java ...

    齐齐哈尔甘南一中三年一班同学录修改版

    PHP4.3.3(Apache 2.0 Handler) Mysql4.0.15 班级留言: 普通文本留言 多彩HTML留言 留言修改 班级相册: 相片上传 相片评论 自动缩略图 班级共享: 共享文件上传 纸条传情: 给具体某人的小纸条 班级管理和班级参数...

    若依整合Ureport2导出报表错误的解决方法

    若依整合Ureport2导出报表提示 Handler dispatch failed; nested exception is java.lang.NoClassDefFoundError: org/apache/poi/POIXMLTypeLoader 的解决文档说明

    java head space.txt

    org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.OutOfMemoryError: Java heap space at org.springframework.web.servlet.DispatcherServlet....

    HiveJdbcStorageHandler

    STORED BY ' org.apache.hadoop.hive.jdbc.storagehandler.JdbcStorageHandler ' TBLPROPERTIES ( " mapred.jdbc.driver.class " = " org.postgresql.Driver " , " mapred.jdbc.url " = " jdbc:postgresql://host...

Global site tag (gtag.js) - Google Analytics