Guest User

Untitled

a guest
Jul 17th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. RewriteEngine On
  2. RewriteCond %{REQUEST_FILENAME} !-f
  3. RewriteCond %{REQUEST_FILENAME} !-d
  4. RewriteRule ^(.*)$ $1.php [L,QSA]
  5.  
  6. <?php
  7. Echo "404n";
  8. phpinfo(INFO_VARIABLES);
  9.  
  10. addhandler x-httpd-php5 .phtml
  11.  
  12. RewriteEngine On
  13. RewriteCond %{REQUEST_FILENAME} !-f
  14. RewriteCond %{REQUEST_FILENAME} !-d
  15. RewriteCond %{REQUEST_FILENAME}.php -f
  16. RewriteRule ^(.*)$ /$1.php [L,QSA]
Add Comment
Please, Sign In to add comment