[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] global usertag on hosted server
At 02:20 PM 03/28/2002 -0500, you wrote:
>I am writing a usertag to be placed on my hosted server and I have put
>it in my home directory and included it in my catalog.cfg. It uses
>things like IO::Socket::Inet and even the lowly push and all those
>things cause it to break and just return the line used to call it. I
>suspect that it is going through safe and that's why it won't compile.
Yep. Things like that can only be done at the IC server level (i.e., a
server-level UserTag or GlobalSub).
>Now I might have to break down and have it defined in interchange.cfg as
>a globalsub. So, would I be able to define it in interchange.cfg but
>locate it in my home directory so I could do the edit/test/repeat cycle
>without having to bother my host admin every time?
No, because the IC server has to be restarted each time you make any
changes to a global UserTag or Globalsub.
>Or could I set up a
>symlink or other redirect to give me access to only that file located in
>the non-public area?
>
>Or what about just putting my function inline in the page where I want
>it (ord/checkout) inside some perl tags?
You won't be able to use the external perl modules in that configuration.
>My usertag works great here on my home machine but I need it to work on
>the server.
Unless your host is uncommonly cooperative, you really need your own IC
install. That means either a dedicated server, or a shared hosting account
in which you get your own private IC server installation; there are a few
of us who offer the latter.
- Ed L.
>
===============================================================
New Media E.M.S. Software Solutions for Business
463 Main St., Suite D eCommerce | Consulting | Hosting
Placerville, CA 95667 edl@newmediaems.com
(530) 622-9421 http://www.newmediaems.com
(866) 519-4680 Toll-Free (530) 622-9426 Fax
===============================================================