
###############################################################################
###	Apache Web Serverû
###############################################################################

###	ڿʼ֮ǰѯĿռ
###	ռǷ֧ Rewrite ԼǷֶ֧վĿ¼ .htaccess ļ
###	򼴱㰴ķúˣҲ޷ʹ

###	 RewriteEngine ģʽ
RewriteEngine On

###	޸е /supesite ޸ΪSupeSiteĿ¼ַڸĿ¼У뽫 /supesite ޸Ϊ /
RewriteBase /supesite

###	Rewrite ϵͳ޸
RewriteRule ^action/(.+?)/index\.html$ index.php?action/$1/index.html
RewriteRule ^itemid/(.+?)/index\.html$ index.php?action/viewspace/itemid/$1/index.html
RewriteRule ^([0-9]+)/index\.html$ index.php?action/space/uid/$1/index.html
RewriteRule ^([0-9]+)/tplid/(.+?)/index\.html$ index.php?action/space/uid/$1/tplid/$2/index.html
RewriteRule ^([0-9]+)/(.+?)/index\.html$ index.php?action/spacelist/uid/$1/$2/index.html
RewriteRule ^index\.html$ index.php

###	ʱʾ޸SupeSiteڵ·
###	Ȼ󱣴档 .htaccess ļϴSupeSiteڵĿ¼
###	SupeSite ϵͳãҪ URL ̬ 

###############################################################################
#	Apache Web Serverû
###############################################################################

###	ȷʹõ Apache 汾Ƿ mod_rewrite ģ顣 
###	Apache 1.x û conf/httpd.conf Ƿδ룺 
###	LoadModule rewrite_module     libexec/mod_rewrite.so
###	AddModule mod_rewrite.c
###	Apache 2.x û conf/httpd.conf Ƿһδ룺 
###	LoadModule rewrite_module     modules/mod_rewrite.so
###	ڣôļͨ conf/httpd.confм´
###	ʱע⣬վʹͨ
###	ؼӵã <VirtualHost> ȥⲿ޷ʹ
###	ĺúȻ Apache  

#<IfModule mod_rewrite.c>
#RewriteEngine On
###	޸е /supesite ޸ΪSupeSiteĿ¼ַڸĿ¼У뽫 /supesite ޸Ϊ /
#RewriteRule ^/supesite/action/(.+?)/index\.html$ /supesite/index.php?action/$1/index.html
#RewriteRule ^/supesite/itemid/(.+?)/index\.html$ /supesite/index.php?action/viewspace/itemid/$1/index.html
#RewriteRule ^/supesite/([0-9]+)/index\.html$ /supesite/index.php?action/space/uid/$1/index.html
#RewriteRule ^/supesite/([0-9]+)/tplid/(.+?)/index\.html$ /supesite/index.php?action/space/uid/$1/tplid/$2/index.html
#RewriteRule ^/supesite/([0-9]+)/(.+?)/index\.html$ /supesite/index.php?action/spacelist/uid/$1/$2/index.html
#RewriteRule ^/supesite/index\.html$ /supesite/index.php
#</IfModule>

###	ûаװ mod_rewrite± Apache
###	ԭ configure м --enable-rewrite=shared
###	Ȼ Apache ļм뼴ɡ

