No - that is the whole point. I've stupidly named my httpd-specific
package "cgi", when it is the server-side implementation of CGI.
If you wanted to use Don Libes' cgi.tcl package, you have to hack
the tclhttpd lib/cgi.tcl file to provide a different package.
Soon there will be a tclhttpd 3.1 that has its packages renamed.
>>>[EMAIL PROTECTED] said:
> Hi,
> So is there a quick fix to currently use libes cgi instead of tclhhtp dist.
cgi?
> Sincerely,
> Nicolas Boretos
>
> Steve Ball wrote:
>
> > Brent Welch wrote:
> > >
> > > I'm planning to rename the packages provided by the various httpd module
s
> > > so that there is no conflict with other packges (e.g., Don Libes cgi.tcl
> > > also provides a "cgi" package, which is completely different.)
> > >
> > > Ideally I would change all the code so Doc_Foo becomes doc::foo
> > > or even httpd::doc::foo, but for the time being I'll keep the procedure
> > > names the same. Instead, this will just affect the various "package req
uires"
> > > that are done during the startup sequence.
> > >
> > > I'll probably add a "httpd_" to all the package names, except of course
> > > for the core httpd package itself. Comments?
> >
> > Why not make them all "subpackages" of the httpd package, instead of
> > prefixing them? Then you can use namespaces to match.
> > ::httpd::doc, ::httpd::cgi, ::httpd::url, etc? Naming the packages
> > in this fashion paves the way for renaming the procedures themselves
> > later.
> >
> > I think this is very good move to allow tclhttpd to be easily embedded
> > in Tcl apps. For example, I'm once again about to start work on SOAP,
> > which will use tclhttpd transparently for the SOAP server part.
> > Keep an eye out for TclSOAP version "Days-Of-Our-Lives" coming soon,
> > to be followed by version "Neighbours" (or perhaps "Home-And-Away").
> > It's a good thing there are so many soaps out there, my new version
> > numbering scheme will go on forever!
> >
> > > Also in the plans is a cleaner way to add code to a distributed server
> > > so you don't have to directly edit the startup code (what a concept!)
> >
> > Wow! Awesome...
> >
> > Cheers,
> > Steve
> >
> > --
> > Steve Ball | Swish XML Editor | Training & Seminars
> > Zveno Pty Ltd | Web Tcl Complete | XML XSL
> > http://www.zveno.com/ | TclXML TclDOM | Tcl, Web Development
> > [EMAIL PROTECTED] +-----------------------+---------------------
> > Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099
>
-- Brent Welch <[EMAIL PROTECTED]>
http://www.ajubasolutions.com
Scriptics changes to Ajuba Solutions
scriptics.com => ajubasolutions.com