Options +FollowSymLinks
RewriteEngine on

RewriteRule index\.html$ index.php
RewriteRule ^p(.*)$ index.php?p=$1
RewriteRule ^cat-(.*)-p(.*)$ index.php?category=$1&p=$2
RewriteRule ^cat-(.*)\.html$ index.php?category=$1
RewriteRule ^count-(.*)\.html$ counter.php?id=$1
RewriteRule ^(.*)-(.*)\.html$ counter.php?id=$1


<Files show> 
	forcetype application/x-httpd-php 
</Files>
