Forum Moderators: phranque
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
RewriteBase /
RewriteRule ^index/(.*)/(.*)/(.*)/(.*)/(.*)$?fuseaction=$1.$2&display=$3&by=$4&model_no=$5
RewriteRule ^index/(.*)/(.*)/(.*)/(.*)$?fuseaction=$1.$2&display=$3&by=$4 [QSA]
RewriteRule ^index/(.*)/(.*)/(.*)$?fuseaction=$1.$2&display=$3 [QSA]
RewriteRule ^index/([^/]+)/([^/]+)$ index?fuseaction=$1.$2 [QSA]
RewriteRule ^index index.php [L]
It works in XP but not in Linux when I upload to my ISP. What is the cause?
Thanks for your help.
Chuender
[mydomain.com...]
to
[mydomain.com...]
Seems like the .htaccess file is not even being looked at by the Linux server that my ISP uses. "It doesn't work" in this case means nothing happens. If I type in the first link aboved the server serves the right page, but not the second link. The server does not error out even if I purposely put in a but in the code.
Thanks.
Place the following code in .htaccess in your Web root directory with your "home page."
Options +FollowSymLinks
RewriteEngine on
RewriteCond ^silly\.html$ /index.html [L]
Jim