<p style="line-height:25.2px;margin-top:0px;color:#494949;font-family:宋体;font-size:14px;white-space:normal;background-color:#FFFFFF;"> 利用<a target="_blank" href="http://www.phpernote.com/tag/.htaccess" style="color:#FF0000;">.htaccess</a>实现伪静态功能在web开发中应该是经常用到的,下面作者总结了一些比较常用的利用.htaccess实现伪静态的实例和大家分享。 </p> <p style="line-height:25.2px;margin-top:0px;color:#494949;font-family:宋体;font-size:14px;white-space:normal;background-color:#FFFFFF;"> (1)将 index.php 伪静态成为 index.html </p> <p style="line-height:25.2px;margin-top:0px;color:#494949;font-family:宋体;font-size:14px;white-space:normal;background-color:#FFFFFF;"> RewriteRule ^index\.html$ index.php </p> <p style="line-height:25.2px;margin-top:0px;color:#494949;font-family:宋体;font-size:14px;white-space:normal;background-color:#FFFFFF;"> (2)将 news/info.php?id=3 伪静态成为 news/info_3.html </p> <p style="line-height:25.2px;margin-top:0px;color:#494949;font-family:宋体;font-size:14px;white-space:normal;background-color:#FFFFFF;"> RewriteRule ^news/info_([0-9]{1,})\.html$ news/info.php?id=$1 </p> <p style="line-height:25.2px;margin-top:0px;color:#494949;font-family:宋体;font-size:14px;white-space:normal;background-color:#FFFFFF;"> (3)将 index.php?class_id=2&id=3 伪静态成为 2-3.html </p> <div id="highlighter_324988" class="syntaxhighlighter " style="width:734.578px;font-size:14px;border:1px solid #E7E5DC;color:#494949;white-space:normal;margin:1em 0px !important;padding:1px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:relative !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;min-height:auto !important;background:none #FFFFFF !important;"> <div class="bar " style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <div class="toolbar" style="margin:0px !important;padding:8px 8px 8px 0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:absolute !important;left:auto !important;top:0px !important;right:0px !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1px !important;min-height:auto !important;border-color:#E7E5DC !important;border-style:solid !important;border-width:0px 0px 1px 1px !important;background:none #F8F8F8 !important;"> <a href="http://www.phpernote.com/seo/788.html#viewSource" title="查看代码" class="item viewSource" style="color:#FF0000;width:16px;height:16px;display:block !important;float:left !important;margin-left:8px !important;overflow:hidden !important;text-indent:-5000px !important;background-image:url(" background-repeat:no-repeat>查看代码</a> <div class="item copyToClipboard" style="margin:0px 0px 0px 8px !important;padding:0px !important;outline:0px !important;float:left !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;overflow:visible !important;background:none !important;"> </div> <a href="http://www.phpernote.com/seo/788.html#printSource" title="打印" class="item printSource" style="color:#FF0000;width:16px;height:16px;display:block !important;float:left !important;margin-left:8px !important;overflow:hidden !important;text-indent:-5000px !important;background-image:url(" background-repeat:no-repeat>打印</a> </div> </div> <div class="lines" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <div class="line alt1" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background-image:none !important;background-attachment:initial !important;background-size:initial !important;background-origin:initial !important;background-clip:initial !important;background-position:initial !important;background-repeat:initial !important;"> <table style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <tbody style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <tr style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <td class="number" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:top !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:3em !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;color:#AFAFAF !important;background:none !important;"> <code style="margin:0px !important;padding:0px 0.3em 0px 0px !important;outline:0px !important;text-align:right !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:2.7em !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;display:block !important;background:none !important;">1</code> </td> <td class="content" style="margin:0px !important;padding:0px 0px 0px 0.5em !important;outline:0px !important;float:none !important;vertical-align:top !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;border-left-width:3px !important;border-left-style:solid !important;border-left-color:#6CE26C !important;background:none !important;"> <code class="plain" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;background:none !important;">RewriteRule ([0-9]{1,})-([0-9]{1,})\.html$ index.php?class_id=$1&id=$2</code> </td> </tr> </tbody> </table> </div> </div> </div> <p style="line-height:25.2px;margin-top:0px;color:#494949;font-family:宋体;font-size:14px;white-space:normal;background-color:#FFFFFF;"> ([0-9]{1,})-([0-9]{1,})\.html$是规则,index.php?action=$1&id=$2是要替换的url格式,$1代表第一个括号匹配的值,$2代表第二个,如此类推。 </p> <p style="line-height:25.2px;margin-top:0px;color:#494949;font-family:宋体;font-size:14px;white-space:normal;background-color:#FFFFFF;"> (4)将 tag.php?tag=php教程 或者 tag.php?tag=程序员 伪静态成为 tag/php教程 和 tag/程序员 </p> <div id="highlighter_626252" class="syntaxhighlighter " style="width:734.578px;font-size:14px;border:1px solid #E7E5DC;color:#494949;white-space:normal;margin:1em 0px !important;padding:1px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:relative !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;min-height:auto !important;background:none #FFFFFF !important;"> <div class="bar " style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <div class="toolbar" style="margin:0px !important;padding:8px 8px 8px 0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:absolute !important;left:auto !important;top:0px !important;right:0px !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1px !important;min-height:auto !important;border-color:#E7E5DC !important;border-style:solid !important;border-width:0px 0px 1px 1px !important;background:none #F8F8F8 !important;"> <a href="http://www.phpernote.com/seo/788.html#viewSource" title="查看代码" class="item viewSource" style="color:#FF0000;width:16px;height:16px;display:block !important;float:left !important;margin-left:8px !important;overflow:hidden !important;text-indent:-5000px !important;background-image:url(" background-repeat:no-repeat>查看代码</a> <div class="item copyToClipboard" style="margin:0px 0px 0px 8px !important;padding:0px !important;outline:0px !important;float:left !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;overflow:visible !important;background:none !important;"> </div> <a href="http://www.phpernote.com/seo/788.html#printSource" title="打印" class="item printSource" style="color:#FF0000;width:16px;height:16px;display:block !important;float:left !important;margin-left:8px !important;overflow:hidden !important;text-indent:-5000px !important;background-image:url(" background-repeat:no-repeat>打印</a> </div> </div> <div class="lines" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <div class="line alt1" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background-image:none !important;background-attachment:initial !important;background-size:initial !important;background-origin:initial !important;background-clip:initial !important;background-position:initial !important;background-repeat:initial !important;"> <table style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <tbody style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <tr style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <td class="number" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:top !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:3em !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;color:#AFAFAF !important;background:none !important;"> <code style="margin:0px !important;padding:0px 0.3em 0px 0px !important;outline:0px !important;text-align:right !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:2.7em !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;display:block !important;background:none !important;">1</code> </td> <td class="content" style="margin:0px !important;padding:0px 0px 0px 0.5em !important;outline:0px !important;float:none !important;vertical-align:top !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;border-left-width:3px !important;border-left-style:solid !important;border-left-color:#6CE26C !important;background:none !important;"> <code class="plain" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;background:none !important;">RewriteRule ^tag/(.*)$ tag.php?tag=$1</code> </td> </tr> </tbody> </table> </div> </div> </div> <p style="line-height:25.2px;margin-top:0px;color:#494949;font-family:宋体;font-size:14px;white-space:normal;background-color:#FFFFFF;"> (5)设置 404 跳转 </p> <p style="line-height:25.2px;margin-top:0px;color:#494949;font-family:宋体;font-size:14px;white-space:normal;background-color:#FFFFFF;"> ErrorDocument 404 http://www.phpernote.com/404.html </p> <p style="line-height:25.2px;margin-top:0px;color:#494949;font-family:宋体;font-size:14px;white-space:normal;background-color:#FFFFFF;"> (6)禁止直接访问web目录中的后缀名为 .bak .inc 的文件 </p> <div id="highlighter_7960" class="syntaxhighlighter " style="width:734.578px;font-size:14px;border:1px solid #E7E5DC;color:#494949;white-space:normal;margin:1em 0px !important;padding:1px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:relative !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;min-height:auto !important;background:none #FFFFFF !important;"> <div class="bar show" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <div class="toolbar" style="margin:0px !important;padding:8px 8px 8px 0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:absolute !important;left:auto !important;top:0px !important;right:0px !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1px !important;min-height:auto !important;border-color:#E7E5DC !important;border-style:solid !important;border-width:0px 0px 1px 1px !important;background:none #F8F8F8 !important;"> <a href="http://www.phpernote.com/seo/788.html#viewSource" title="查看代码" class="item viewSource" style="color:#FF0000;width:16px;height:16px;display:block !important;float:left !important;margin-left:8px !important;overflow:hidden !important;text-indent:-5000px !important;background-image:url(" background-repeat:no-repeat>查看代码</a> <div class="item copyToClipboard" style="margin:0px 0px 0px 8px !important;padding:0px !important;outline:0px !important;float:left !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;overflow:visible !important;background:none !important;"> </div> <a href="http://www.phpernote.com/seo/788.html#printSource" title="打印" class="item printSource" style="color:#FF0000;width:16px;height:16px;display:block !important;float:left !important;margin-left:8px !important;overflow:hidden !important;text-indent:-5000px !important;background-image:url(" background-repeat:no-repeat>打印</a> </div> </div> <div class="lines" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <div class="line alt1" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background-image:none !important;background-attachment:initial !important;background-size:initial !important;background-origin:initial !important;background-clip:initial !important;background-position:initial !important;background-repeat:initial !important;"> <table style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <tbody style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <tr style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <td class="number" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:top !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:3em !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;color:#AFAFAF !important;background:none !important;"> <code style="margin:0px !important;padding:0px 0.3em 0px 0px !important;outline:0px !important;text-align:right !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:2.7em !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;display:block !important;background:none !important;">1</code> </td> <td class="content" style="margin:0px !important;padding:0px 0px 0px 0.5em !important;outline:0px !important;float:none !important;vertical-align:top !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;border-left-width:3px !important;border-left-style:solid !important;border-left-color:#6CE26C !important;background:none !important;"> <code class="plain" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;background:none !important;"><code class="keyword" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-weight:bold !important;font-size:1em !important;min-height:auto !important;color:#006699 !important;background:none !important;">FilesMatch</code> <code class="plain" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;background:none !important;">"\.(bak|inc)$"> </code> </code> </td> </tr> </tbody> </table> </div> <div class="line alt2" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none #F8F8F8 !important;"> <table style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <tbody style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <tr style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <td class="number" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:top !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:3em !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;color:#AFAFAF !important;background:none !important;"> <code style="margin:0px !important;padding:0px 0.3em 0px 0px !important;outline:0px !important;text-align:right !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:2.7em !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;display:block !important;background:none !important;">2</code> </td> <td class="content" style="margin:0px !important;padding:0px 0px 0px 0.5em !important;outline:0px !important;float:none !important;vertical-align:top !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;border-left-width:3px !important;border-left-style:solid !important;border-left-color:#6CE26C !important;background:none !important;"> <code class="spaces" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;background:none !important;"> </code><code class="plain" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;background:none !important;">order deny,allow </code> </td> </tr> </tbody> </table> </div> <div class="line alt1" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background-image:none !important;background-attachment:initial !important;background-size:initial !important;background-origin:initial !important;background-clip:initial !important;background-position:initial !important;background-repeat:initial !important;"> <table style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <tbody style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <tr style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <td class="number" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:top !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:3em !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;color:#AFAFAF !important;background:none !important;"> <code style="margin:0px !important;padding:0px 0.3em 0px 0px !important;outline:0px !important;text-align:right !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:2.7em !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;display:block !important;background:none !important;">3</code> </td> <td class="content" style="margin:0px !important;padding:0px 0px 0px 0.5em !important;outline:0px !important;float:none !important;vertical-align:top !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;border-left-width:3px !important;border-left-style:solid !important;border-left-color:#6CE26C !important;background:none !important;"> <code class="spaces" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;background:none !important;"> </code><code class="plain" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;background:none !important;">deny from all </code> </td> </tr> </tbody> </table> </div> <div class="line alt2" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none #F8F8F8 !important;"> <table style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <tbody style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <tr style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-size:1em !important;min-height:auto !important;background:none !important;"> <td class="number" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:top !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:3em !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;color:#AFAFAF !important;background:none !important;"> <code style="margin:0px !important;padding:0px 0.3em 0px 0px !important;outline:0px !important;text-align:right !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:2.7em !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;display:block !important;background:none !important;">4</code> </td> <td class="content" style="margin:0px !important;padding:0px 0px 0px 0.5em !important;outline:0px !important;float:none !important;vertical-align:top !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;border-left-width:3px !important;border-left-style:solid !important;border-left-color:#6CE26C !important;background:none !important;"> <code class="plain" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;background:none !important;"></code><code class="keyword" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-weight:bold !important;font-size:1em !important;min-height:auto !important;color:#006699 !important;background:none !important;">FilesMatch</code><code class="plain" style="margin:0px !important;padding:0px !important;outline:0px !important;float:none !important;vertical-align:baseline !important;position:static !important;left:auto !important;top:auto !important;right:auto !important;bottom:auto !important;height:auto !important;width:auto !important;line-height:1.1em !important;font-family:Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important;font-size:1em !important;min-height:auto !important;background:none !important;">></code> </td> </tr> </tbody> </table> </div> </div> </div>