Richieboy67
Account Suspended
- Impact
- 6
One thing I have not spent enough time learning about is the htaccess file....... It is finally biting me in the rump so now I have no choice but to learn about it...
One of my sites, a store actually is using the htaccess to change .html to php basically
-- The site is www.anonlinemall.com
Everything works fine but now I am trying to add some extra pages that are html... One of the urls I cannot access is www.anonlinemall.com/smoking/
I turn off htaccess and it opens fine......
Can anyone help me out with this. I have tried everything. I know htaccess can be used to redirect and deny ip's etc but I have no idea how to bypass it.......
Thanks...... Who ever answers this question for me I will give 10np's too........ I should say the first person that gives me the info that corrects this problem will get 10np's...
Rich
One of my sites, a store actually is using the htaccess to change .html to php basically
-- The site is www.anonlinemall.com
PHP:
RewriteEngine On
RewriteRule ^index.html$ index.php
RewriteRule ^(.*)/(.*)-search-(.*)-(.*)-(.*).html index.php?Operation=ItemSearch&SearchIndex=$1&$2=$3&Sort=$4&ItemPage=$5 [QSA,L]
RewriteRule ^(.*)/(.*)-search-(.*)-(.*).html index.php?Operation=ItemSearch&SearchIndex=$1&$2=$3&Sort=$4 [QSA,L]
RewriteRule ^(.*)/(.*)-search-(.*).html index.php?Operation=ItemSearch&SearchIndex=$1&$2=$3 [QSA,L]
RewriteRule ^(.*)/browse-(.*)-(.*)-(.*).html index.php?Operation=ItemSearch&SearchIndex=$1&BrowseNode=$2&Sort=$3&ItemPage=$4 [QSA,L]
RewriteRule ^(.*)/browse-(.*)-(.*).html index.php?Operation=ItemSearch&SearchIndex=$1&BrowseNode=$2&Sort=$3 [QSA,L]
RewriteRule ^(.*)/browse-(.*).html index.php?Operation=ItemSearch&SearchIndex=$1&BrowseNode=$2 [QSA,L]
RewriteRule ^(.*)/(.*).html index.php?Operation=ItemLookup&ItemId=$1 [QSA,L]
RewriteRule ^(.*).html?$ index.php?SearchIndex=$1 [QSA,L]
Everything works fine but now I am trying to add some extra pages that are html... One of the urls I cannot access is www.anonlinemall.com/smoking/
I turn off htaccess and it opens fine......
Can anyone help me out with this. I have tried everything. I know htaccess can be used to redirect and deny ip's etc but I have no idea how to bypass it.......
Thanks...... Who ever answers this question for me I will give 10np's too........ I should say the first person that gives me the info that corrects this problem will get 10np's...
Rich







