Sponsored Content
Full Discussion: Apache2 configuration
Top Forums Web Development Apache2 configuration Post 302760257 by yifangt on Wednesday 23rd of January 2013 05:24:38 PM
Old 01-23-2013
Thanks Hydn!
That's the part I have been struggling with. Actually I had to scratch from the beggining by reading the Apache2 manual, where I easily got lost and do not know where to start. Normally I want to configure apache to use perl-script CGI, shell-script cgi, and then this blast cgi under /var/www/blast. I only know perl-cgi should be put in /usr/lib/cgi-bin. How to customize my apache configuration?
Code:
For multiple directories make a .htaccess on the directory you want to enable CGI content putting the option:
+ExecCGI

Which directory should I put the .htaccess file? I am lost with your statement. Thanks again!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Configuration

Can anyone please tell me anything about the following: AIX O/S - IBM RS6000 server I want to know where I can go to check and see how much RAM is intalled in the server, how many Processors are installed in the server, and how I can run a sar command to show me processor statistics? I... (4 Replies)
Discussion started by: Docboyeee
4 Replies

2. BSD

X configuration

HEllo, I try to Launch OOO, but I have X configuration problem. I 'm searching in man pages but if someone can help me... Of course I set the DISPLAY as explain in the man page but with no more result: setenv DISPLAY myws:0 Thanks in advance (1 Reply)
Discussion started by: SoulCoder
1 Replies

3. Post Here to Contact Site Administrators and Moderators

configuration

how to configure servor dns on windows servor 2003 (0 Replies)
Discussion started by: djest
0 Replies

4. Linux

configuration

hello, I don't know how to configure servor dns on linux,please help I thanck YOU (1 Reply)
Discussion started by: djest
1 Replies

5. AIX

Need help on IP Configuration

I have an RS/6000 running AIX 5.3. I would like to get either dhcp client working or assigning it an ip would be fine as well. I have tried using smit to do it many times trying different things, and I can get an ip assigned but it doesn't communicate with the network or internet. I haven't been... (3 Replies)
Discussion started by: izzzy
3 Replies

6. Red Hat

nagios configuration

HI all, This is my first topic in this forum. I have a test environment which has a fedora in it and i installed nagios 3.0.6 I added windows clients into it. But i am not getting informative outputs from it. Can anyone tell me where i can edit inorder to get a more informative garph output.... (4 Replies)
Discussion started by: Renjesh
4 Replies

7. AIX

DNS configuration help

I'm trying to configure DNS on a AIX 5.4 machine and I just can't figure it out. The IBM guide doesn't work. Smit also doesn't work. I have no idea how to make this happen. (2 Replies)
Discussion started by: madavid0
2 Replies

8. Solaris

RSC configuration

Hi All, Please send the configuration for RSC in solaris. Thanks and Regards, (3 Replies)
Discussion started by: lbreddy
3 Replies

9. Solaris

step step apache2 configuration doc

Hi Guys, does anyone know of a step by step guide on how configure apache2 web server in solaris 10? I will really appreciate it. Thanks a lot (1 Reply)
Discussion started by: cjashu
1 Replies

10. UNIX for Beginners Questions & Answers

Lsyncd Configuration

Hi All, Hope you all doing good. I'm facing some issue while syncing data using lsyncd. I'm working on a project to migrate data from a source S3 bucket to target S3 bucket. Both buckets has been configured via AWS storage gateway and shared to Linux servers as nfs shares. The data size on... (5 Replies)
Discussion started by: arun_adm
5 Replies
Mojo::Server::CGI(3pm)					User Contributed Perl Documentation				    Mojo::Server::CGI(3pm)

NAME
Mojo::Server::CGI - CGI server SYNOPSIS
use Mojo::Server::CGI; my $cgi = Mojo::Server::CGI->new; $cgi->unsubscribe('request') $cgi->on(request => sub { my ($cgi, $tx) = @_; # Request my $method = $tx->req->method; my $path = $tx->req->url->path; # Response $tx->res->code(200); $tx->res->headers->content_type('text/plain'); $tx->res->body("$method request for $path!"); # Resume transaction $tx->resume; }); $cgi->run; DESCRIPTION
Mojo::Server::CGI is a simple and portable implementation of RFC 3875. See Mojolicious::Guides::Cookbook for more. EVENTS
Mojo::Server::CGI inherits all events from Mojo::Server. ATTRIBUTES
Mojo::Server::CGI inherits all attributes from Mojo::Server and implements the following new ones. "nph" my $nph = $cgi->nph; $cgi = $cgi->nph(1); Activate non parsed header mode. METHODS
Mojo::Server::CGI inherits all methods from Mojo::Server and implements the following new ones. "run" $cgi->run; Run CGI. SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>. perl v5.14.2 2012-09-05 Mojo::Server::CGI(3pm)
All times are GMT -4. The time now is 10:20 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy