104的小美工作家-找工作也可以試試喔!

2010年7月5日 星期一

Apache Mod_rewrite 開啟方式

<body ONDRAGSTART="window.event.returnValue=false" onSelectStart="event.returnValue=false" ONCONTEXTMENU="window.event.returnValue=false" >

修改Apache 設定檔

將底下模組的#拿掉
LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c

修改.htaccess 設定值,將其設定為 All
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All

沒有留言: