Topic: rewrite engine & page404
When i using rewrite engine then on a page 404 appear next:
CuteNews has detected that you are including show_news.php using the URL to this file
This is incorrect and you must include it using the PATH to show_news.php. Example:
this is WRONG : <?php include("http://yoursite.com/cutenews/show_news.php"); ?>
this is CORRECT: <?php include("cutenews/show_news.php"); ?>
if you think this message shouldn't be shown, open current file and delete check_direct_including() function, at own risk!
in .htaccess i have
# --- CUTENEWS[ST]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /news/show_news.php?cn_rewrite_url=$1 [L]
# --- CUTENEWS[ED]
How i can fix it?