I am running my own apache server to experiment with and hopefully provide hosting with in the near future. After trawling the web I found a site which explained how to use " ENDHTML" in a perl script. I should add here that I have run a few simple scripts already on my server and these have been sucessful. When I try and run my script (I will put the entire script in my next post) I get an Internal Server Error and when I read the error log it says "Can't find string terminator "ENDHTML" anywhere before EOF at D:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/htm.pl line 4.\r".
Could somebody please advise me as to what is wrong with my script.
Where my script reads "<A HREF="http:click here">Click Here</A>" above, it should read <A HREF="http:,/,/www,google,com">Click Here</A> but remove the first 2 commas and replace the rest with dots. I had to put commas in to stop PCA from changing it to "Click Here".
and before you go too far along the road, have you checked that your ISP will allow you to run a web-hosting service on your connection?
It's extremely unlikely that they will permit you to so so, and all your hard work will have come to nothing. You can't just set up a web-hosting business on a domestic internet access account - there will be bandwidth implications.
I havnt checked but I new that might be a problem. If I'm not allowed to I'm not particularly bothered as I'm doing it for the fun of it anyway. I wasn't going to make it into a business as such so I was going to make it clear that bandwith might be poor. Thanks for the advice anyway.