错误。没有指定输入文件我该如何解决?

时间:2014-09-01 15:57:02

标签: .htaccess mod-rewrite url-rewriting

这是网址kingmaddy.me/adm http://kingmaddy.me/signup我无法访问

这是我的htaccess文件

# Turn on URL rewriting
RewriteEngine On

RewriteBase //

# Protect hidden files from being viewed
<Files .*>
    Order Deny,Allow
    Deny From All
</Files>

# Protect application and system files from being viewed
RewriteRule ^(?:application|modules|system)\b.* index.php/$0 [L]

# List of files in subdirectories will not be displayed in the browser
Options -Indexes

# Allow any files or directories that exist to be displayed directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

AddDefaultCharset utf-8
 AddCharset UTF-8 .htm .html .txt
 AddType "text/html; charset=UTF-8" .htm .html .txt
 AddType "text/css; charset=UTF-8" .css
 AddType "text/javascript; charset=UTF-8" .js

# Rewrite all other URLs to index.php/URL
RewriteRule .* index.php/$0 [PT]

注意RewriteEngine已开启

感谢名单

1 个答案:

答案 0 :(得分:0)

我收到错误“未指定输入文件”,我解决了更改文件名的问题。这是因为名称中包含“ñ”符号。也许你的名字中还有另一个无效字符。

我希望我帮助别人。