How To Enable / Use .htaccess / Nice permalinks in Apache Web Server on Windows如何啟用/使用。 htaccess的/尼斯永久在Apache Web服務器在Windows
.htaccess is a web server directive file populalrly used in Apache Web Server in Linux / Unix environment. 。 htaccess的是一個Web服務器的指令文件populalrly使用的Apache網絡服務器在Linux / UNIX環境。 In windows environment there is a simple way to enable and use .htaccess.在Windows環境下有一個簡單的方法來啟用和使用。 htaccess的。 Additionally it allows you to create nice permalinks for software like WordPress or phpBB.此外,它可讓您創造尼斯永久性的軟件一樣,在WordPress或phpbb 。
To use .htaccess you need to enable mod_rewrite.使用。 htaccess的您需要啟用mod_rewrite 。 Even with that I didn’t have much success when I separately installed apache web server and php.甚至與我沒有多大的成功,當我分別安裝Apache Web服務器和PHP 。 However if you install XAMPP it is a piece of cake.不過,如果您安裝xampp ,它是一塊蛋糕。
XAMPP automatically installs Apache web server, MySQL database, PHP and a lot of other goodies. xampp自動安裝Apache網絡服務器, MySQL數據庫, PHP和很多其他的東東。 It does not however come with mod_rewrite enabled.它不來,但與mod_rewrite啟用。 Let us assume you installed XAMPP in %XAMPP% directory.讓我們假設您安裝了xampp在% xampp %目錄。 Then you should open %XAMPP%\apache\conf\httpd.conf in notepad and search for mod_rewrite.那麼你應該打開% xampp % \阿帕奇\設置\ httpd.conf中在記事本和搜索mod_rewrite 。 You will find a line like:你會發現一條線,例如:
#LoadModule rewrite_module modules/mod_rewrite.so # loadmodule rewrite_module模塊/ mod_rewrite.so
Remove the # from the beginning.刪除編號從一開始。 It will now look:它現在將看看:
LoadModule rewrite_module modules/mod_rewrite.so loadmodule rewrite_module模塊/ mod_rewrite.so
Restart the Apache web server through XAMPP control panel.重新啟動Apache Web服務器,通過xampp控制面板。 You are done!你這樣做!
Filed under提起下 CMS Software CMS軟件 , , Headline News頭條新聞 , , How To如何 , , Microsoft微軟 , , Open Source Software開放源碼軟件 , , Pro Blogging贊成Blogging , , Tech Note技術說明 , , Technology技術 , , Web網頁 , , Web Hosting虛擬主機 , , Web Services Web服務 , , Windows在Windows | |
| |
RSS 2.0 2.0 | |
Trackback Trackback跟踪 this Article |此文章|
Email this Article電子郵件此文章
You may also like to read您也可以想讀 |




October 30th, 2006 at 2:52 am 2006年10月30日在上午02時52分
[...] XDForum (example: Anaconda Forum) is a nice basic forum software which works seamlessly with WordPress blogs (download our free theme and plugins). [ … … ] xdforum (例如: Anaconda論壇)是一個很好的基本論壇軟件工程無縫與WordPress Blogs的(下載我們免費的主題和插件) 。 Unfortunately it works out-of-the-box with default permalinks only.可惜作品- - -框默認永久只。 Most site today use nice permalinks.大多數網站今天尼斯永久使用。 This mini-tutorial will teach you how to use XDForum with nice permalinks (how to enable; tips and more).這個迷你補習社會教你如何使用xdforum與尼斯的永久(如何啟用;提示和更多) 。 [...] [ … … ]
April 15th, 2007 at 8:31 am 2007年4月15日在上午8時31分
Wanted to test some想測試一些 htaccess tips htaccess的秘訣 (they’re fine) and had exactly that problem on my machine with XAMPP–thank you! (它們還可以罰款) ,並已正是這個問題對我機與xampp -謝謝!
August 4th, 2007 at 1:46 pm 2007年8月4日在下午1時46分
Thanks a lot for the tip.感謝了很多為小費。
November 26th, 2007 at 8:21 am 2007年11月26日在上午8時21分
Thanks, I was just reinstall my PC and try to deploy some of the application for my linux box to windows and found that it not working correctly.謝謝您,我只是重新安裝我的電腦,並嘗試部署一些應用,為我的Linux方塊到Windows ,發現它工作不正常。 It thought that XAMPP will be in the same configuration for both boxes.它認為, xampp將在同樣的配置為兩個框。 Turn on mod_rewrite make everything back on track.反過來對mod_rewrite ,使一切回到正軌。