当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: 今天在做一个站点的企业黄页时,权衡之下觉得使用rewrit
 

 

 ·apache中与日志有关的模块    »显示摘要«
    摘要: 与日志相关的模块 软件 mod_log_sql 把日志记到mysql中的模块 http://www.apache.org apache web服务器 http://www.apache.org 准备工作(安装apache) ./configure --prefix=/www/apache --disable-module=all --enable-module=alias --e......
    摘要: 系统平台:redhat9.0 基本要求:有一个apache2.0的安装。并且包含了mod_userdir模块。 默认的安装包含该模块。 ./configure --disable-all --enable-module=alias --enable-module=access --enable-module=auth --enable-module=log_config --enable-m......


Apache进行Rewrite时需要注意根目录

今天在做一个站点的企业黄页时,权衡之下觉得使用rewrite来实现每个企业的黄页比较的好. 【程序编程相关:[原创]在unix上让apache支持a

【推荐阅读:[原创]解决apache显示乱码的方法

      一个企业在管理界面填写信息之后,就在其相应目录生成相关文件. 【扩展信息:Apache-2.0.43+Php-4.

演示如下:

[code:1:32b836f8d4]

rewriteengine on 

rewritecond %{http_host} ^[^.]+\.yp\.oursite\.cn$ 

rewriterule ^(.+) %{http_host}$1 [c] 

rewriterule ^([^.]+)\.yp\.oursite\.cn(.*) "/$1$2"

errorlog logs/oursite-error_log


...   下一页
 ·实战apache用户验证    »显示摘要«
    摘要: 本文主要介绍了包含在apache发行版本内的用户验证模块---auth,auth_db 验证模块的使用是很简单的就以下三步 1、创建用于保存用户/密码的文件 2、配置apache以使用那个文件做用户验证 3、可选的创建一个组文件 1、apache_1.3.28的安装。 shell>./configure --prefix=/www --disable-module=all --enab......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE