D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] web sites



paul said:
Hi

Not sure if you can help as it depends on how well you actually understand how I 
have
interpreted the problem.


OK. I'll answer the question I think you are asking:-)

In general it should not matter what server is hosting the scripts (I assume that 
when
you say server you mean web server). All information is normally passed with each 
page
request in the form of an extended URL (prob not the correct  term) or cookies.

I am assuming that the hosting company takes care of the server mapping and that your
html files have urls like http://www.yourname.co.uk/page1.htm and that your scripts 
are
in http://www.yourname.co.uk/cgi-bin/script1.pl for instance. If this is the case 
then
he doesn't have to do anything special to use his scripts. For example if a form on 
an
html page wanted to use script1.pl to process the data it would have an action 
attribute
of "/cgi-bin/script1.pl". All the data will be passed to the script server by your
browser when the form is submitted. If for some reason the address of the script 
server
is totally different just use the full,  absolute URL.

Hope this was the answer to the right question.

Pete.


A friend has a shell account with his ISP,  he says that the http directory and
cgi-bin
directory are on different servers (for secutity reasons),  he wants to know how to 
call
up the scripts on the other computer from the http folder.

can anyone please help,  I am not an expert at http servers just yet.  I have the
apache server
survival guide but don't really know what I am looking for.

He is accssing the servers from his ISP,





--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly