Home  |  Linux  | Mysql  | PHP  | XML
From:Dermot Paikkos Date:Thu Apr 16 09:03:16 2009
Subject:RE: how to add support of Msql and CGI in Apache
You can choose whatever directory you like. On *nix machines it's
usually on /var/www/cgi-bin, but it can be any directory you want. It
might even be set-up to work by default. Try it. Stick your script into
the script directory and point your browser at
http://host/cgi-bin/youscript.pl, and see what happens.



Configuration of dynamic content is done via the Apache configuration
file. Find your Apache conf file (httpd.conf) and edit it according to
the instructions that you can find here:

http://httpd.apache.org/docs/2.2/howto/cgi.html



Good luck,

Dp.









From: Raheel Hassan [mailto:raheel.hassan@gmail.com]
Sent: 16 April 2009 09:17
To: Dermot Paikkos
Subject: Re: how to add support of Msql and CGI in Apache



Could you please tell me which directory i need to configure and what
changes i need to make in which configuration file so that i can execute
my CGI scripts. I have already created my CGI scripts and i am using
Apache2.2.9.

Kindest Regards,
Raheel.

On Tue, Apr 14, 2009 at 5:33 PM, Dermot Paikkos
<Dermot.Paikkos@sciencephoto.co.uk> wrote:

: how to add support of Msql and CGI in Apache
>
> Hello,
Hi


> I am facing problems in executing cgi programs, on Apache web server,
> can
> any body tell me how i can configure my Apache server so that it can
> support
> CGI and Msql. I also wanted to enable ssl support in the Apache
server.
> Thanks in advance.

The basics are:

1) Configure a directory as your cgi-bin directory*.
2) Create a basic script to excute**
3) Install from cpan DBI and DBD::mysql

When you get up to stage 2, you should post back to the list with what
you have and you should get some help with the rest.

Good luck,
Dp.



* See ~/howto/cgi.html at httpd.apache.org
** perldoc CGI



--
To unsubscribe, e-mail: beginners-cgi-unsubscribe@perl.org
For additional commands, e-mail: beginners-cgi-help@perl.org
http://learn.perl.org/







Navigate in group perl.beginners.cgi at sever nntp.perl.org
Previous Next


Your recent visits
CGI ap on NetworkSolutions host
Are there any free web hosting providers who also allow perl scripting?
Re: script working from shell, but not from browser.
Re: Need help to resove..... ExtUtils-Makemaker comilationS
Re: Loading results (via ajax) from a CGI



  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants