Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to share CGI Scripts across UNIX web server? Post 302105959 by karlsworld on Monday 5th of February 2007 06:11:42 PM
Old 02-05-2007
How to share CGI Scripts across UNIX web server?

Hi, is it possible to create a CGI folder somewhere on the server and allow all domains on that server be able to access the scripts? I tried a ScriptAlias addition in httpd.conf but still no luck. Would greatly appreciate any tips! Thanks.

Linux version 2.4.20-021stab028.3.777-enterprise
Plesk 7.5.4
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Dynamic web pages for Unix Web Server

Hi, my company is considering a new development of our web site, which used to run on Apachi over Solaris. The company who is going to do this for us knows only about developing it in ASP. I guess this means we'll have to have another ISS server on NT for these dynamic pages :( What are... (5 Replies)
Discussion started by: me2unix
5 Replies

2. UNIX for Dummies Questions & Answers

Web browser and web server for Unix

Hi there all I am looking for both a web browser as well as a web server (Ie. Netscape Fasttrack) that will run on HPUX 10. If you know where I can get these free via FTP, please contact me as soon as possible!! Thanks, Mark (1 Reply)
Discussion started by: mleathers
1 Replies

3. UNIX for Advanced & Expert Users

Web server configuration in Unix

Dear All, i'm very new to this forum, infact just joined today. :o . i want to install and configure web server on Unix (Sco Openserver 5.0.7). i want any documents or text guide on this..... awaiting for experts help, Thanx Nikhil (1 Reply)
Discussion started by: niksharma
1 Replies

4. UNIX for Dummies Questions & Answers

How to connect unix server via web

How can I conncet web server via web? What are the pre- requist? I am having only one Public IP, I am useing SCO OPEN SERVER 5.0.5 Help Me. Thanks in advance (3 Replies)
Discussion started by: max_san007
3 Replies

5. Shell Programming and Scripting

How to share CGI Scripts across UNIX web server?

Hi, is it possible to create a CGI folder somewhere on the server and allow all domains on that server be able to access the scripts? I tried a ScriptAlias addition in httpd.conf but still no luck. Would greatly appreciate any tips! Thanks. Linux version 2.4.20-021stab028.3.777-enterprise Plesk... (1 Reply)
Discussion started by: karlsworld
1 Replies

6. Shell Programming and Scripting

How to connect unix server to unix server through shell scripts

Hi, I would like to connect UNIX server to UNIX server through shell scripts and i have some concepts . But i am totally confused how to connect UNIX server to UNIX server throuth running a script. It will be greatful to me if any buddy will help me. Thanks in advance. Phatan:) (2 Replies)
Discussion started by: phatan
2 Replies

7. Shell Programming and Scripting

How to connect unix server to unix server through shell scripts

Hi, I would like to connect UNIX server to UNIX server through shell scripts and i have some concepts . But i am totally confused how to connect UNIX server to UNIX server throuth running a script. It will be greatful to me if any buddy will help me. with simple example please. Thanks in... (2 Replies)
Discussion started by: phatan
2 Replies

8. UNIX for Dummies Questions & Answers

How do I share a directory in UNIX for another UNIX server?

Hi, Here's my newbie question! I've two servers with Oracle on. I've created an oralce export (10 GB) on server 1. Server 2 does not have enough space to copy the export and import it. I'd like to import the export from server 1 to server 2 remotely. If this was windows I'd create a... (2 Replies)
Discussion started by: AngryBunny
2 Replies

9. UNIX for Dummies Questions & Answers

To copy a file from one unix server to another unix server through scripts

I am getting the fallowing error when i am trying to execute the scp commomd in shell script warning: You have no controlling tty. Cannot read confirmation. warning: Authentication failed. Disconnected; key exchange or algorithm negotiation failed (Key exchange failed.). scp2: warning: ssh2... (1 Reply)
Discussion started by: manit
1 Replies

10. Shell Programming and Scripting

Apache/CGI Bin Accessing mounted SMB share

Hey Guys, I need to copy some files from my Apache server to SMB share ... copy $file,"/Volumes/v1/x/test/$datestamp$name$suffix" Unfortunately this command when executed from Apache/cgi-bin is not able to access mounted volumes .. is there anything that can be done about that ... Can... (1 Reply)
Discussion started by: NDxiak
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)
All times are GMT -4. The time now is 08:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy