htaccess的重写服务器错误 [英] htaccess rewrite server error

查看:204
本文介绍了htaccess的重写服务器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好与XAMPP的.htaccess在我的本地试验,我曾向phpinfo()函数如果加载mod_rewrite的,它是,这样不应该成为问题。

Hi guys experimenting with .htaccess with XAMPP on my localhost, I have checked with phpinfo() if mod_rewrite is loaded and it is, so that shouldnt be the problem..

这是我的.htaccess

This is my .htaccess

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule ^(.+)$ index.php?url=$1 [QSA, L]

这是它给了每个页面上的错误

and this is the error it gives on every page

SERVER ERROR

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. 

请告诉我错了我的htaccess的或XAMPP? :)

Whats wrong with my htaccess or XAMPP? :)

推荐答案

$网址是空的,请确保您回应了!

$url was empty, make sure you echo out !

这篇关于htaccess的重写服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆