Jump to content

Mod Rewrite Downloads


Bricktop

Recommended Posts

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

 

Link to comment
https://forums.phpfreaks.com/topic/109536-mod-rewrite-downloads/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.