I
I
Igor Agarkov2018-03-10 21:19:08
PHP
Igor Agarkov, 2018-03-10 21:19:08

Hosting reg.ru. How to get rid of "No input file specified"?

Welcome all. I bought hosting from reg.ru, uploaded my project. The main page works, everything else does not, writes "No input file specified".
The system is rather strange. .htaccess redirects to the template folder at the root:

AddDefaultCharset UTF-8

RewriteEngine on
RewriteRule ^(.*)$ template/$1 [L]

This folder also contains .htaccess:
AddDefaultCharset UTF-8

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ template/index.php/$1 [QSA,L]

cgi.fix_pathinfo = 0 tried (on reg ru it is possible to add to php.ini) - does not help.
CHADNT? Thanks in advance!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question