一页面很正常,可是当我在根目录下放入.htaccess,该页面再也打不开了,
.htaccess的内容:
# Helicon ISAPI_Rewrite configuration file# Version 3.1.0.66
RewriteEngine On
RewriteRule ^index.html$ index.php
RewriteRule ^index_ok.html$ index_ok.php:
页面显示:
Internal Server Error
The server encountered an internal error or misconfiguration and was unableto complete your request.
Please contact the server administrator, [email protected] and inform them of thetime the error occurred, and anything you might have done that may have causedthe error.
More information about this error may be available in the server errorlog.
.htaccess的内容:
# Helicon ISAPI_Rewrite configuration file# Version 3.1.0.66
RewriteEngine On
RewriteRule ^index.html$ index.php
RewriteRule ^index_ok.html$ index_ok.php:
页面显示:
Internal Server Error
The server encountered an internal error or misconfiguration and was unableto complete your request.
Please contact the server administrator, [email protected] and inform them of thetime the error occurred, and anything you might have done that may have causedthe error.
More information about this error may be available in the server errorlog.
解决方案 »
- 点击按钮跳到另一个界面
- 关于返回上一页的种种写法(php)100分悬赏
- PHP交流群:66589844 欢迎喜欢群在线交流的进
- 很多网站打开页面的时候都会出现进度条,进度条达到100%时页面打开,这个效果是怎么实现的啊?
- 请问在XP操作系统下如何配置IIS支持PHP文件
- 为什么复制文件总是失败???
- php安装论坛时出现的问题
- 求助:开发PHP程序要用什么开发工具最好呢。
- 网站的安全策略如何设置?
- 我MAC安装了xamapp怎么安装拓展模块
- Fatal error: Call to a member function mysql_fetch_row() on a non-object
- 关于压缩的一个问题,ZipArchive在PHP5.2和PHP5.3用法不一样吗?
RewriteEngine On
RewriteBase /
RewriteRule ^index.html$ index.php
RewriteRule ^index_ok.html$ index_ok.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
</IfModule>
建议楼主把错误日志打开,然后查看下错误日志,比较容易找到问题。