Wibble
01-31-2003, 06:31 PM
OK. I've just got a web serer up and running. RH 7.3 running Apache. It's working OK. I wanted to see if I could run a cgi script. I used a tutorial from htmlgoodies.com on putting a counter on a web page.
It didn't work. I thought it might be the path to the script, so I put an image file in the cgi-bin dir (I'm using the default file locations - /var/www/html for the pages, /var/html/cgi-bin for the cgi script).
The image doesn't show on the page either. I've tried putting all sorts of paths to this test image. No joy at all.
Oh, and also (although this isn't a major prob) - If I want to view my pages on my internal network, I have to use the internal address, if I put the domain name into the browser, it won't display.
It didn't work. I thought it might be the path to the script, so I put an image file in the cgi-bin dir (I'm using the default file locations - /var/www/html for the pages, /var/html/cgi-bin for the cgi script).
The image doesn't show on the page either. I've tried putting all sorts of paths to this test image. No joy at all.
Oh, and also (although this isn't a major prob) - If I want to view my pages on my internal network, I have to use the internal address, if I put the domain name into the browser, it won't display.