一页面很正常,可是当我在根目录下放入.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.
解决方案 »
- 如何能够让上传sql文档变得界面化
- SQL语句出错
- php 下拉菜单联动问题
- 想找个php兼职开发工作做
- adodb可否同时连接多个同种数据库?
- 请问我如何才能把这个alert(t2)打印出来呢?
- 在别人网站上有个页面。如登录后才能看的到。我现在要在本地获取那个页面的信息。
- 关闭浏览器后。。。
- 谁有ApacheTray V1.7的注册表文件? 请帮忙!
- php怎么获取二维数组指定的某个字段的值?
- 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>
建议楼主把错误日志打开,然后查看下错误日志,比较容易找到问题。