I still can't figure out what the problem is and I don't understand German so it's difficult to search on this forum for an answer to my Access Forbidden! page. I can get php to work and html files but just can't get perl files to work. I'm trying to run a simple test.cgi file (which is a simple hello world script) and the code looks like so:
- Code: Select all
#!C:/XAMPP/xampp/perl/bin/perl.exe
print "Content-type: text/html\n\n";
print "<html><body><center><b>Hello World!</b></body></html>";
My cgi-bin is located on a slave drive on my machine, so I went into the http.conf file for apache and changed it to the proper location. I did the same with the htdocs directory only it seems to work. Other than that, I'm at a loss and pulling out my hair. Help???