10-18-2016
This might be a permissions issue. Remember that the webserver account (often Apache) will be the one that calls your code. What do you have in the error logs?
Can you run any cgi-script through your webserver, e.g. just a simple Hello display. That way we can check that you have the code in the right place too.
Robin
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
If I have a Perl CGI script (script01), which fills an array(s) with information and outputs a HTML page with a link to another CGI page (script02); is there anyway to pass the array(s) from "script01" to "script02" when the page visitor clicks the link?
Hope that makes sense!
:) (2 Replies)
Discussion started by: WIntellect
2 Replies
2. Shell Programming and Scripting
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)
Discussion started by: hodges
1 Replies
3. Shell Programming and Scripting
How can I execute the unix command "cd - Change directory" command, so that my command prompt should be reflected for that change.
Example : Now you are in your home directory i.e /home/naresh and you have some sub directory called unixinfo in your home directory. i want to write a script,so... (2 Replies)
Discussion started by: Naresh Kumar
2 Replies
4. Shell Programming and Scripting
HI ,
I have to write a script for some testing , which will telnet to a device and execute some TL1 commands..
Does any one knows how to execute TL1 commands through a script
Thanks in advance
Binu (1 Reply)
Discussion started by: msbinu
1 Replies
5. Solaris
Hi all,
I am trying to execute cgi scripts on solaris, but everytime i get a internal server error...
The syntax of my .cgi script is correct as ive checked..
Steps i followed
1.started apache
2.The UNIX and Linux Forums - Learn UNIX and Linux from Experts (in opera)
3.places my cgi scripts... (7 Replies)
Discussion started by: wrapster
7 Replies
6. Web Development
Hi,
I am trying to implement a server monitoring dashboard using cgi scripting. I am planning to run the necessary unix scripts from the web page using cgi. This method works fine for standard unix commands but I am unable to run some external unix commands (like swadm show_processes, swadm... (9 Replies)
Discussion started by: jofinjoseph
9 Replies
7. Shell Programming and Scripting
Hi All,
I am trying to execute a shell script containg awk commands. But unable to do so. Below is my script. Please help.
The name of the script is scan.sh and I have tried executing it using the command sh scan.sh
It is giving an error which reads like:
awk:syntax error near line 7... (3 Replies)
Discussion started by: misb
3 Replies
8. Shell Programming and Scripting
I am trying to run SSH , mkdir and other unix commands using Perl CGI. But i am not able to Execute these commands.
Please help me out !!!!
SSH and mkdir is necessity for me.
I will be thankful to you...!!!!!
I am trying like:
In perl CGI file i am writing like: @list = `ssh... (28 Replies)
Discussion started by: Navrattan Bansa
28 Replies
9. Shell Programming and Scripting
Hi
I am Run Perl CGI Script. In which i am running SCP Command. But I want that command to be run into background and exit the script. But Still Web page waiting for Finish the script.
I m doing like :
system ("scp -r machinename:/path/to/file/for/copy/ /path/for/ destination/directory/ &");... (3 Replies)
Discussion started by: Navrattan Bansa
3 Replies
10. Shell Programming and Scripting
Hello
In the shell script we have a FTP command like below
ftp -n -v -q winftp.principal.com >/infa/datafiles/GRP/Scripts/ftp_from_infa_dvcn.log<<END_SCRIPT
quote USER $FTP_USER
quote PASS $FTP_PASS
ascii
lcd $FTP_LOCALDIR
cd $FTP_FLDR
put $FTP_FILE
bye
exit
If i... (1 Reply)
Discussion started by: Pratik4891
1 Replies
LEARN ABOUT DEBIAN
weborf.conf
Weborf(5) File Formats Manual Weborf(5)
NAME
weborf.conf - configuration file for weborf daemon
SYNOPSIS
/etc/weborf.conf
DESCRIPTION
Weborf is a minimal webserver. Also has a limited support for webdav.
Can be started as stand-alone or as SystemV daemon. This manual page documents Weborf's configuration file, used only when it is started as
daemon.
On debian systems, the script to run weborf as a daemon is located into /usr/share/docs/weborf and has to be manually copied into
/etc/init.d
Weborf is released under the GNU General Public License version 3.
DESCRIPTION
Options are case sensitive. Immediately followed by the equal = sign, without any space between name and value. Lines beginning with #
will be ignored and treated as comments.
indexes
By default weborf searches for index.html. Anyway it is possible to specify a different index file and also many index files. Name
of the pages must be separated by a comma and between them there aren't spaces.
basedir
Default base directory used by the webserver. The default means that this will be used also when virtual hosts are enabled, if the
requested host is unknown. Of course the user used for the webserver will need to have access to this directory.
use-cgi
Can be true or false. If false weborf will handle all files as normal files. Otherwise it will use the CGI protocol to execute some
files.
use-mime
Can be true or false. If true weborf will send the Content-Type header to the clients. Turning it off will increase speed but might
cause problems with some old clients.
cgi List of extensions to consider as dynamic pages and binaries to execute them
auth-bin
Path of the binary that provides authentication to weborf
auth-socket
Path of the unix socket that weborf will use to connect to the authentication server
cachedir
Will set the path of the directory used for caching
user Username of the user that will run the webserver. On debian this is usually www-data.
virtual
This directive is used to enable virtualhosts. One line is needed for each port. The format is: vir-
tual#port#domain1=basedir1,domain2=basedir2
EXAMPLE
Example file can be found in /usr/share/doc/weborf/examples/weborf.conf
SEE ALSO
weborf(1)
VERSION
Weborf0.13
WEB
http://galileo.dmi.unict.it/wiki/weborf/
AUTHORS
Salvo "LtWorf" Tomaselli <tiposchi@tiscali.it>
Salvo Rinaldi <salvin@anche.no>
Minimal webserver Sep 13, 2009 Weborf(5)