这是一篇介绍为Apache开发一个新的Module的Tutorial,非常简单易懂,英语六级以上的人看懂应该没有问题。如果你觉得看得麻烦,可以直接看其中的代码以及指令部分。
This tutorial guides the reader through the minimal tasks involved in writing a module for Apache 2. The module developed here has almost no functionality - it's only impact is the generation of a static message to logs/errorlog for each HTTP request.
No Comments »
2008年5月7日 22:40
最近需要在Apache中做实验,需要改Apache的源代码,感觉很头大。以下是找到的一篇关于Apache Module开发(Apche Modules Develop)的文章,觉得有些用处,先保留下来,也供大家一起参考。
Writing Apache modules
Apache, like many other successful open source projects has a modular architecture. This means that to add or modify functionality you do not need to know the whole code base. Source code access for Apache means that you c...
No Comments »
2008年5月3日 13:15
在上一篇文章中,介绍了如何使用源码安装Apache2+Mysql5+PHP5,在安装完成后,还需要进行一些配置才能够使用。
In this lesson, we configure Apache and serve up a PHP page.
This document assumes:
FreeBSD is installed, and you followed the instructions from part 1 of this series
Apache 2.x and PHP 5.x are installed, and you followed the instructions from part 2 of this series.
This document also assumes that:
at least on...
No Comments »
2008年5月2日 17:14
虽然Freebsd下提供Ports安装软件的方式,但是由于Unix下常常出现的版本依赖问题,有可能导致安装最新版的软件时出错。不过还好,Freebsd还支持另一种安装软件的方式,那就是源码安装。下面就介绍一种使用源码编译安装Apache2+Mysql5+PHP5以及PHP扩展的方式。
Download Source
Get the latest source for:
Mysql
Apache
PHP
For each application, download the *.tar.gz source file.
No Comments »
2008年4月30日 21:03
虚拟主机是网站建设者常使用的一种方式,它的出现为许多中小网站带来福音,这些网站不必再自己购置昂贵的服务器,而可以和其他网站通过虚拟主机来共享一台服务器。
Apache是目前使用最为广泛的网站服务器软件,而Apache虚拟主机配置也十分简单,只需要几句简单的配置代码,即可实现虚拟主机功能。以下是一个例子,相信大家一看就能够明白的:
Example:
...
No Comments »