GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Is anyone here using xampp (https://gfy.com/showthread.php?t=1128093)

theking 12-07-2013 03:31 PM

Is anyone here using xampp
 
...and in turn using cgi script in a cgi-bin located in htdocs? I need to know what you are using on your script to point to perl. #!C:\xampp\perl\bin\perl.exe is what I am using and for some reason it does not work.

theking 12-07-2013 10:01 PM

Anyone...

dunhill 12-07-2013 10:33 PM

On httpd.conf:
ScriptAlias /cgi-bin/ "C:/xampp/cgi-bin/"
<Directory "C:/xampp/cgi-bin">
AllowOverride All
Options Indexes FollowSymLinks ExecCGI
Order allow,deny
Allow from all
</Directory>

On script:
#!"C:/xampp/perl/bin/perl.exe"

Restart apache and run localhost/cgi-bin/script.pl

Anyway, get a linux box to run apache, xampp is buggy.

theking 12-07-2013 10:38 PM

Quote:

Originally Posted by dunhill (Post 19900513)
On httpd.conf:
ScriptAlias /cgi-bin/ "C:/xampp/cgi-bin/"
<Directory "C:/xampp/cgi-bin">
AllowOverride All
Options Indexes FollowSymLinks ExecCGI
Order allow,deny
Allow from all
</Directory>

On script:
#!"C:/xampp/perl/bin/perl.exe"

Restart apache and run localhost/cgi-bin/script.pl

Anyway, get a linux box to run apache, xampp is buggy.

Thanks for the input. On script...are the quotes required?

dunhill 12-07-2013 10:50 PM

you can remove them

theking 12-07-2013 10:58 PM

Quote:

Originally Posted by dunhill (Post 19900523)
you can remove them

Thanks once again.

theking 12-07-2013 11:59 PM

I an now getting a 403 error.

You don't have permission to access the requested object. It is either read-protected or not readable by the server.

dunhill 12-08-2013 12:43 AM

Before Script alias add:
<Directory "C:/xampp/cgi-bin">
Require all granted
</Directory>
This should fix the 403 error

money biz 12-08-2013 03:07 AM

i think wamp is easyer to use

Cyber Fucker 12-08-2013 09:58 AM

I use easyphp and I prefer it over xamp or wamp.


All times are GMT -7. The time now is 04:58 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123