logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



Location for Perl Scripts

 
Post new topic   Reply to topic    Apache Forum Index -> Coding & Scripting Corner



View previous topic :: View next topic  
Author Message
ArtM



Joined: 23 Feb 2006
Posts: 59
Location: Bedford NS Canada

PostPosted: Mon 13 Mar '06 0:39    Post subject: Location for Perl Scripts Reply with quote

What is the preferred way of organizing Perl scripts ?

Put them all in a cg-bin outside the web docs root ?

Put them - on a site by site basis - within the site web docs ?

The latter sounds better organizationally to me.
Back to top
Jorge



Joined: 12 Mar 2006
Posts: 376
Location: Belgium

PostPosted: Mon 13 Mar '06 0:59    Post subject: Re: Location for Perl Scripts Reply with quote

ArtM wrote:
What is the preferred way of organizing Perl scripts ?

Put them all in a cg-bin outside the web docs root ?

Put them - on a site by site basis - within the site web docs ?

The latter sounds better organizationally to me.


every vhost can have its on cgi-bin, so i ckeep them there

s:\host\domain.com\httpdocs <- stuff goes here
s:\host\domain.com\cgi-bin <- perl goes here

just use the "ScriptAlias" tag in your vhost
Back to top
ArtM



Joined: 23 Feb 2006
Posts: 59
Location: Bedford NS Canada

PostPosted: Mon 13 Mar '06 2:50    Post subject: Re: Location for Perl Scripts Reply with quote

Jorge wrote:
ArtM wrote:
What is the preferred way of organizing Perl scripts ?

Put them all in a cg-bin outside the web docs root ?

Put them - on a site by site basis - within the site web docs ?

The latter sounds better organizationally to me.


every vhost can have its on cgi-bin, so i ckeep them there

s:\host\domain.com\httpdocs <- stuff goes here
s:\host\domain.com\cgi-bin <- perl goes here

just use the "ScriptAlias" tag in your vhost



I thought there was a better way. Thanks Jorge.
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Coding & Scripting Corner
Page 1 of 1