Mailinglist Archive: opensuse-programming (96 mails)
| < Previous | Next > |
RE: [suse-programming-e] bash script
- From: Jonathan Cowherd <jonathan.cowherd@xxxxxxxxxxxx>
- Date: Tue, 18 Mar 2003 18:10:29 -0500
- Message-id: <086DA37134977247BEAB8829B40793F5DA3D40@xxxxxxxxxxxxxxxxxxxxxxxxxx>
%s/weather/whether/g
:)
Jonathan Paul Cowherd
Linux and Java Administrator
Genscape, Inc.
Email: jonathan.cowherd@xxxxxxxxxxxx
Office: (502) 583-3730
Mobile: (502) 314-0444
> -----Original Message-----
> From: Jonathan Cowherd [mailto:jonathan.cowherd@xxxxxxxxxxxx]
> Sent: Tuesday, March 18, 2003 6:09 PM
> To: 'jlm@xxxxxxxxxxx'
> Cc: 'suse-programming-e@xxxxxxxx'
> Subject: RE: [suse-programming-e] bash script
>
>
> > Change to where you expect the scripts to be. I believe it
> > must be under the same directory as the document's root.
>
> Not necessarly. You can setup apache to execute cgi in any
> directory. Check out mod_cgi @ apache's website for more info.
>
> > If you are just trying to execute this in the shell then I
> > will try not to overlap John's response. Check the
> > permissions on the directory where the file is stored. The
> > execute bit must be on for the user. Here is a directory I
> > store stuff in:
> >
> > drwxrwxrwx 2 jlm dev 1112 Nov 14 15:54
> /home/jlm/bin
> >
> > If the execute bit on the directory is not on then nothing in
> > the directory is allowed to execute.
>
> The directory needs to be executable in order to change to
> it, the directory being executable does not determine weather
> the files can be executed, only the files themselves.
>
>
> Jonathan Paul Cowherd
> Linux and Java Administrator
> Genscape, Inc.
> Email: jonathan.cowherd@xxxxxxxxxxxx
> Office: (502) 583-3730
> Mobile: (502) 314-0444
>
>
:)
Jonathan Paul Cowherd
Linux and Java Administrator
Genscape, Inc.
Email: jonathan.cowherd@xxxxxxxxxxxx
Office: (502) 583-3730
Mobile: (502) 314-0444
> -----Original Message-----
> From: Jonathan Cowherd [mailto:jonathan.cowherd@xxxxxxxxxxxx]
> Sent: Tuesday, March 18, 2003 6:09 PM
> To: 'jlm@xxxxxxxxxxx'
> Cc: 'suse-programming-e@xxxxxxxx'
> Subject: RE: [suse-programming-e] bash script
>
>
> > Change to where you expect the scripts to be. I believe it
> > must be under the same directory as the document's root.
>
> Not necessarly. You can setup apache to execute cgi in any
> directory. Check out mod_cgi @ apache's website for more info.
>
> > If you are just trying to execute this in the shell then I
> > will try not to overlap John's response. Check the
> > permissions on the directory where the file is stored. The
> > execute bit must be on for the user. Here is a directory I
> > store stuff in:
> >
> > drwxrwxrwx 2 jlm dev 1112 Nov 14 15:54
> /home/jlm/bin
> >
> > If the execute bit on the directory is not on then nothing in
> > the directory is allowed to execute.
>
> The directory needs to be executable in order to change to
> it, the directory being executable does not determine weather
> the files can be executed, only the files themselves.
>
>
> Jonathan Paul Cowherd
> Linux and Java Administrator
> Genscape, Inc.
> Email: jonathan.cowherd@xxxxxxxxxxxx
> Office: (502) 583-3730
> Mobile: (502) 314-0444
>
>
| < Previous | Next > |