another newbie with alot of redhat and apache server Q'S  | |
March 10th, 2003, 07:33 PM
|
#1 (permalink)
| | Junior Member
Join Date: Mar 2003
Posts: 5
| another newbie with alot of redhat and apache server Q'S
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! |
| |
March 10th, 2003, 07:38 PM
|
#2 (permalink)
| | Mean Moderator
Join Date: Oct 2001 Location: N of Music City, USA
Posts: 7,791
|
Check and see if your ISP blocks the use of .cgi scripts. |
| |
March 10th, 2003, 07:44 PM
|
#3 (permalink)
| | Junior Member
Join Date: Mar 2003
Posts: 5
|
They dont know I'm running a server! If they find out They will charge me $160 a month instead of $39. I dont think that would be an issue! how can they block that from exicuting from my machine? |
| |
March 10th, 2003, 07:48 PM
|
#4 (permalink)
| | Mean Moderator
Join Date: Oct 2001 Location: N of Music City, USA
Posts: 7,791
|
My ISP just doesn't support them. Not positive how they block them, I'm sure it's just "magic".
They could block ports that .cgi looks for or just the .cgi, .asp, .php, etc . . . |
| |
March 10th, 2003, 08:08 PM
|
#5 (permalink)
| | Junior Member
Join Date: Mar 2003
Posts: 5
|
Thanks I will have to look into it! |
| |
March 11th, 2003, 05:34 PM
|
#6 (permalink)
| | Member
Join Date: Oct 2001 Location: Palatine, IL
Posts: 375
|
I'm gathering the website is on your server, and not your ISPs server?
Check your httpd.conf file, and make sure the line:
"AddHandler cgi-script .cgi"
...is not commented out.
This tells Apache how to handle CGI scripts. By default, it may be disabled.
If it is commented out, uncomment it, and restart your apache server. See if that helps.
On a side note, CGI scripts operate through port 80 just like any other HTML data sent down to you, unless explicitly told not to in the program (Eg: Some client-server app). |
| |
March 11th, 2003, 05:46 PM
|
#7 (permalink)
| | Ultimate Member
Join Date: Sep 2002 Location: Iowa
Posts: 3,344
|
Well, if your ISP doesn't know and would charge you I do not think you can ask for help here. I think it is against this site's rules. |
| |
March 11th, 2003, 05:47 PM
|
#8 (permalink)
| | Junior Member
Join Date: Mar 2003
Posts: 5
|
What exactly do you mean by commented out? |
| |
March 11th, 2003, 05:48 PM
|
#9 (permalink)
| | Junior Member
Join Date: Mar 2003
Posts: 5
|
I checked into it and were allowed up to 7 GB server! |
| | | Thread Tools | Search this Thread | | | | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Most Active Discussions | | | | | Recent Discussions  | | | | | |