分类 教程 下的文章

sae全程Sina App Engine,真是一个好东西,他有很多优秀的特性,简单来说SAE就是一个简单高效的分布式Web服务开发、运行平台。
支持现在常用的 php+mysql环境,在开发中难免会碰到项目需要做url rewrite(伪静态),然而sae不支持 apache 下的.htaccess 。不过不要难过,sae提供了自己的rewrite方式,本文我们就对sae的rewrite做个介绍,希望需要的同志能快速根据自己需求写想要的规则

- 阅读剩余部分 -

[root@linux ~]# vi /etc/ssh/sshd_config

# $OpenBSD: sshd_config,v 1.69 2004/05/23 23:59:53 dtucker Exp $
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
# This sshd was compiled with PATH=/usr/local/bin:/bin:/usr/bin
# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options change a
# default value.
Port 8181 //以前这个前面是有 # 号的,而且默认是 22 ,修改成你喜欢的就ok了
#Protocol 2,1
#ListenAddress 0.0.0.0
#ListenAddress ::
# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key

打开配置文件-httpd-conf,
查找
将其下面的AllowOverride None
改为:AllowOverride All
然后查找:Options FileInfo AuthConfig Limit
将其下面的AllowOverride None也改为AllowOverride All
保存后,重启Apache
然后在自己本地论坛的根目录下,添加.htacces文件,在里面添加Rewrite的伪静态规则。然后再次重启Apache,再打开论坛看看,已经完美支持伪静态了