fellow programmers!
I am trying to get the following dynamic url:
http:
To rewrite in the address bar of the browser:
http://example.com/pdfs/1494/1494.pdf
In principle, the user enters a request to view the PDF file available on the file / web server, and based on the provided identification number, the URL is rewritten to go to and receive the document from the subfolder in DOCUMENT_ROOT / pdfs / the folder name matches the identifier specified with PDF file name matching one ID. Can anyone help? Everything I tried does not work.
Thanks in advance!
source
share