[英]mod rewrite in apache server and htaccess file
Apache服務器中的mod_rewrite.so
和mod_rewrite.c
什么區別? 在.htaccess文件中,我們也應該編寫mod_rewrite.so
或mod_rewrite.c
嗎?
在Apache 2.x中,僅使用.so是正常的。 例如:
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
在Apache 1.x中,加載共享庫.so之后必須添加AddModule module.c
。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.