在前篇
boost::serialization 用基类指针转存派生类(错误多多,一波三折)文中我们都是使用serialize函数来实现序列化,其代码格式如下:
private:
friend class boost::serialization::access;
template
void serialize(Archive& ar, const unsigned int ...
分类:
其他好文 时间:
2014-05-10 09:09:19
阅读次数:
520
Yii在Nginx下的rewrite配置
今天配置nginx后首页显示正常,点击链接就报404错误,只是知道在apache下只要开启重定向模块,再nginx下加上如下配置即可:
1. Nginx配置
在nginx.conf的server {段添加类似如下代码:
Nginx.conf代码:
location / {
if (!-e $request_filename){...
分类:
其他好文 时间:
2014-05-07 08:43:02
阅读次数:
449
http://wiki.apache.org/hadoop/FAQ...
分类:
其他好文 时间:
2014-05-07 07:51:10
阅读次数:
229
最近看boost的时候总是遇见这个eval_if,不知道啥意思,就没法看下去了,比如
前篇文章boost::serialization 拆分serialize函数分析时就出现这样一段代码:
template
inline void split_member(Archive & ar, T & t, const unsigned int file_version)
{
typedef BOOS...
分类:
其他好文 时间:
2014-05-07 06:21:14
阅读次数:
556
在win8系统中安装appserv后,如果apache2服务没有安装成功,在安装目录下的Apache2.2中手动执apache_servicefix.bat或者apache_serviceinstall.bat,但是直接执行会提示拒接访问,如果以管理员执行又提示找不到文件,仔细看DOS控制台的输出,发现直接双击执行和以管理员身份执行,路径不一样.所以双击执行能找到但权限不够,无法安装.以管理员身份...
分类:
移动开发 时间:
2014-05-07 06:02:19
阅读次数:
343
1、ofbiz单点登录介绍
ofbiz点单登录是集成了CAS
SSO,LDAP使用的,具体的CAS与LDAP怎么应用,在这里不做介绍。
2、ofbiz
点单登录文档
ofbiz 12版本中,有英文的简单的ofbiz单点登录的问题。
路径在:apache-ofbiz-12.04.01\framework\documents\Si...
分类:
其他好文 时间:
2014-05-07 06:01:41
阅读次数:
398
Apache
Access Control
访问控制...
分类:
其他好文 时间:
2014-05-07 03:56:02
阅读次数:
300
AssertionError继承Error,提供了多个构造方法,代码如下:
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this w...
分类:
其他好文 时间:
2014-05-07 03:20:22
阅读次数:
579
做项目时遇到这样的需求,希望能打印出最终数据库执行的SQL语句,一般遇到这些有一定通用性的问题,我都会到Appfuse中去找找例子,结果这次没有成功。它是有相关的配置,但是好像没有用,我也就没有深查下去,我想这种问题网上肯定有人遇到过,只要找到这个人就行了。经过换不同的关键字,我最后找到了如下的配置。
log4j.appender.stdout=org.apache.log4j.Consol...
分类:
数据库 时间:
2014-05-06 14:49:26
阅读次数:
376