久久精品水蜜桃av综合天堂,久久精品丝袜高跟鞋,精品国产肉丝袜久久,国产一区二区三区色噜噜,黑人video粗暴亚裔

Gallery: 在Windows Server2003和Apache上的安裝:修訂間差異

來自站長百科
跳轉(zhuǎn)至: 導航、? 搜索
無編輯摘要
第1行: 第1行:
This is just a placeholder for now.
目前為占位之用。


= Using Apache =
= 使用Apache =
==mod rewrite==
==mod rewrite==
*For mod-rewrite to work I had to do the most stuff. But all the alterations are mod-rewrite and Apache specific. They have nothing to do with G2. However, the G2 test told me that Apache Mod-rewrite worked correctly. But when I went into my galleries all URL's were broken. So the test is for this moment not adequate enough on Win32. Things I had to alter in my setup to make url rewriting work:
*要讓mod-rewrite起效,我必須完成大部分的工作。但所有的變更都是mod-rewrite及Apache特定的,它們與G2無關。不過G2測試卻告訴我Apache Mod-rewrite能夠正常運行。但當我登入gallery后,所有URL的重寫都被破壞了。因此目前此測試在Win32上還不夠可靠。我需要在安裝中進行修改的東西如下,這樣我才能讓url重寫起效:


*This step I had done already before the G2 test of url-rewriting. After this step the test gave me green light, however it did not work yet. enable the mod_rewrite.so module in httpd.conf by removing the # in front of
*這一步我在G2 url重寫測試之前就完成了。在此步完成顯示正常,但卻無法工作。在httpd.conf 中通過移除LoadModule rewrite_module modules/mod_rewrite.so 之前的#來啟用mod_rewrite.so模塊。
LoadModule rewrite_module modules/mod_rewrite.so ?


*Enable symlinks for the gallery2 dir in httpd.conf. My rather unrestrictive options for that dir are: Options IncludesNOEXEC Indexes MultiViews FollowSymLinks ExecCGI ?
*為httpd.conf中的gallery dir啟用符號鏈接。對此dir,非限制性選項是:Options IncludesNOEXEC Indexes MultiViews FollowSymLinks ExecCGI ?


*Add a rewrite log in httpd.conf to see what is happening:
*在httpd.conf中添加一個重寫日志來看看發(fā)生了什么:
RewriteLog "C:/Program Files/Apache Group/Apache2/logs/rewrite.log" ?
RewriteLog "C:/Program Files/Apache Group/Apache2/logs/rewrite.log" ?


*Restart the Apache service.
*重啟Apache服務。


[[Category:Gallery 2:Installation|Windows Server 2003 and Apache]]
[[Category:Gallery 2:Installation|Windows Server 2003 and Apache]]

2008年11月25日 (二) 10:48的版本

目前為占位之用。

使用Apache

mod rewrite

  • 要讓mod-rewrite起效,我必須完成大部分的工作。但所有的變更都是mod-rewrite及Apache特定的,它們與G2無關。不過G2測試卻告訴我Apache Mod-rewrite能夠正常運行。但當我登入gallery后,所有URL的重寫都被破壞了。因此目前此測試在Win32上還不夠可靠。我需要在安裝中進行修改的東西如下,這樣我才能讓url重寫起效:
  • 這一步我在G2 url重寫測試之前就完成了。在此步完成顯示正常,但卻無法工作。在httpd.conf 中通過移除LoadModule rewrite_module modules/mod_rewrite.so 之前的#來啟用mod_rewrite.so模塊。
  • 為httpd.conf中的gallery dir啟用符號鏈接。對此dir,非限制性選項是:Options IncludesNOEXEC Indexes MultiViews FollowSymLinks ExecCGI
  • 在httpd.conf中添加一個重寫日志來看看發(fā)生了什么:

RewriteLog "C:/Program Files/Apache Group/Apache2/logs/rewrite.log"

  • 重啟Apache服務。