Forum Moderators: phranque
I want to prepend file automatically for every request that the apache serve.For that reason i have added followinf directive in htaccess file.
php_value auto_prepend_file C:/xampp/htdocs/login.php
Its working fine but now i don't want this file to be prepended for every file request. For that i have added one more directive as follows:
RewriteCond %{REQUEST_FILENAME} !test\.php
php_value auto_prepend_file C:/xampp/htdocs/login.php
But it doesn't seem to work. For test.php also it is prepending login.php file.
Can anybody tell me how to escape certain files by this rule?