Answer the question
In order to leave comments, you need to log in
Rewrite files
The question is:
Is there a .htaccess
RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteRule ^(20[0-9]{2}/[0-9]{2}/(.*)) /download.php?path=$1&file=$2
RewriteCond %{REQUEST_FILENAME} -f
Does not help. Answer the question
In order to leave comments, you need to log in
Checking for the existence of a file should not go in this case, so the reason is different.
Here we see 2 options
1) You have nginx in front of Apache, which is directly involved in distributing statics (then we don’t quite understand what to do - we probably need to go to the sysadmin / hoster, but at least it’s clear where the problem is).
2) You have some kind of pdf handler on your server that intercepts requests to pdf (it is easy to check by requesting an existing file with a known unknown extension).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question