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

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.


Post new topic   Forum Index -> Coding & Scripting Corner View previous topic :: View next topic
Reply to topic   Topic: Location for Perl Scripts
Author
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


Reply to topic   Topic: Location for Perl Scripts View previous topic :: View next topic
Post new topic   Forum Index -> Coding & Scripting Corner