[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Trying to use a server wide script.....Without succes....STILL....
- Subject: RE: [cobalt-users] Trying to use a server wide script.....Without succes....STILL....
- From: "Paul Alcock" <webmgr@xxxxxxxxxxxxxxxxxx>
- Date: Sat Aug 25 16:23:18 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> I want every user on the Cobalt being able to use it through an alias
> http://usersite.com/script/
>
> BUT! The script also uses different arguments so it will be
> something like:
>
> http://usersite.com/script/test.cgi?it=whatever
>
> Tried everything I could think of but do not find a solution.....
>
> And yep, I absolutely need to hide the origin of the script....
One way is to create a simple script that calls the hidden one.
Then place the hidden script in
/usr/lib/perl5/site-perl/
That's where site-perl is on a RAQ2
So your page would call something like
<a href='miniscript.cgi?someparam'>link</a>
or <form action ='miniscript.cgi?someparam' name='somename'>
And mini script would have
require "hiddenscript.pl";
followed by the starting routine in hiddenscript.pl
You can put code in the hidddenscript.pl to stop unauthorized
vsites from using it. ie. make sure it is being called from your
server and by an authorized site.
Hope that helps.
Paul