I am trying to build a CGI script so that when my Apache server is asked for http://myserver.com/test/123.pdf then the CGI script fires up and serves the file.
The reason for this is that the file does not really exist in the 'test' folder at all but on a different machine. I figured out how to get the CGI script to copy this file and serve it and 'fool' the browser into thinking it's loading a PDF. What I need now is for the address in the url to be http://myserver.com/test/123.pdf not http://myserver.com/test/script.pl . This is so that when the file is saved it's saved with its real name not as a PDF with a wrong .pl extension.
Do I have to use mod_perl for this? Or is there an easier way?
Thanks Monks
In reply to mod_perl behavior w/out mod_perl by janos.gonzales
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |