Hi Guys,
I am back again with yet another tutorial on how to run cgi scripts in Apache or IBM IHS [HTTP Server]
1)First of all as i always say, take backup of HTTPD.CONF
2)Now open the httpd.conf with you favourite editor.Mine is notepad ++ ofcourse.
3)Find this entry LoadModule cgi_module modules/mod_cgi.so and uncomment it if it is commented otherwise leave that.
4)Then find
<Directory />
Options FollowSymLinks +ExecCGI
AllowOverride None
</Directory>
And add +ExecCGI as i have added above.
5)Uncomment this ScriptAlias /cgi-bin/ “<IHS INSTALLED PATH>/cgi-bin/” or ADD that entry if that is not existing, here i am giving the alias name as /cgi-bin/ itself if you want you can change it accordingly.
6)Then add one more directive
<Directory “<IHS INSTALLED PATH>/cgi-bin”>
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
7)Then add AddHandler cgi-script .cgi .pl
8)Last but not least recycle the IHS or Apache
Put the cgi or perl scripts in the cgi-bin directory and access it with http://<YOURHOST>/cgi-bin/yourscript.cgi
Hope this will help you guys.Any issues reply me bye guys.
Incoming search terms:
- ibm http server cgi (14)
- IHS CGI (9)
- ibm http server cgi support (5)
- scriptalias ihs (4)
- IHS perl cgi (4)
- ibm websphere perl cgi (3)
- ibmi ScriptAlias (3)
- scriptalias ihs cgi (3)
- ibm ihs cgi (3)
- IBM Httpserver cgi (3)
- IHS ScriptAlias (3)
- execute cgi scripts ibmihs (2)
- ibm http server perl (2)
- install perl script on IBM http server (2)
- enable cgi in ihs (2)
- how to change the color of link in table data (2)
- ihs execute cgi (2)
- enabling ihs for cgi (2)
- ihs 7 cgi AllowOverride None (2)
- insert data from dynamic textbox in php (2)
- ibm httpd cgi scripts (2)
- cgi configuration on IBM HTTP Server (2)
- setup ihs to execute jsp (2)
- CGI in IBM websphere (2)
- cgi-bin in ibm http server (2)
- cgi scripts IBM http server rad 7 5 (2)
- running cgi scripts on ibm http server (2)
- cgi-bin for ihs (2)
- cgi-bin Ibm http server (2)
- IHS Options -Indexes FollowSymLinks (1)
- ihs configure cgi (1)
- ihs ibm cgi (1)
- ihs css access deny httpd conf (1)
- ihs not executing perl script in cgi (1)
- IHS executing perl scrpt (1)
- IHS cgi-bin setup (1)
- ihs cgi config (1)
- ihs cgi bin (1)
- ibm ihs and perl (1)
- ibm ihs cgi file not running (1)
You will also be interested in ,
- Simple Perl Module Script
- Ignore empty lines using perl
- Find the size of a file or text file using perl
- Simple User Input And Sleep Functionality Using Perl Script
- A reference to valid parameters for cookie call in perl
- Embedding html in perl, how to do that?
- Split /etc/passwd file using perl script
- Set and get cookie using perl or cgi script
- Reading input from keyboard and finding the sum using perl
