Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/video/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.htaccess 错误。未指定输入文件。如何修复它?_.htaccess_Mod Rewrite_Url Rewriting - Fatal编程技术网

.htaccess 错误。未指定输入文件。如何修复它?

.htaccess 错误。未指定输入文件。如何修复它?,.htaccess,mod-rewrite,url-rewriting,.htaccess,Mod Rewrite,Url Rewriting,这是我无法访问的URL kingmady.me/adm 这是我的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 fil

这是我无法访问的URL kingmady.me/adm

这是我的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]
注意:发动机已打开


Thanx

我没有指定输入文件,我通过更改文件名解决了这个错误。这是因为名称中包含了ñ符号。可能名称中还有另一个无效字符


我希望我能帮助别人。

有人吗//