10 More Discussions You Might Find Interesting
1. Solaris
I am trying to setup DNS server in Solaris 10.
I have two blade 1500 system and want to setup two name server
I would like to start setting up DNS. appreciate your help. (1 Reply)
Discussion started by: mnathan
1 Replies
2. UNIX for Dummies Questions & Answers
Hi all.
I need to configure a secondary dns server to get the zones that are in the primary server.
How can I do this? It's possible to make to sync automatically?
What configuration I ahve to do? And in which files?
Thanks in advance.
If anyone could give me examples or a tutorial, that... (4 Replies)
Discussion started by: kouh
4 Replies
3. Solaris
I have a newly built Solaris 10 server that I want to install Sun One web server. After building the server I use FTP to copy over the web server installation files into a directory I created (/usr/local/software/JES/6.1sp8). I run ./setup and get this.
bash: ./setup: Permission denied
I... (7 Replies)
Discussion started by: gsander
7 Replies
4. UNIX for Advanced & Expert Users
Hello all,
Am in the process of setting up ftp server in my RHEL3 box.
Here is where I downloaded the vsftp server
ftp://scary.beasts.org/users/cevans/vsftpd-2.1.1pre1.tar.gz
ftp server daemon is running fine, accepting connections from client but the issue is that 'user' I specifically... (3 Replies)
Discussion started by: matrixmadhan
3 Replies
5. Gentoo
We have C++ server (web applications) and Java Servers. I am not a Java developer but Java people say that Java Servers requires tomcat as it renders web pages. The Java server updates DB that C++ servers inquires upon and makes processing accordingly.
This setup is ok for a user as the user... (6 Replies)
Discussion started by: uunniixx
6 Replies
6. AIX
I know that IBM's official stance is that NIM does not work on etherchannel environment, but has anyone able to get around it?
I'm working on a p5-590 LPAR system, and the NIM master and clients are all on the same frame.
Any help is appreciated. (1 Reply)
Discussion started by: pdtak
1 Replies
7. UNIX for Dummies Questions & Answers
Not connected to the internet so I would like to set up 1 unix machine to be the ntp server and have it sync time to about 30 other machines that are all on an private 10net network?:confused: (3 Replies)
Discussion started by: parrisjr
3 Replies
8. HP-UX
Hi,
I'm planning to setup ftp server but I dont have yet what platform i'll be using. I think what ever flavor it is it will go in the same approach right, anyway I just would like to ask how to setup ftp in unix I know too many of here alraedy done with it.
Thanks in advance. (0 Replies)
Discussion started by: eykyn17
0 Replies
9. UNIX for Dummies Questions & Answers
Using Redhat Linux Enterprise AS 4
can someone teach me how to setup a dns server for my webserver?
i've registered a domainname at mydomain.com
but when i type in the domain i register i cannot enter to my webserver.
someone told me that it is related with the DNS setting on my server.
i've... (2 Replies)
Discussion started by: kaixiang88
2 Replies
10. UNIX for Dummies Questions & Answers
i want setup an ftp server on my homelab now i downloaded resource management book from sun there it shows you how to make the entry in the inet.d.conf file also how to control ftp access but how do u actually set it up?
say like i want certain file to be obtain through ftp how do i do that? oh... (1 Reply)
Discussion started by: rmuhammad
1 Replies
HTTP::Server::Simple::CGI(3pm) User Contributed Perl Documentation HTTP::Server::Simple::CGI(3pm)
NAME
HTTP::Server::Simple::CGI - CGI.pm-style version of HTTP::Server::Simple
DESCRIPTION
HTTP::Server::Simple was already simple, but some smart-ass pointed out that there is no CGI in HTTP, and so this module was born to
isolate the CGI.pm-related parts of this handler.
accept_hook
The accept_hook in this sub-class clears the environment to the start-up state.
post_setup_hook
Initializes the global CGI object, as well as other environment settings.
cgi_class [Classname]
Gets or sets the class to use for creating the $cgi object passed to "handle_request".
Called with a single argument, it sets the coderef. Called with no arguments, it returns this field's current value.
To provide an initialization subroutine to be run in the post_setup_hook, see "cgi_init".
e.g.
$server->cgi_class('CGI');
$server->cgi_init(sub {
require CGI;
CGI::initialize_globals();
});
or, if you want to use CGI::Simple,
$server->cgi_class('CGI::Simple');
$server->cgi_init(sub {
require CGI::Simple;
});
cgi_init [CODEREF]
A coderef to run in the post_setup_hook.
Called with a single argument, it sets the coderef. Called with no arguments, it returns this field's current value.
setup
This method sets up CGI environment variables based on various meta-headers, like the protocol, remote host name, request path, etc.
See the docs in HTTP::Server::Simple for more detail.
handle_request CGI
This routine is called whenever your server gets a request it can handle.
It's called with a CGI object that's been pre-initialized. You want to override this method in your subclass
handler
Handler implemented as part of HTTP::Server::Simple API
perl v5.10.1 2010-04-02 HTTP::Server::Simple::CGI(3pm)