Page 1 of 1

Where to put my .pl files? (Win XP) 1.7.7 [SOLVED]

PostPosted: 19. November 2011 04:48
by moneysav
Hi,
I have installed Xampp from scratch and would like to know where to put my many .pl files of which one of them is called config.pl?

regards

Re: Where to put my .pl files?

PostPosted: 19. November 2011 05:04
by Sharley
G'day,

http://www.apachefriends.org/en/xampp-windows.html#1168

Two locations are configured to execute Perl .pl files in a default XAMPP installation:

1. In the htdocs folder either in another folder in the htdocs folder (except the xampp folder) or just in the htdocs folder.

2. In the \xampp\cgi-bin folder and again, in a folder or just in the cgi-bin folder.

If using the htdocs folder your scripts would be called by:
http://localhost/config.pl
or in a folder
http://localhost/myfolder/config.pl

Using the cgi-bin method:
http://localhost/cgi-bin/config.pl
or in a folder
http://localhost/cgi-bin/myfolder/config.pl

Is that what you were after?

Cheerio. :)

Re: Where to put my .pl files?

PostPosted: 19. November 2011 11:42
by Sharley
I have split this topic to the Perl forum where you may have a better chance of having someone look at your scripts.
viewforum.php?f=6

Good luck Alex and my best wishes.