Please support our Linux Servers and Apache advertiser: Programming Forums
Views: 15931 | Replies: 23
![]() |
•
•
Join Date: Jun 2004
Location: Maryland
Posts: 6
Reputation:
Rep Power: 0
Solved Threads: 0
First find out where the perl executable is, most likely /usr/bin/perl
My guess is that the cgi script is calling for /usr/local/bin/perl so
Open your ikonboard.cgi with Kwrite or w/e you like best.
The first line....
replace that with the correct url and it should work!
My guess is that the cgi script is calling for /usr/local/bin/perl so
Open your ikonboard.cgi with Kwrite or w/e you like best.
The first line....
#!/usr/bin/perl
•
•
Join Date: Mar 2005
Location: South Africa
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 0
•
•
•
•
Originally Posted by Brandog
Hello, I'm pretty new here and plan on making this my new tech support home if I can find what I'm looking for in a reasonable time! (other places just cant help me for some reason!)
Well here's the breakdown: I am using linux redhat 8.0 I "love the graphical interface"! I have 2 computers setup 1 is the dedicated server running linux and the other is a win 98 computer. I am using a DI-604 Router with 2 lan connections to the server and 1 to the win 98 computer, the assigned DHCP ip's for the server our 192.168.0.101<--resolved (DMZ) in router and 192.168.0.102.
I have set the server up to allow for http pages to be displayed outside my network by accessing the IP of my cable modem which resolves to the 192.168.0.101. I tried and have been trying to setup a .cgi script to exicute in the location of http://24.70.170.85/cgi-bin/ikonboard/ikonboard.cgi , now I don't have a clue what I'm doing wrong but when I access the page it doesent exicute, it just shows the text of the script?? I have tried this on various computers and it's not my browser! I have looked at apache documents and I still cant figure this out! Can sombody please help in any way, I have been working on this for days with no progress at all and it's killing me,My eyes are literally bugging out with all the text and coffee I have consumed! lol Please help!
Hi There,
Did you add a script handler for .cgi scripts ?
Did you allow CGI Scripts to be executed in the directory ??
Some Pointers ....
<Directory "/usr/local/www/cgi-bin">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)





Linear Mode