怎么把一个目录排除在htaccess规则之外
比如 所有子目录的文件全部做伪静态
而管理目录不需要~ 把它排除~
RewriteRule ([a-zA-Z0-9]*)/([a-zA-Z0-9]*)\.html $1/$2\.php
部落格文章訂閱
貧窮不能等,因為時間久了,你就會貧窮習慣了;
夢想不能等,因為努力晚了,人老就無能為力了;
學習不能等,因為懂得少了,就沒本事夢想成真了;
健康不能等,因為身體垮了,人生的一切就都沒了。
找不到想要的文章嗎? 請直接再下面的搜尋框裡輸入要查詢文章內容關鍵字 ,就能夠更快速的取得想要閱讀的問題喔~~謝謝大家的支持與愛護~若有任何建議事項, 歡迎透過留言板留言給我喔!!
- May 10 Thu 2012 15:45
[轉貼] 怎么把一个目录排除在htaccess规则之外
- May 10 Thu 2012 12:35
推薦一看的影片, 甚麼是愛情?
- Apr 27 Fri 2012 17:53
低頭一族的你(妳),抬頭看看這個世界吧~
你(妳) 也是低頭一族嗎? 放下手邊的行動裝置, 關心身邊的朋友吧 ^.^
很推薦的一部影片, 描寫現在人的低頭族生活, 有興趣的朋友就看看吧~
- Apr 24 Tue 2012 13:10
[工商廣告] 股市期貨免費講座-群益證卷王潔馨
- Apr 22 Sun 2012 23:26
[轉貼] 煲湯食譜大全
煲湯食譜大全
鴨梨南北杏瘦肉湯
用料: 新鮮鴨嘴梨三個,瘦肉十兩(約四百克),南北杏共一兩(約四十克),花生油,鹽各少許,清水十二碗
做法: (1) 鴨嘴梨洗淨,去皮除心;南北杏洗淨,瘦肉原塊洗淨備用. (2) 燒滾清水,下豬肉、梨和杏仁,旺火燒至大滾,改中火以至文火,煲約二小時即成.
- Apr 21 Sat 2012 09:47
[轉帖] How to Backup Linux? 15 rsync Command Examples
rsync stands for remote sync.
rsync is used to perform the backup operation in UNIX / Linux.
rsync utility is used to synchronize the files and directories from one location to another in an effective way. Backup location could be on local server or on remote server.
Important features of rsync
- Speed: First time, rsync replicates the whole content between the source and destination directories. Next time, rsync transfers only the changed blocks or bytes to the destination location, which makes the transfer really fast.
- Security: rsync allows encryption of data using ssh protocol during transfer.
- Less Bandwidth: rsync uses compression and decompression of data block by block at the sending and receiving end respectively. So the bandwidth used by rsync will be always less compared to other file transfer protocols.
- Privileges: No special privileges are required to install and execute rsync
Syntax
$ rsync options source destination
Source and destination could be either local or remote. In case of remote, specify the login name, remote server name and location.
- Mar 28 Wed 2012 17:00
[轉貼] How to detect IE version using JavaScript
The following JavaScript is used to detect the Internet Explorer version 8, 7 or 6. It’s returned -1 if the browser is not Internet Explorer.
function getInternetExplorerVersion() // Returns the version of Windows Internet Explorer or a -1 // (indicating the use of another browser). { var rv = -1; // Return value assumes failure. if (navigator.appName == 'Microsoft Internet Explorer') { var ua = navigator.userAgent; var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})"); if (re.exec(ua) != null) rv = parseFloat( RegExp.$1 ); } return rv; } function checkIEVersion() { var msg = "You're not using Windows Internet Explorer."; var ver = getInternetExplorerVersion(); if ( ver> -1 ) { if ( ver>= 8.0 ) msg = "You're using Windows Internet Explorer 8."; else if ( ver == 7.0 ) msg = "You're using Windows Internet Explorer 7."; else if ( ver == 6.0 ) msg = "You're using Windows Internet Explorer 6."; else msg = "You should upgrade your copy of Windows Internet Explorer"; } alert( msg );
Reference
http://msdn.microsoft.com/en-us/library/cc817582.aspx
http://www.mkyong.com/javascript/how-to-detect-ie-version-using-javascript/
- Mar 28 Wed 2012 16:58
[轉貼] Tab key == 4 spaces and auto-indent after curly braces in VIM
Q:
How do I make Vi-Vim never use tabs (converting spaces to tabs, bad!), makes the tab key == 4 spaces, and automatically indent code after curly brace blocks like emacs does?
Also, how do I save these settings so I never have to input them again.
I've seen other questions related to this but it always seems to be a little off from what I want.
- Mar 25 Sun 2012 12:11
每天自我激勵 - 來自Youtube
- Mar 20 Tue 2012 11:45
[轉貼] focus & key board listner problem in cell table in gwt
Question:
I have one small problem i.e. one textbox is their when click on the text box the popup is shows below the text box.The popup contains celltable
i write keypresslisner for textbox when i press Down And UP arrow the focus is set to be cellTable And also we still press down and up arrows its highlites the rows in celltable
Ans:
- Mar 16 Fri 2012 15:13
[轉貼] Remove Trend Micro Usb Security from Transcend Memory Stic (移除創見隨身碟的Trend Micro USB Security )
I bought a Transcend memory stick and tried to use it in my mac. The stick is described as compatible to OS X but I was not able to use the stick out of the box.
This is caused by the stupid software which is installed on my stick. First of all the stick is write protected and Transcend installed a Trend Micro Virus Scanner which is mounted as CD drive.
The removal of this combination took hours of my time.
After searching around i found the solution on seasonsecurity.com where it is described in this thread>>
- Mar 15 Thu 2012 22:10
get Minimum or Maximum value in Java array
Q: How to get Minimum or Maximum value in Java array?
A:
public static int getMaxValue(int[] numbers){
int maxValue = numbers[0];
- Feb 12 Sun 2012 02:34
[Java] 取得螢幕寬度
Java如何取得營幕寬度?
import java.awt.Toolkit;
import java.awt.Dimension;
Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();
- Feb 08 Wed 2012 04:14
[Flex] about namespace 2.6 issue
Q:
Namespace 2.6 in the application descriptor file should be equal or higher than the minimum version 3.1 required by Flex SDK ????
A:
you need to replace <application xmlns="http://ns.adobe.com/air/application/2.6"> to <application xmlns="http://ns.adobe.com/air/application/3.1"> inside *-app.xml file.
- Feb 04 Sat 2012 00:33
[轉帖] 对于MySQL使用 GROUP_CONCAT 函数 的方式进行处理(非常简单)