1. 安装配置Apache2. 安装wsgi_mod模块3. 开放相应端口vim /etc/sysconfig/iptables# Firewall configuration written by system-config-firewall# Manual customization of th...
分类:
Web程序 时间:
2014-11-23 18:56:24
阅读次数:
168
apache2.4 安装出现如下错误
```
[lzz@localhost httpd-2.4.10]$ ./configure
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking for grep that handles long lines and -e....
分类:
Web程序 时间:
2014-11-23 00:44:13
阅读次数:
255
2.4.7的apache就是坑爹,配置文件多而散(英文能力差,蛋疼),没有httpd.conf文件,只有apache2.conf,和网上教程有出入,搞了好久都没解决服务器运行cgi程序的问题,最后果断选择了2.2.2版本,全部配置修改集中在httpd.conf文件中,而且,启动方便,完美运行cgi,...
分类:
Web程序 时间:
2014-11-21 13:56:07
阅读次数:
186
指定php目录,和加载2个curl的依赖项。
此时,重启apache发现还是没能加载curl。
后来不经意发现,apache和php编译的vc类型不同。
全部统一成vc9编译的对应版本后,再次配置,然后顺利加载curl。
分类:
Web程序 时间:
2014-11-19 22:01:38
阅读次数:
241
如果安装后没有makeclean过,可以使用以下命令查看安装apache时的configure参数:cat/usr/local/apache2/build/config.nice如果apache的安装路径不是/usr/local/apache2,则需要先找到config.nice文件find/-nameconfig.nice
分类:
Web程序 时间:
2014-11-19 16:17:41
阅读次数:
203
基本的操作方法:本文假设你的apahce安装目录为/usr/local/apache2,这些方法适合任何情况apahce启动命令:推荐/usr/local/apache2/bin/apachectl start apaceh启动apache停止命令/usr/local/apache2/bin/apa...
分类:
Web程序 时间:
2014-11-19 14:07:42
阅读次数:
229
前言ZXing(Github镜像地址)是一个开源的条码生成和扫描库(开源协议为Apache2.0)。它不但支持众多的条码格式,而且有各种语言的实现版本,它支持的语言包括:Java, C++, C#, Objective-C, ActionScript和Ruby。我上周在iOS项目开发中使用了ZXin...
分类:
移动开发 时间:
2014-11-19 12:06:01
阅读次数:
291
今天在网上发现了一个很好用的管理Ubuntu下开关启动的软件,叫做sysv-rc-conf使用命令行:tf@ubuntu:/etc/apache2$ sudo update-rc.d -f apache2 remove Removing any system startup links for /e...
分类:
Web程序 时间:
2014-11-19 10:39:16
阅读次数:
194
今晚玩了下apache的重写规则,发现一些被容易忽略的细节,分享一下。首先,说明一下实例环境的其他相关配置:documentRoot /var/www/html.htaccess的放置路径 /var/www/html/L-Production/public1、替换规则的“绝对”和“相对”,例如:.....
分类:
数据库 时间:
2014-11-18 23:42:40
阅读次数:
410
打开vi/usr/local/apache2/conf/httpd.conf找到下面两项把注释去掉LoadModulecgid_modulemodules/mod_cgid.s0LoadModuleactions_modulemodules/mod_actions.so3.重启apache/usr/local/apache2/bin/apachectlrestart
分类:
移动开发 时间:
2014-11-18 16:08:56
阅读次数:
156