归档于 五月, 2006

两分钟让你明白什么是ERP!

.htaccess 文件的应用

Order Allow,Deny Allow from env=local_ref Allow from 127.0.0.1 记得把域名换成你的,如果你的是http://abc.abc.com的话,那域名的写法就是http://abc\.abc\.com/ 四、通过.htaccess 把所有的 .php files 生成 .html 因为动态的文件.例如PHP,很难被SE收录.所以把PHP生成静态的HTML文件就容易被SE收录.只需要通过简单的.htaccess就能做到此效果. Options +FollowSymLinks RewriteEngine on RewriteBase / RewriteRule ^index\.html$ index.php [T=application/x-httpd-php,L] 五、屏蔽IP地址方法 部分允许.htaccess的虚拟空间中实现IP禁止 建立一个.htaccess文件,写入以下内容: #The next line modified by DenyIP order allow,deny #The next line modified by DenyIP #deny from all allow from all 例如: Order allow,deny allow from all [...]