Apache don't run my CGI

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Apache don't run my CGI

Postby lucianobs » 09. July 2021 03:23

Hi everyone!

I am new in web programming and, from my legacy of delphi, i decide to use CGI with Lazarus to develop my future projects. I have a Win10 Pro with Apache instaled and HTML pages go fine.
But i can't run the CGI's i write. I did a lot of changes in httpd.conf and ran them together and one by one, as follow, but always fail:
. uncomment scriptalias --> ScriptAlias /cgi-bin/ "D:/xampp/cgi-bin/"
. Uncomment lines with ExecCGI ---> Options Indexes FollowSymLinks Includes ExecCGI
. Uncomment LoadModules with CGI directives
. inserting in the </IfModule> section the following lines:
<Directory "D:/xampp/cgi-bin">
AllowOverride All
Options Indexes FollowSymLinks ExecCGI
Order allow,deny
Allow from all
</Directory>

I try to run my CGI's on D:\xampp\cgi-bin and then i try on d:\xampp\htdocs but the server always return the error 'script not found or unable to stat'.
I dont know what can i do more and i didn't found any help in internet after a lot of sites and how-to's i read.
lucianobs
 
Posts: 1
Joined: 09. July 2021 02:42
XAMPP version: 8.0.7
Operating System: windows 10 Pro

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 102 guests