newb Posted July 28, 2012 Share Posted July 28, 2012 <filesMatch "^(download.php?hash=(.*))$"> not working.. Link to comment https://forums.phpfreaks.com/topic/266397-filesmatch-doesnt-work/ Share on other sites More sharing options...
Christian F. Posted July 28, 2012 Share Posted July 28, 2012 That's not PHP. Either that, or you're missing a whole lot of code we need to see. Link to comment https://forums.phpfreaks.com/topic/266397-filesmatch-doesnt-work/#findComment-1365148 Share on other sites More sharing options...
requinix Posted July 28, 2012 Share Posted July 28, 2012 I highly doubt you have a file named "download.phphash=...". What you want is probably URL rewriting. Link to comment https://forums.phpfreaks.com/topic/266397-filesmatch-doesnt-work/#findComment-1365158 Share on other sites More sharing options...
newb Posted July 28, 2012 Author Share Posted July 28, 2012 <filesMatch "^(download.php?hash=(.*))$"> deny from all </filesMatch> why doesnt this work in htaccess? Link to comment https://forums.phpfreaks.com/topic/266397-filesmatch-doesnt-work/#findComment-1365159 Share on other sites More sharing options...
requinix Posted July 29, 2012 Share Posted July 29, 2012 why doesnt this work in htaccess? Because you don't have a file named "download.phphash=...". Like I already told you. Link to comment https://forums.phpfreaks.com/topic/266397-filesmatch-doesnt-work/#findComment-1365186 Share on other sites More sharing options...
newb Posted July 29, 2012 Author Share Posted July 29, 2012 ya i do Link to comment https://forums.phpfreaks.com/topic/266397-filesmatch-doesnt-work/#findComment-1365272 Share on other sites More sharing options...
Pikachu2000 Posted July 29, 2012 Share Posted July 29, 2012 Copy and paste the actual filename here. Link to comment https://forums.phpfreaks.com/topic/266397-filesmatch-doesnt-work/#findComment-1365273 Share on other sites More sharing options...
requinix Posted July 29, 2012 Share Posted July 29, 2012 ya i do No. You. Don't. I'm sure you have a file named "download.php" but that has NOTHING to do with your problem. Link to comment https://forums.phpfreaks.com/topic/266397-filesmatch-doesnt-work/#findComment-1365311 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.