Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. #
  2. # Quicknity :: php & apache settings
  3. #
  4.  
  5. AddType application/x-httpd-php jsp cgi chi zeepsop noobit rs ws
  6. DirectoryIndex index.jsp index.cgi index.pl index.php
  7.  
  8. # Set default charset utf-8
  9. AddDefaultCharset UTF-8
  10.  
  11. # Don't show directory listings for URLs which map to a directory.
  12. Options -Indexes
  13.  
  14. # PHP 5, Apache 1 and 2.
  15.  
  16.  
  17.  
  18.  
  19. # Setting rewrite rules.
  20.  
  21. RewriteEngine on
  22.  
  23. RewriteCond %{REQUEST_FILENAME} !-f
  24. RewriteCond %{REQUEST_FILENAME} !-d
  25. RewriteRule ^(.*)$ index.jsp [QSA,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement