home | Manual index
CHECK !! : Installing perl environment for RaidenHTTPD

To setup a web server that can interpret PERL scripts such as *.cgi and *.pl, It's easist to achieve this by installing a RaidenHTTPD and a perl processor. PERL is not a necessary component in RaidenHTTPD, but many web programs such as forum softwares use it. It is better to have one so you can make use of many free web programs on the internet.

1. Download the latest ActivePerl from 'http://www.activestate.com/'.

ActivePerl download page: http://www.activestate.com/Products/ActivePerl/

note : we recommend you to WINDOWS MSI package

2. Run the setup program ex: ActivePerl-5.8.3.809-MSWin32-x86.msi.

Please make sure to install to the the default location: c:\perl. We will use this path throughout the whole tutorial. Unless you know what you are doing, otherwise, please do not change it.

You do not need to create IIS settings here.

3. Installing extra module for ActivePerl: mysql dbi

mysql is a commonly used database server program, if your perl script wishes to access mysql, a mysql dbi is needed to be installed first

1. Start c:\perl\bin\ppm-shell.bat and the ppm> prompt will appear.

PPM - Programmer's Package Manager version 3.1.
Copyright (c) 2001 ActiveState SRL. All Rights Reserved.

Entering interactive shell. Using Term::ReadLine::Stub as readline library.

Type 'help' to get started.

ppm>

2. Type: install DBI<enter>. Install DBD-mysql<enter>.

PPM - Programmer's Package Manager version 3.1.
Copyright (c) 2001 ActiveState SRL. All Rights Reserved.

Entering interactive shell. Using Term::ReadLine::Stub as readline library.

Type 'help' to get started.

ppm> install DBI
====================
Install 'DBI' version 1.42 in ActivePerl 5.8.3.809.
====================
Downloaded 508164 bytes.
Successfully installed DBI version 1.42 in ActivePerl 5.8.3.809.
ppm>

ppm> install DBD-mysql
====================
Install 'DBD-mysql' version 2.9002 in ActivePerl 5.8.3.809.
====================
Downloaded 178803 bytes.
Successfully installed DBD-mysql version 2.9002 in ActivePerl 5.8.3.809.
ppm>

 

3. Type exit<enter> to leave the ppm.


 

4. Start the RaidenAdmin program. Start the configuration interface.

Go to the virtual host tab. Check the CGI processor checkbox. Browse for the perl cgi processor path, which is c:/perl/bin/perl.exe by default.

Make sure the CGI doc1 TIP has the following extensions: .pl and .cgi. Finally, click ok and you are done. Now, your RaidenHTTPD is ready to run perl cgi scripts.

 

CHECK !! : PERL resources

ActivePerl official web site http://www.activestate.com/

© 2002-2009, RaidenHTTPD TEAM

ftp server web server dns server mail server streaming server

© http://www.raidenhttpd.com/, 2002-2012 all rights reserved. The copyrighted works contained in this information service shall not be copied, reproduced, varied, altered, modified, adapted, distributed, performed and displayed in any form without the written permission of the copyright owner. All trademarks belong to their respective owners.