Hi, I’m having trouble with mod_rewrite in combination with Perl-CGI. Execution of perlscripts is working under Apache. But apparently it doesn’t execute my perlscripts when I let Apache rewrite the URL to it.
Example:
I have a mod_rewrite-rule that redirects www.domainname to www.domainname/cgi-bin/script.pl’
When I enter www.domainname in my addressbar, Apache returns the full sourcecode of my perlscript.
When I enter the full path (www.domainname/cgi-bin/script.pl) in my addressbar, Apache executes the perlscript.
The great mistake is to anticipate the outcome of the engagement; Let nature take it's course, and your tools will strike at the right moment.