Bricktop Posted June 10, 2008 Share Posted June 10, 2008 Hi chaps, My website uses mod rewrite for all of its URL's etc. However, I have introduced a few downloads and cannot get the mod_rewrite to work. The PHP for getting the downloads is as follows: download.php?get=filename.zip I think I'm right in assuming I need to pass the proper URL back via mod_rewrite so Apache knows what file to serve but I cannot work out how to write the mod_rewrite code. Anyone able to help me please? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/109536-mod-rewrite-downloads/ Share on other sites More sharing options...
Bricktop Posted June 10, 2008 Author Share Posted June 10, 2008 Oops! It was actually en error in my PHP file causing the problem, everything working fine now. Sorry to bother you all. Quote Link to comment https://forums.phpfreaks.com/topic/109536-mod-rewrite-downloads/#findComment-561897 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.