注:/usr/local/apache/为Apache的安装路径,/opt/httpd-2.0.55/为Apache的源代码目录。

  Linux下,执行以下命令为Apache添加mod_expires模块:
/usr/local/apache/bin/apxs -i -a -c /opt/httpd-2.0.55/modules/metadata/mod_expires.c

  报错:
引用
Warning!  dlname not found in /usr/local/apache/modules/mod_expires.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache/modules/mod_expires.so
chmod: 无法访问‘/usr/local/apache/modules/mod_expires.so’: 没有那个文件或目录
apxs:Error: Command failed with rc=65536

  再执行:
gcc -shared -o /usr/local/apache/modules/mod_expires.so /opt/httpd-2.0.55/modules/metadata/mod_expires.o
/usr/local/apache/bin/apxs -i -a -c /opt/httpd-2.0.55/modules/metadata/mod_expires.c

  编译成功。


Tags: , ,



技术大类 » Web服务器 | 评论(45) | 引用(0) | 阅读(50057)
lady Email Homepage
2024-10-7 14:55
An interesting discussion worth commenting on. I think you should write more on this topic spanish dictionary, it may not be a taboo subject but generally people are not qualified to talk about such topics. On to the next part. Cheers temple run
tannurawat Email Homepage
2026-1-9 14:38
The lively atmosphere of Lucknow draws in travelers from across India. However, if you aren't with a beautiful Lucknow Call Girl, what’s the reason to be here? Imagine you're going to this bustling city with a companion. She possesses the skill to transform your experience into something truly extraordinary! At this moment, you will find a strong demand for Lucknow call girls.
suman Email
2026-2-23 16:14
A absolutely attentive Noida Escorts is conscious that region isn't always quite a great deal comfort, however approximately how relaxed you revel in inside the ones partitions. The interaction unfolds with grace, diffused attraction, and emotional cognizance.
callgirl1 Email Homepage
2026-3-6 03:31
If you are searching for cheap call girls in Lucknow without compromising on erotic romance services, Call Girl 1 is the right choice. Our call girls for sex in Lucknow are horny, sexually presentable, and erotically experienced in providing lustful call girl services tailored to your sexual fantasies and expectations.<a href="https://callgirl1.com/">Lucknow Call Girl</a> | <a href="https://callgirl1.com/call-girls-in-gomti-nagar/">Gomti nagar Call Girls</a> | <a href="https://callgirl1.com/call-girls-in-indira-nagar/">escort service Indira Nagar</a> | <a href="https://callgirl1.com/call-girls-in-mahanagar/">Mahanagar escort</a> | <a href="https://callgirl1.com/call-girls-in-charbagh/">escort service in Charbagh</a> | <a href="https://callgirl1.com/call-girls-chinhat/">Call Girls in Chinhat</a> | <a href="https://callgirl1.com/call-girl-near-kamta/">escort service in Kamta</a> | <a href="https://callgirl1.com/call-girl-in-pgi/">escort service PGI</a> | <a href="https://callgirl1.com/hazratganj-call-girl-service/">Hazratganj escort service</a> | <a href="https://callgirl1.com/call-girls-near-munshipulia/">Call Girl in Munshipulia</a>
daerdy Email Homepage
2026-3-6 05:48
Looking for a reliable and direct call girl WhatsApp number in Lucknow? You’re in the right place. Mypreeti.com provides you with verified, real, and instantly available contact options for stunning call girls who are ready to fulfill your every desire. call girls lucknowhttps://mypreeti.com/
分页: 3/3 第一页 上页 1 2 3 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]