IfModule mod_php5.c
php_value display_errors on
php_value error_reporting 6135
php_flag magic_quotes_gpc On
php_value post_max_size 50M
php_value upload_max_filesize 20M
php_value memory_limit 50M
IfModule
Options -Indexes
DirectoryIndex index.php
IfModule mod_rewrite.c
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule index.html$ index.php
RewriteRule ^en/langsession.html langsession.php?lang=en [L]
RewriteRule ^it/langsession.html langsession.php?lang=it [L]
# rewite rule for top search result
RewriteRule luxury-hotels.html$ index.php?dir=view&page=search_result&type=1
RewriteRule boutique-hotels.html$ index.php?dir=view&page=search_result&type=2
RewriteRule hotel-spa.html$ index.php?dir=view&page=search_result&type=3
RewriteRule hotel-golf.html$ index.php?dir=view&page=search_result&type=4
RewriteRule design-hotel.html$ index.php?dir=view&page=search_result&type=5
# End of top rewite rule
RewriteRule location-(.*).html$ index.php?dir=view&page=search_result&mode=top&locationid=$1
RewriteRule region-(.*).html$ index.php?dir=view&page=search_result&mode=top&stateid=$1
## rule for the result and hotel details page
RewriteRule hotels-(.*)\.html$ index.php?dir=view&page=hotels&city=$1
RewriteRule details-(.*)-(.*)\.html$ index.php?dir=view&page=hotel-details&hid=$2
#End of rule
RewriteRule result.html$ index.php?dir=view&page=search_result
RewriteRule hotels.html$ index.php?dir=view&page=search_result
RewriteRule site-map.html$ index.php?dir=view&page=site_map
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*)\.html$ index.php?dir=view&page=display&url=$1
IfModule
Blogger templates
Blogger news
Blogroll
Archives
-
▼
2013
(219)
-
▼
May
(18)
- Control structure in Php: declare
- Add last class to the wordpress menu items (nested...
- How to use Gmail to send email in Moodle
- Control structures in Php: include()
- htacess configuration
- current directory with getcwd() in php
- OWASP, the Open Web Application Security Project
- for reset all form input text elements having the ...
- if-else statement in php
- Places To Use Ajax
- comments in php
- SQL- distinct
- No title
- Force propel to use utf-8 connection
- Control structures in Php: include_once()
- What is the PHP in History !
- DATA TYPES RELATED LINKS IN PHP
- Mysql Benchmarking tool
-
▼
May
(18)