Microsoft
Software
Hardware
Network
Question : file extension problem
Hello,
I'm using htaccess rules to rewrite the urls, for example :
RewriteRule ^product.html$ product.php?product_id=1
so this page will be open in brower by
http://www.domain.com/prod
uct.html
for example. Now the problem is if I replace dot(.) in product.html with any special characters like product-html OR product,html etc, its still openning... actually it should open up with dot(.) only as specified in rewrite rule.
Any idea, how to fix this problem?
Thanks
Answer : file extension problem
It's been awhile but you may have to escape the "." so that it's read literally.
RewriteRule ^product\.html$ product\.php?product_id=1
Random Solutions
Shared Folder Disappeared but still available
Does OpenOffice allow Windows 7 preview pane to preview .doc and .xls files?
Include page headers when printing HTML pages with different headers on some of each page
Cisco VPN Client 5.0.07.0290 on Windows 7 64 bit
VMware Workstation 7.1 Won't Install
How to create own SMTP Server on VPS?
PHP array, problems with multiple checkboxes
VMware ESXi4 Backup
How to notify the moderator of new posts?
net share system error 5 acces denied