| 1 |
#
|
| 2 |
# Apache/PHP settings:
|
| 3 |
#
|
| 4 |
|
| 5 |
Options -Indexes
|
| 6 |
Options +FollowSymLinks
|
| 7 |
|
| 8 |
# Set the default handler.
|
| 9 |
DirectoryIndex index.php
|
| 10 |
|
| 11 |
# PHP5, Apache 1 and 2
|
| 12 |
<IfModule mod_php5.c>
|
| 13 |
php_value magic_quotes_gpc 0
|
| 14 |
php_value register_globals 0
|
| 15 |
php_value session.auto_start 0
|
| 16 |
php_value memory_limit 128M
|
| 17 |
php_value output_buffering 4096
|
| 18 |
</IfModule>
|
| 19 |
|
| 20 |
<IfModule mod_rewrite.c>
|
| 21 |
RewriteEngine on
|
| 22 |
# Modify the RewriteBase if you are using zina in a subdirectory and
|
| 23 |
# the rewrite rules are not working properly.
|
| 24 |
#RewriteBase /zina
|
| 25 |
|
| 26 |
# Rewrite current-style URLs of the form 'index.php?p=x'.
|
| 27 |
RewriteCond %{REQUEST_FILENAME} !-f
|
| 28 |
RewriteCond %{REQUEST_FILENAME} !-d
|
| 29 |
#RewriteCond %{REQUEST_URI} !=/favicon.ico
|
| 30 |
RewriteRule ^(.*)$ index.php?p=$1 [L,QSA]
|
| 31 |
</IfModule>
|