Apache Server configuration support - Re: Force download

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > October 2005 > Re: Force download





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Force download
marcosnospam

2005-10-30, 5:53 pm

ok, I think I've found a solution:

I have a php script that does the job.
So all I need now is to redirect the requests (GET
/my/directory/anyfile) to:
force-download.php?file=anyfile

I'm reading the mod_rewrite doc, trying to understand how it works...
but it is damn complex (don't dare to tell me it's easy !)

So if anybody with good mod_rewrite skills is kind enough to give me
some hints about a rewriting rule that could do the job... he will have
my eternal gratitude !
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com