06.04.08
Posted in 实验室, Apache, FreeBSD/Unix服务器 at 14:19 由 仲远
标签:
Apache,
Freebsd/Unix服务器,
Visual C++ 2005,
实验室,
编译
虽然Unix有着许许多多的很不好使的地方,但是起码在一点——“Apache的编译”问题上,Unix展现着Windows无法比拟的优势与便捷。
之前使用Unix下的源码安装过apache,几行命令就完全搞定Apache的编译与安装,没有遇到任何错误与问题。而在Unix下编写一个新的Module,也只要几行命令就能够成功编译。但是在Windows下编译Apache就没那么容易了。使用Visual C++ 2005进行编译,还需要...查看全文
Permalink
05.14.08
Posted in Apache, FreeBSD/Unix服务器 at 20:16 由 仲远
标签:
301,
302,
Apache,
Freebsd/Unix服务器,
URL转发,
同一网站,
多个域名,
重定向
现在许多域名注册商都会为注册后的域名提供一些增值服务,其中很重要的一项就是url转发功能,包括url隐藏转发和url不隐藏转发。这两者的区别在于url隐藏转发能够在浏览器到地址栏保持用户输入的域名,而不隐藏转发则会显示实际跳转后的域名。这一功能使得同一个网站拥有多个域名的用户方便许多。不过在实际使用中,对于一些重视搜索引擎优化的人需要注意,使用...查看全文
Permalink
05.13.08
Posted in 转载, Apache, FreeBSD/Unix服务器 at 23:53 由 仲远
标签:
Apache,
Content filter,
Develop,
Freebsd/Unix服务器,
Module,
模块开发,
转载
最近在持续研究Apache服务器的模块开发。在模块开发中,有一个很重要的方面就是对内容进行处理,包括请求的内容与返回的内容。Apache本身带了一个Module,能够对输出内容进行过滤。原来一直没有发现,直到看到下面这篇文章才恍然大悟。谢谢文章的作者Linux_prog先生~在加上apache的tutor网站上的内容http://www.apachetutor.org/dev/smart-filter,应该能够对Apache内容处理方面的模块开...查看全文
Permalink
05.11.08
Posted in 实验室, Apache, FreeBSD/Unix服务器 at 18:52 由 仲远
标签:
Apache,
Freebsd/Unix服务器,
Spiders,
实验室,
搜索引擎,
网络爬虫,
蜘蛛
搜索引擎是人们再熟悉不过的工具,它将Internet上的信息索引起来,方便人们在海量数据中迅速查找有用的信息。而搜索引擎公司,国外以Google为代表,国内以百度为代表,成为互联网上举足轻重的公司,其访问量也远远超过传统门户网站,成为网民最离不开的网络服务。而遇到问题“Google一下”或者“百度一下”也成为人们日常生活中的习惯。
而对于网站建设者而言...查看全文
Permalink
05.10.08
Posted in 实验室, Apache, FreeBSD/Unix服务器 at 23:16 由 仲远
标签:
Apache,
Develop,
Freebsd/Unix服务器,
Module,
Request Processing,
实验室,
模块开发
最近持续在研究Apache的模块开发,为在Apache上的实验做准备。以下是介绍Apache Module中处理请求的过程,以及如何加入请求处理挂钩以及响应处理挂钩。尤其是几张图,很清晰地解释了Apache处理请求以及返回结果的框架。只是这篇文章主要从概念上介绍,没有实际可用的代码,仅帮助开发人员理解之用。
Request Processing in Apache
Processing HTTP requests is central to most web applic...查看全文
Permalink
05.09.08
Posted in 实验室, Apache, FreeBSD/Unix服务器 at 23:05 由 仲远
标签:
Apache,
Develop,
Freebsd/Unix服务器,
Module,
例子,
实验室,
模块开发
这是一篇介绍为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.
查看全文
Permalink
05.07.08
Posted in 实验室, Apache, FreeBSD/Unix服务器 at 22:40 由 仲远
标签:
Apache,
Develop,
Freebsd/Unix服务器,
Module,
实验室,
模块开发
最近需要在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...查看全文
Permalink
05.03.08
Posted in PHP, Apache, FreeBSD/Unix服务器 at 13:15 由 仲远
标签:
Apache,
Freebsd/Unix服务器,
PHP,
源代码安装
在上一篇文章中,介绍了如何使用源码安装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...查看全文
Permalink
05.02.08
Posted in PHP, Apache, FreeBSD/Unix服务器 at 17:14 由 仲远
标签:
Apache,
Freebsd/Unix服务器,
PHP,
源代码安装
虽然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.
查看全文
Permalink
04.30.08
Posted in Apache at 21:03 由 仲远
标签:
Apache,
虚拟主机
虚拟主机是网站建设者常使用的一种方式,它的出现为许多中小网站带来福音,这些网站不必再自己购置昂贵的服务器,而可以和其他网站通过虚拟主机来共享一台服务器。
Apache是目前使用最为广泛的网站服务器软件,而Apache虚拟主机配置也十分简单,只需要几句简单的配置代码,即可实现虚拟主机功能。以下是一个例子,相信大家一看就能够明白的:
Example:
...查看全文
Permalink
Pages (3):
[1] 2 3 »