11-25-2002
Yep, and when you run the script like cstovall did, as a parameter to the shell, the script does not need the executable bit set.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I downloaded Apache 1.3.27.tar.gz into my SCO u/install directory.
However, to begin with, I couldn't untar the file using the " tar xvf apache-1.3.27.tar.gz" command, so I used winzip from a windows computer on our network. Winzip untarred the file and I transferred the files to the SCO... (2 Replies)
Discussion started by: cstovall
2 Replies
2. Solaris
I have a Solaris 8 box and need to install Apache 2.0.55 on it. First thing I tried was compiling from source code. During the make phase, I got the following errors:
Then I tried downloading the binaries. I tried the one available from Apache's site and the one from sunfreeware.com, with... (3 Replies)
Discussion started by: GKnight
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I'm a new person in here and also newbie. When I create a home folder for User and let them install any things they want in their own folder but there is one problem and i don't know how to resolved it. I post with a captured picture about this problem
... (1 Reply)
Discussion started by: cthinh
1 Replies
4. Linux
hi
i want to set up LInux mail server for intranet purpose. i used following document as reference Linux Mail Server
softwares used are :
Postfix # pre installed
Procmail # pre installed
Fetchmail # pre installed
SpamBayes
Mutt #... (1 Reply)
Discussion started by: zedex
1 Replies
5. UNIX for Dummies Questions & Answers
Hello.
Could you please post an example of configuration of Apache + mod_fcgi + suphp? Till now I can get to work only either mod_fcgi or suphp, but not together.
As I understand, suphp binary should be called from FCGIWrapper directive, but it always says, that SCRIPT_NAME variable is not... (0 Replies)
Discussion started by: FractalizeR
0 Replies
6. Web Development
Hello guys
I have been running a LAMP stack for awhile now but have never really explored the server side end of things. What I am trying to do is have a python script on a website run a bash command. This will accomplish a system so someone can create an account for proxy access via a webpage.... (45 Replies)
Discussion started by: darkphaux
45 Replies
7. Web Development
Hi,
I just installed Apache 2.0.54 and when I try and start httpd I get
mohit@mohit-desktop:/sw/pkg/apache/bin$ ./httpd -k start
httpd: Could not determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
(13): make_sock: could not bind to address :80
no listening... (1 Reply)
Discussion started by: mojoman
1 Replies
8. IP Networking
Hi,
I am using VMWARE and when I have the network connection set to NAT and the VM set to DHCP I get internet connection. But when I set the connection to BRIDGED and assign a static IP address I loose internet connection. I have used netconfig to manually assign the IP Address, GATEWAY, and... (5 Replies)
Discussion started by: mojoman
5 Replies
9. Linux
I configured a WebDAV server using Apache. Here is my configuration:
DAVLockDB /var/www/DAVLock.db
<Location /majid>
AllowOverride None
Options +Indexes
DAV On
AuthUserFile
/var/www/users.db
AuthName Authentication
AuthType Basic
<Limit... (1 Reply)
Discussion started by: majid.merkava
1 Replies
10. Red Hat
I'm trying to set up two virtual hosts. Here's my httpd config:
<Directory /Users/userX/dev/sandbox-2>
Order deny,allow
deny from All
Allow from localhost
</Directory>
NameVirtualHost 127.0.0.1
<VirtualHost 127.0.0.1>
DocumentRoot "/Users/userX/dev/sandbox-2"
... (0 Replies)
Discussion started by: GlideK
0 Replies
LEARN ABOUT FREEBSD
atf-sh
ATF-SH(1) BSD General Commands Manual ATF-SH(1)
NAME
atf-sh [-s shell] -- interpreter for shell-based test programs
SYNOPSIS
atf-sh script
DESCRIPTION
atf-sh is an interpreter that runs the test program given in script after loading the atf-sh(3) library.
atf-sh is not a real interpreter though: it is just a wrapper around the system-wide shell defined by ATF_SHELL. atf-sh executes the inter-
preter, loads the atf-sh(3) library and then runs the script. You must consider atf-sh to be a POSIX shell by default and thus should not
use any non-standard extensions.
The following options are available:
-s shell Specifies the shell to use instead of the value provided by ATF_SHELL.
ENVIRONMENT
ATF_LIBEXECDIR Overrides the builtin directory where atf-sh is located. Should not be overridden other than for testing purposes.
ATF_PKGDATADIR Overrides the builtin directory where libatf-sh.subr is located. Should not be overridden other than for testing purposes.
ATF_SHELL Path to the system shell to be used in the generated scripts. Scripts must not rely on this variable being set to select a
specific interpreter.
EXAMPLES
Scripts using atf-sh(3) should start with:
#! /usr/bin/env atf-sh
Alternatively, if you want to explicitly choose a shell interpreter, you cannot rely on env(1) to find atf-sh. Instead, you have to hardcode
the path to atf-sh in the script and then use the -s option afterwards as a single parameter:
#! /path/to/bin/atf-sh -s/bin/bash
ENVIRONMENT
ATF_SHELL Path to the system shell to be used in the generated scripts.
SEE ALSO
atf-sh(3)
BSD
September 27, 2014 BSD