php_flag register_globals Off

RewriteEngine on

#For Netfirms Only
#RewriteBase /path_from_root/
#Might need to include "index.php" in the Ruleset
#RewriteRule specialoffers\.html$ index.php?choice=section&xid=1

# Article pages
RewriteRule (.*)/a(.*)\.html$ ?choice=article&article_id=$2&pagetitle=$1
RewriteRule (.*)/a(.*)\.html&(.*)$ ?choice=article&article_id=$2&pagetitle=$1&r=$3

# Contact pages
RewriteRule contact\.html$ ?choice=contact
RewriteRule contact/(.*)\.html$ ?choice=contact&action=$1

# Error pages
RewriteRule no-dice\.html$ ?choice=no-dice
RewriteRule no-access\.html$ ?choice=no-access

# Mailinglist pages
RewriteRule mailinglist\.html$ ?choice=mailinglist

# Poll pages
RewriteRule (.*)/polls\.html$ ?choice=polls&action=$1

# Search pages
RewriteRule search\.html$ ?choice=search
RewriteRule search\.html&(.*)&(.*)$ ?choice=search&page=$1&keyword=$2

# Section pages
RewriteRule (.*)/s(.*)\.html$ ?choice=section&section_id=$2&pagetitle=$1

# Tellafriend pages
RewriteRule tellafriend/(.*)-(.*)\.html$ ?choice=tellafriend&pagetitle=$1&pageurl=$2
RewriteRule toldafriend/(.*)\.html$ ?choice=tellafriend&action=$1

# Themes exception
#RewriteRule theme/(.*)\$ theme/$1

#New suggestion for the articles... Gives URl's like
#http://wcms.evaria.com/article/article-name/798.html
#RewriteRule article/(.*)/(.*)\.html$ article.php?aid=$2&pt=$1

#New suggestion for the accommodation
#accom_section
#accom_listing or
#accommodation_list
#accommodation_unit

#RewriteRule b([0-9]+)/(.*)\.html$ ?choice=accommodation&bid=$1&pr=$2
#RewriteRule property/([0-9]+)/(.*)\.html$ ?choice=list&listid=$1&pr=$2

#RewriteRule a(.*)/(.*)\.html$ ?choice=article&aid=$1&pt=$2

#RewriteRule booking\.html$ ?choice=booking
#RewriteRule booking/(.*)\.html$ ?choice=booking&action=$1


#RewriteRule dloads\.html$ ?choice=dloads
#RewriteRule d(.*)/(.*)\.html$ ?choice=dloads&did=$1&pt=$2

#RewriteRule mailinglist\.html$ ?choice=mailinglist

#RewriteRule poll-(.*)\.html$ ?choice=polls&action=$1

#RewriteRule s([0-9]+)/(.*)\.html$ ?choice=section&sid=$1&pt=$2

#RewriteRule search\.html$ ?choice=search

RewriteRule sitemap\.html$ ?choice=sitemap

#RewriteRule (.*)/tellafriend\.html$ ?choice=tellafriend&pt=$1

#RewriteRule weblinks\.html$ ?choice=weblinks
#RewriteRule w(.*)/(.*)\.html$ ?choice=weblinks&wid=$1&pt=$2



#ErrorDocument 401 http://localhost/evaria.com/
#ErrorDocument 403 http://localhost/evaria.com/
#ErrorDocument 404 http://localhost/evaria.com/
#ErrorDocument 410 http://localhost/evaria.com/
#ErrorDocument 500 http://localhost/evaria.com//