Problems with the Windows version of XAMPP, questions, comments, and anything related.
Just to add something
If I go here
the script below works fine
it prints Helo world
print "Content-type: text/html\n\n";
print "<h2>Hello, World!</h2>\n";
But if i add a folder cgi-bin like below
I get the page cannot be found error, when using the same file " test.cgi "
any ideas ?
- Posts: 11
- Joined: 07. February 2005 03:03
Is the cgi-bin folder within the htdocs folder, or is it at the same level?
I think that the default httpd.conf is configured to look for the cgi-bin folder at the same level as the htdocs folder. I'm not sure, since I've made some changes to the default configuration.
- Posts: 212
- Joined: 23. October 2004 00:43
use the full path not #!/perl/bin/perl -wT
In my setup I use:
open your httpd.conf and add something similar bellow or add it to your virtualhost is you are using one.
ScriptAlias /cgi-bin/ "C:/Program%20Files/xampp/htdocs/simon/cgi-bin/"
Allow from all
- Posts: 292
- Joined: 17. September 2005 13:40
Return to XAMPP for Windows
Who is online
Users browsing this forum: No registered users and 48 guests