Apache 2.4.27 on Oracle Linux 7 x64.
I can make proper calls to
The simple Perl script returns "Hello, world via cgi-bin!"
I can make proper calls to static content in
The simple HTML file returns "Hello, world via html!"
I can use
RewriteRule "^/test" "/helloworld.html"
I see "Hello, world via html!"
However, I cannot use RewriteRule as:
RewriteRule "^/test" "/cgi-bin/helloworld.cgi"
This results in a 400 Bad Request. How is it that I can call it directly though?
How do I get my
RewriteRule to work when going to
/cgi-bin? That seems to be my problem. I tried adding
[L,PT] but no help.