虽然网上有很多教程,但是我在这里进行简单对我用到的总结一下。加载Rewrite模块:在conf目录下httpd.conf中找到LoadModule
rewrite_module modules/mod_rewrite.so这句,去掉前边的注释符号“#”,或添加这句。.htacess文件,开头内容如下...
分类:
数据库 时间:
2014-04-30 02:25:42
阅读次数:
591
头文件中如下定义宏:/** * @brief 默认空间名(必填项) */#error
必填项#define DEFAULT_BUCKET @""/** * @brief 默认表单API功能密钥 (必填项) */#error 必填项#define
DEFAULT_PASSCODE @...
分类:
移动开发 时间:
2014-04-28 18:15:07
阅读次数:
684
一、错误情况环境:win7+iis7.0DirectoryEntry配置IIS7出现如下错误或者是下面一段代码在IIS6.0下运转正常,但IIS7.0下运转会出错:System.DirectoryServices.DirectoryEntryiisServer;iisServer
=newSyste...
分类:
其他好文 时间:
2014-04-28 17:53:29
阅读次数:
464
所需工具1.Windows 7 32 Bit OS(你懂的)2.Apache Hadoop
2.2.0-bin(hadoop-2.2.0.tar.gz)3.Apache Hadoop
2.2.0-src(hadoop-2.2.0-src.tar.gz)3.JDK 1.74.Maven 3.2.1(a...
分类:
Windows程序 时间:
2014-04-28 08:33:25
阅读次数:
1187
3.1 Installing mod_pythonTo install mod_python,
we simply run:yum install mod_python3.2 Configuring ApacheNow we must configure
Apache so that it can ...
分类:
编程语言 时间:
2014-04-28 04:52:46
阅读次数:
735
首先了解http和https: HTTPS(Secure Hypertext Transfer
Protocol)安全超文本传输协议。 HTTPS和HTTP的区别: http是超文本传输协议,信息是明文传输,https 则是具有安全性的ssl加密传输协议
http和https使用的是...
分类:
其他好文 时间:
2014-04-28 02:48:33
阅读次数:
496
IOS 通过ip地址获取当前城市的编号 //解析网址通过ip 获取城市天气代码 NSURL *url
= [NSURL URLWithString:@"http://61.4.185.48:81/g/"]; // 定义一个NSError对象,用于捕获错误信息
NSError *error; NSS....
分类:
移动开发 时间:
2014-04-28 02:36:49
阅读次数:
832
系统是ubuntu12.04一、安装apachesudo apt-get install
apache启动:sudo apachectl start (开机默认启动的)重启:sudo apachectl restart关闭:sudo
apachectl stop安装之后在浏览器中访问127.0.0....
分类:
系统相关 时间:
2014-04-27 23:57:43
阅读次数:
742
ubuntu下安装tomcat 问题解决方法
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/catalina/startup/Bootstrap : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)...
分类:
其他好文 时间:
2014-04-27 20:39:23
阅读次数:
595
Servlet上传文件
1、准备工作
(1)利用FileUpload组件上传文件,需要到apache上下载commons-fileupload-1.3.1.jar
下载地址:http://commons.apache.org/fileupload/
(2)由于文件上传还得有IO流传输,需要到apache上下载commons-io-2.4.jar...
分类:
其他好文 时间:
2014-04-27 18:54:57
阅读次数:
595