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
Will there be a 13" Macbook with an iCore processor anytime soon? Safe to buy C2D?
asp - The resource could not be found
WD My Book Drive Failing or Not, Given Windows 7 Event Log Errors?
VS2010 add project to solution
Dynamically passing the parameter the service constructor (without configuration file)
asp.net, c#, drop down list error
infopath regular expressions
UltraTree and Filtering ?
Export-Mailbox says pst directory does not exist when it does
how to add swap partition to exsting swap in redhat linux