比这篇新的文章:
ArrayList的线程安全与不安全对比演示
比这篇旧的文章: 意见表数据变化的触发器
作者: 半瓶墨水, 点击664次, 评论(0), 收藏者(0), , 打分:
所有评论,共0条:( 我也来说两句)
比这篇旧的文章: 意见表数据变化的触发器
发芽网根目录的.htaccess
语言: ApacheConf, 标签: 无 2009/02/26发布 1年前更新作者: 半瓶墨水, 点击664次, 评论(0), 收藏者(0), , 打分:
ApacheConf语言: 发芽网根目录的.htaccess
01 AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript
02
03 #FastCGI
04 AddHandler fcgid-script .fcgi
05 RewriteEngine On
06
07 #Drop WWW Prefix
08 RewriteBase /
09 RewriteCond %{HTTP_HOST} ^www\.fayaa\.com$ [NC]
10 RewriteRule ^(.*)$ http://fayaa.com/$1 [L,R=301]
11
12 #Static Files
13 RewriteBase /
14 RewriteRule ^(static/.*)$ - [L]
15 RewriteRule ^(web/.*)$ - [L]
16 RewriteRule ^(bbs/.*)$ - [L]
17
18 #Django FastCGI Launch
19 RewriteCond %{REQUEST_FILENAME} !-f
20 RewriteRule ^(.*)$ t.fcgi/$1 [QSA,L]
21
22 #Sub Domains
23 RewriteCond %{HTTP_HOST} ^code.fayaa.com$ [OR]
24 RewriteCond %{HTTP_HOST} ^www.code.fayaa.com$
25 RewriteRule ^(.*)$ "http\:\/\/www\.fayaa\.com\/code\/" [R=301,L]
02
03 #FastCGI
04 AddHandler fcgid-script .fcgi
05 RewriteEngine On
06
07 #Drop WWW Prefix
08 RewriteBase /
09 RewriteCond %{HTTP_HOST} ^www\.fayaa\.com$ [NC]
10 RewriteRule ^(.*)$ http://fayaa.com/$1 [L,R=301]
11
12 #Static Files
13 RewriteBase /
14 RewriteRule ^(static/.*)$ - [L]
15 RewriteRule ^(web/.*)$ - [L]
16 RewriteRule ^(bbs/.*)$ - [L]
17
18 #Django FastCGI Launch
19 RewriteCond %{REQUEST_FILENAME} !-f
20 RewriteRule ^(.*)$ t.fcgi/$1 [QSA,L]
21
22 #Sub Domains
23 RewriteCond %{HTTP_HOST} ^code.fayaa.com$ [OR]
24 RewriteCond %{HTTP_HOST} ^www.code.fayaa.com$
25 RewriteRule ^(.*)$ "http\:\/\/www\.fayaa\.com\/code\/" [R=301,L]
所有评论,共0条:( 我也来说两句)
代码
