各位大大能不能帮小弟我看下URL冲写语句规则的有关问题

WBOY
Release: 2016-06-13 13:32:28
Original
869 people have browsed it

各位大大能不能帮我看下URL冲写语句规则的问题
空间的URL重写语句规则如下:

1、需要写入RewriteEngine On来声明开启重写功能,所以RewriteEngine On是第一条伪静态语句;

2、所有URL重写语句以Rewrite开头的关键词开始,如RewirteRule、RewriteCond等,类似的语句如下

RewriteRule index.html index.php

3、不支持IfModule、AddType等等关键词,如
或 AddType "text/javascript;charset=UTF-8" .jgz 等等都是不支持,添加这些语句只会导致您的站点访问不正常。


这个怎么弄?提供个思路也可以啊 多谢了

------解决方案--------------------
你没说明白你想要从哪儿重写到哪儿,或者你想问另外的问题?
------解决方案--------------------
破什么。。。 httpd.conf给你关闭了overwrite,你就照着它告诉你的这些可用的写就行了,不让你ifmodule mod_rewrite.c是因为rewrite本来就支持,判断个毛啊
------解决方案--------------------
换空间

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!