08-24-2010
Hi, scottn, thanks for your quick reply.
I am using Nginx, how to do this in Nginx?
10 More Discussions You Might Find Interesting
1. Linux
Hi All,
I'm running RH 9.0 on a PII box with 160MB RAM. Just downloaded RealVNC X86 Linux (version 3.3.7). How can I get the HTTP listening port up ?
Thanks,
KENT (6 Replies)
Discussion started by: kxchen_home
6 Replies
2. UNIX for Advanced & Expert Users
i need to write a program to know how many users are presently connected to my ftp server and http server .
i need to keep a count of this and this count should be available to other different software . how to make this GLOBAL so that other softwares can access this count value (7 Replies)
Discussion started by: hariprasad
7 Replies
3. Linux
Hi all,
I am running an oracle application server but the problem is that the default port it is using is 7777 and if i want to make it port 80 i have to run the server as root which something i do not want to do. If i understand well to run on a port under 1024 the application needs root... (1 Reply)
Discussion started by: staind_art
1 Replies
4. UNIX and Linux Applications
hi all
i have some question if any one can help me please
How get root without local ? :(
&
How get root with open port in server use the telnet ? :(
&
How get root with Buffer Overflows ? :(
please help me
thanx to all (2 Replies)
Discussion started by: iis
2 Replies
5. Shell Programming and Scripting
hi ,
i need to run a script that delete files when i logout as a user other than root user .
I have tried out using .bash_logout but that doesnt seem to work , so any alternative for this to be done.
Thanks in advance,
Harsha (6 Replies)
Discussion started by: harsha10
6 Replies
6. AIX
Good morning everybody. I have just receiedv a complaint from our DBA saying that if he create a scripts to run some Oracle performance scripts using crontab and the scheduling part is ok but the job is failed when I checked on /var/adm/cron/log.
I have tried his scripts using Oracle id directly... (4 Replies)
Discussion started by: kwliew999
4 Replies
7. UNIX for Dummies Questions & Answers
hi
i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help
Thanks (5 Replies)
Discussion started by: suryashikha
5 Replies
8. Shell Programming and Scripting
So I have a script that runs as a non-root user, lets say the username is 'xymon' .
This script needs to log on to a remote system as a non-root user also and call up a bash script that runs another bash script as root.
in short: user xymon on system A needs to run a file as root user and have... (2 Replies)
Discussion started by: damang111
2 Replies
9. Shell Programming and Scripting
Hello I have a script which is working fine so far to generate HTML file. Now i am wondering how do i include a syntax where it can change itself to root user and execute a specific commands as root user.
Please help, Thanks in advance.
-Siddhesh (2 Replies)
Discussion started by: Siddheshk
2 Replies
10. Shell Programming and Scripting
Can someone help in writing some script through which I can transfer file (scp) from root user in abc server to crt user in hfg server and can give the crt user password in script itself so that it doesn't prompt me every time for password (4 Replies)
Discussion started by: Moon1234
4 Replies
LEARN ABOUT MOJAVE
net-server5.18
NET-SERVER(1) User Contributed Perl Documentation NET-SERVER(1)
NAME
net-server - Base Net::Server starting module
SYNOPSIS
net-server [base type] [net server arguments]
net-server PreFork ipv '*'
net-server HTTP
net-server HTTP app foo.cgi
net-server HTTP app foo.cgi app /=bar.cgi
net-server HTTP port 8080 port 8443/ssl ipv '*' server_type PreFork --SSL_key_file=my.key --SSL_cert_file=my.crt access_log_file STDERR
DESCRIPTION
The net-server program gives a simple way to test out code and try port connection parameters. Though the running server can be robust
enough for full tim use, it is anticipated that this binary will just be used for basic testing of net-server ports, acting as a simple
echo server, or for running development scripts as CGI.
OPTIONS
"base type"
The very first argument may be a Net::Server flavor. This is given as shorthand for writing out server_type "ServerFlavor".
Additionally, this allows types such as HTTP and PSGI, which are not true Net::Server base types, to subclass other server types via an
additional server_type argument.
net-server PreFork
net-server HTTP # becomes a HTTP server in the Fork flavor
net-server HTTP server_type PreFork # preforking HTTP server
"port"
Port to bind upon. Default is 80 if running a HTTP server as root, 8080 if running a HTTP server as non-root, or 20203 otherwise.
Multiple value can be given for binding to multiple ports. All of the methods for specifying port attributes enumerated in Net::Server
and Net::Server::Proto are available here.
net-server port 20201
net-server port 20202
net-server port 20203/IPv6
"host"
Host to bind to. Default is *. Will bind to an IPv4 socket if an IPv4 address is given. Will bind to an IPv6 socket if an IPv6
address is given (requires installation of IO::Socket::INET6).
If a hostname is given and "ipv" is still set to 4, an IPv4 socket will be created. If a hostname is given and "ipv" is set to 6, an
IPv6 socket will be created. If a hostname is given and "ipv" is set to * (default), a lookup will be performed and any available IPv4
or IPv6 addresses will be bound. The "ipv" parameter can be set directly, or passed along in the port, or additionally can be passed
as part of the hostname.
net-server host localhost
net-server host localhost/IPv4
There are many more options available. Please see the Net::Server documentation.
AUTHOR
Paul Seamons <paul at seamons.com>
LICENSE
This package may be distributed under the terms of either the
GNU General Public License
or the
Perl Artistic License
perl v5.18.2 2012-06-12 NET-SERVER(1)