Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RewriteEngine On
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule ^(.*)$ $1.php [L,QSA]
- <?php
- Echo "404n";
- phpinfo(INFO_VARIABLES);
- addhandler x-httpd-php5 .phtml
- RewriteEngine On
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_FILENAME}.php -f
- RewriteRule ^(.*)$ /$1.php [L,QSA]
Add Comment
Please, Sign In to add comment