Do the cgi-bin scripts run on the command line when you su to the web user?
yes they do.My machine is a single node.(I have root access as well,always)
Code:
Are the cgi scripts php, asp, shell, perl?
perl
Code:
ScriptAlias /cgi-bin/ "/var/apache2/2.2/cgi-bin/"
This is what my httpd.conf reads.
So i placed the a test file in /var/apache2/2.2/cgi-bin (gave it "x" permission)
But when i run it in the browser i get a "internal server error"
Hi all,
I'm developing a system which requires me to run a ksh script from within a cgi script. What sort of syntax will I need to do this, I'm sure it's simple but can't find out how anywhere!
Thanks. (1 Reply)
Hi,
I am creating a pipe in a directory $HOME/pipes. The pipename should be
L${PROGNAME}. Whenever i embed these lines in shell script, i get an error
mkfifo: No such file or directory.
I am creating a pipe with the key word
mkfifo $HOME/pipes/L${PROGNAME}.
Please help me how to get... (5 Replies)
Hi everyone,
I would like to know how to compile and run lex programs on solaris 10.
the conventional way is
$ lex <name.l>
$ cc lex.yy.c -ll
$ ./a.out
but while trying to execute the 2nd command :i get a reference saying that the command is old or that main is not supported...
Hence... (1 Reply)
Hi all,
I was playing around with some scripts and spoilt solaris completely ..
So i reinstalled and thought of giving the password once i log in...
However i forgot all about it and went ahead installing all my drivers and particularly KDE 3.5.8 on my system..
But for kde to show up at the... (0 Replies)
Hi all,
I am trying to boot a an OS from RAM...(its a opensolaris based distro)
For this i have picked up 2 key lib files that when copied to /tmp and mounted to respective places will do the job..
The sizes of these files combined comes upto 600mb.(i have 2gb ram)
Now i have also located the... (0 Replies)
Hi all,
I wanted to know how to install oracle on solaris (b83)..
I also would like to know of a link that i can download oracle from?
please reply fast..
I need it for my exams day after tomorrow...
please reply (1 Reply)
Hi ,
I wanted to know how to install XEN on solaris?
I have looked at virutal box but the latest release is not supporting many OS, and for my development work i need some sort of virtual systems.....
and older versions of virtual box dont run on my build of solaris (b83)!!!
so please help
... (3 Replies)
Hello....
I'm developing a script; the first step is to create a file (its name is IP) which contains several lines. The second step is to create and execute expect programs using the data in the (IP) file.
Unfortunately, the loop is not executed properly....sometimes, the 2nd expect file is... (2 Replies)
Hi,
These are the text file I have
//input1.txt//
cd dir1/dir2/pg1.txt
cd dir3/dir4/pg2.txt
cd dir88/dir5/pg4.txt
cd dir7/dir6/pg5.txt
cd dir8/dir9/pg7.txt
And each text file has some text.
Now I have to write a shell script which reads input1.txt and changes the directory as shown... (1 Reply)
Discussion started by: bhavanabahety
1 Replies
LEARN ABOUT DEBIAN
lg_intro
lg_intro(1) General Commands Manual lg_intro(1)NAME
lg_intro - introduction to the looking glass
INTRODUCTION
The looking glass offers a web based interface to routers to users without their needing permission to login to the router. This may be a
perfect interface for customer support or less savvy folks, and many ISPs have given public access to such an interface as a "route
server."
DESCRIPTION
The looking glass consists of two CGI perl(1) scripts, lg.cgi and lgform.cgi, and the lg.conf(5) configuration file.
Both of these scripts begin with reading the configuration file. If there is an error in the file's syntax or if the file can not be
found, error messages will be displayed on standard-error. The Apache http server redirects standard-error to its error log file by
default.
lgform.cgi displays a html form consisting of a list of possible router commands that can be run and a scrolling list of routers that these
commands may be run on. When the form is submitted, lg.cgi is run.
lg.cgi begins by performing some basic checks on the arguments passed to it. If these checks pass, lg.cgi either displays cached data from
a previous invocation, if that data exists and is within the cache interval, or uses clogin(1) to login to the device and execute the
command. The results of the command are cached if applicable and displayed for the user.
GETTING STARTED
Besides lg.conf(5), additional instructions for setting up the looking glass can be found in the README file under
/var/lib/rancid/README.lg.
Note that the looking glass scripts require a few perl modules not included with rancid. Rancid's configure process does not check for
these. See the README file.
SEE ALSO cloginrc(5), clogin(1), lg.conf(5)HISTORY
Rancid's looking glass is based on Ed Kern's (included by permission, thanks Ed!), which could once be found on http://nitrous.digex.net/
but has apparently been removed. Support for Juniper and Foundry devices, use of rancid's device login scripts, and additional commands
and checks have been added to the original.
24 Jan 2001 lg_intro(1)