mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-16 18:14:07 +02:00
Add Monstra from HG Commit 683dcb70c4cc
This commit is contained in:
26
.htaccess
Normal file
26
.htaccess
Normal file
@@ -0,0 +1,26 @@
|
||||
#
|
||||
# Monstra CMS :: php & apache settings
|
||||
#
|
||||
|
||||
# Set default charset utf-8
|
||||
AddDefaultCharset UTF-8
|
||||
|
||||
# Don't show directory listings for URLs which map to a directory.
|
||||
Options -Indexes
|
||||
|
||||
# PHP 5, Apache 1 and 2.
|
||||
<IfModule mod_php5.c>
|
||||
php_flag magic_quotes_gpc off
|
||||
php_flag magic_quotes_sybase off
|
||||
php_flag register_globals off
|
||||
</IfModule>
|
||||
|
||||
|
||||
# Setting rewrite rules.
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine on
|
||||
RewriteBase /%siteurlhere%/
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^(.*)$ index.php [QSA,L]
|
||||
</IfModule>
|
Reference in New Issue
Block a user