Before me is a private host from an ISP who does not want to share secrets.
There is a .htaccess file with the following content:
<FilesMatch "\.(inc)$"> Order allow,deny Deny from all </FilesMatch> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !^/demo/ RewriteRule .* "index.php/?_p=$0" [L] Options -Indexes
And the index.php file is as follows:
print_r(explode('/',$_GET['_p']));
It seems that everything works perfectly, the CNC meets all the requirements of the task.
BUT for some reason on request /manual/
issues Array(0=>404.shtml)
?
The provider persistently hints that I am bald and sends to .htaccess dock
Tell me my mistakes. Another point: For some reason, internor is issued when there is no RewriteCond %{REQUEST_FILENAME} !-f
and RewriteCond %{REQUEST_FILENAME} !-d
lines in htaccess.
$1
o_O - Sh4dow