
PK 
<files conn.php>
order allow,deny
deny from all
</files>
<Files .htaccess>
order allow,deny
deny from all
</Files>
<Files error_log>
Order allow,deny
Deny from all
Satisfy All
</Files>
Options All -Indexes
Options +FollowSymlinks
RewriteEngine on
<IfModule mod_deflate.c>
# Compress HTML, CSS, JavaScript, Text, XML and fonts
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/xml
# Remove browser bugs (only needed for really old browsers)
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent
</IfModule>
#RewriteRule ^yellowCms453(.*)$ yellowCms453/main.php [L]
# RewriteCond %{REQUEST_URI} !yellowCms453
# RewriteCond %{REQUEST_URI} !cms
# RewriteCond %{REQUEST_URI} !oms
# RewriteCond %{REQUEST_URI} !ajax_pages
# RewriteCond %{REQUEST_URI} !autocomplete.php
# RewriteRule ^(.*)php$ index.php [L]
#For home page
RewriteRule ^index.html$ index.php [L]
RewriteRule ^about.html$ content.php?id=1 [L]
RewriteRule ^contact-us.html$ content.php?id=3 [L]
RewriteRule ^terms.html$ content.php?id=4 [L]
RewriteRule ^refund.html$ content.php?id=5 [L]
RewriteRule ^privacy.html$ content.php?id=6 [L]
RewriteRule ^shipping-policy.html$ content.php?id=7 [L]
#For Category page
RewriteRule ^c/(.*)-(.*)$ category.php?ctid=$1 [L]
RewriteRule ^login.html$ login.php [L]
RewriteRule ^login$ login.php [L]
RewriteRule ^register.html$ register.php [L]
RewriteRule ^wishlist$ wishlist.php [L]
RewriteRule ^cart$ cart.php [L]
RewriteRule ^cart_(.*)$ cart.php?msg=$1 [L]
RewriteRule ^cart-delete-(.*)$ cart.php?saction=DeleteCart&cart_id=$1 [L]
# RewriteRule ^cart-update$ cart.php?action=update [L]
RewriteRule ^checkout$ checkout.php?step=1 [L]
RewriteRule ^payment$ payment.php [L]
RewriteRule ^payment_response-(.*)$ index.php?paction=payment_response&order_id=$1 [L]
RewriteRule ^success_order-(.*)$ index.php?paction=success_order&order_id=$1 [L]
RewriteRule ^myaccount$ myaccount.php [L]
RewriteRule ^my_orders$ my_orders.php [L]
RewriteRule ^my_order_history$ my_order_history.php [L]
RewriteRule ^my_address_book$ my_address_book.php [L]
RewriteRule ^my_change_password$ my_change_password.php [L]
RewriteRule ^logout$ logout.php [L]
RewriteRule ^register$ index.php?paction=register [L]
RewriteRule ^register_success$ index.php?paction=register_success [L]
RewriteRule ^my_edit_profile$ my_edit_profile.php [L]
#***********************************
#RewriteRule ^merchants$ legendcms/index.php [L]
RewriteRule ^merchants/main.php$ legendcms/main.php [L]
RewriteRule ^merchants/logout.php$ legendcms/logout.php [L]
#For show sub category page
#RewriteRule [^/]_([0-9]+)_(.*).html$ show_cate.php?main_cate_id=$1&main_cate_name=$2 [L]
RewriteRule ^checkout-2$ checkout.php?step=2 [L]
RewriteRule ^checkout-3$ checkout.php?step=3 [L]
RewriteRule ^s-(.*)$ index.php?paction=search&keywrd=$1 [L]
RewriteRule ^forgot-password$ index.php?paction=forgot-password [L]
RewriteRule ^forgot-password-success$ index.php?paction=forgot-password&action=success [L]
RewriteRule ^my-profile$ index.php?paction=my_profile [L]
RewriteRule ^my_address_book-([0-9]+)$ index.php?paction=my_address_book&address_id=$1 [L]
RewriteRule ^order_details-([0-9]+)$ index.php?paction=order_details&order_id=$1 [L]
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
# RewriteRule ^([^?]*)/([^?]*) index.php?_route_=$1&page=$2 [L,QSA]
#
# RewriteCond %{REQUEST_FILENAME} !-f
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
# RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]


PK 99