Apache 管理配置<br />
Apache 介绍<br />Apache<br />Apache软件基金会(也就是Apache Software Foundation,简称为ASF),是专门为支持开源软件项目而办的一个非盈利性组织。在它所支持的 Apache 项目与子项目中...
Apache projects<br />HTTP Server AbderaActiveMQAnt APR Archiva Beehive Buildr Camel Cayenne Cocoon Commons Continuum Couch...
关于Apache 安装及配置<br />独立安装包<br />http://httpd.apache.org/download.cgi<br />一键安装包<br />AppservXampp(linux-lampp)…<br />1.配置文件...
Appserv<br />
基本配置<br />端口<br />Listen 80/8000<br />Listen 10.20.136.*:80<br />编码<br />AddDefaultCharset GB2312<br />错误提示<br />ErrorDocu...
基本配置<br />DocumentRoot “D:/AppServ/www”<br />
Vhost(虚拟主机)<br />conf/httpd.conf<br />LoadModulevhost_alias_module modules/mod_vhost_alias.so<br />Include conf/extra/http...
加密访问<br />1.生成密码<br />在cmd下运行D:AppServApache2.2binhtpasswd.exe<br />打开认证<br /><Directory “D:/Appserv/www/style">  <--预加密目录...
URL重写 rewriter<br />
shtml<br />LoadModuleinclude_modulelibexec/apache2/mod_include.so<br />AddType text/html .shtml<br />AddOutputFilter INCLU...
Upcoming SlideShare
Loading in...5
×

Apache+管理..

452

Published on

Published in: Design, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
452
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Apache+管理..

  1. 1. Apache 管理配置<br />
  2. 2. Apache 介绍<br />Apache<br />Apache软件基金会(也就是Apache Software Foundation,简称为ASF),是专门为支持开源软件项目而办的一个非盈利性组织。在它所支持的 Apache 项目与子项目中,所发行的软件产品都遵循 Apache许可证(Apache License)。<br />Apache HTTP server<br />Apache HTTP Server(简称Apache)是Apache软件基金会的一个开放源码的网页服务器,可以在大多数计算机操作系统中运行,由于其跨平台和安全性[1]被广泛使用,是最流行的Web服务器端软件之一。它快速、可靠并且可通过简单的API扩充,将Perl/Python等解释器编译到服务器中。<br />
  3. 3. Apache projects<br />HTTP Server AbderaActiveMQAnt APR Archiva Beehive Buildr Camel Cayenne Cocoon Commons Continuum CouchDB CXF DB Directory Excalibur Felix Forrest Geronimo Gump Hadoop<br />Harmony HttpComponentsiBATIS Incubator Jackrabbit Jakarta James Labs Lenya LoggingLucene Maven Mina MyFaces ODE OFBizOpenEJBOpenJPAPDFBoxPerl POI Portals Qpid Roller Santuario<br />ServiceMix Sling SpamAssassin STDCXX Struts Synapse Tapestry TCL Tiles Tomcat Turbine Tuscany Velocity Wicket Web Services XalanXerces XML XMLBeansXML Graphics Attic <br />
  4. 4. 关于Apache 安装及配置<br />独立安装包<br />http://httpd.apache.org/download.cgi<br />一键安装包<br />AppservXampp(linux-lampp)…<br />1.配置文件较保持原状<br />2.基本初始化配置,目录整齐<br />3.独立封装配置文件<br />4.配置合成mysql、php、mysql+phpmyadmin<br />
  5. 5. Appserv<br />
  6. 6. 基本配置<br />端口<br />Listen 80/8000<br />Listen 10.20.136.*:80<br />编码<br />AddDefaultCharset GB2312<br />错误提示<br />ErrorDocument 403 “message” #禁止访问<br />ErrorDocument 401 /noright.html #未认证<br />
  7. 7. 基本配置<br />DocumentRoot “D:/AppServ/www”<br />
  8. 8. Vhost(虚拟主机)<br />conf/httpd.conf<br />LoadModulevhost_alias_module modules/mod_vhost_alias.so<br />Include conf/extra/httpd-vhosts.conf<br />conf/extra/httpd-vhost.conf<br /><VirtualHost 10.20.136.129:80> #域名解析ip<br />DocumentRoot “D:/Appserv/www/style“ #映射<br />ServerName style.china.alibaba.com#主域<br />ServerAlias dev.china.alibaba.com#别名<br /></VirtualHost><br />
  9. 9. 加密访问<br />1.生成密码<br />在cmd下运行D:AppServApache2.2binhtpasswd.exe<br />打开认证<br /><Directory “D:/Appserv/www/style"> <--预加密目录<br />AuthType Basic #基本验证<br />AuthName “Password Required” #弹出提醒框提示<br />AuthUserFile “D:/Appserv/bin/.htpasswd” #服务器绝对路径<br />Require valid-user<br /></Directory><br />
  10. 10. URL重写 rewriter<br />
  11. 11. shtml<br />LoadModuleinclude_modulelibexec/apache2/mod_include.so<br />AddType text/html .shtml<br />AddOutputFilter INCLUDES .shtml<br /><Directory><br />Options Indexes FollowSymLinksIncludes<br /></Directory><br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×