> > I've deleted Rivet_ParseUri function - dont see much sense in its > > existence at this moment - it's broken anyway. > > Added ap_chdir_file function implementation for apache2 - did not > > reinvent the wheel, and grabbed it from mod_ruby, we can rewrite it if
What's the license for mod_ruby? > ap_chdir_file was simply commented out (why?). In fact I noticed > yesterday that > some pages that had nested templates in them were broken. > Printing the output of 'pwd' showed that templates were stuck to the > documentRoot Keep in mind that there are also Tcl_ functions, but mixing them can be dangerous. > > Completely rewrote ApacheRequest_tmpfile function using apr functions, Great! Using apr is the right way to go. However - ApacheRequest comes from this codebase: http://httpd.apache.org/apreq/ So have a look, and maybe just grab their 2.0 files. > > With all this i was able to perform file upload using > > doc/examples/upload* pages. Cool:-) > > My intension is to leave function interface in TclWebapache as it is > > for apache2, but all internals probably will be rewritten using apr_* > > functions equivalents. Apache/apr community insists that they are > > cross-platform safe, may be they right, but anyway it will simplify > > things a good bit. Yes, you are on the right track. Any OS level stuff should be done through either the apr_ or the Tcl api's. apr_ and Tcl_ give you a lot of functionality, so it's often wise to look there prior to doing something 'by hand'. Massimo - do you have the time to commit Valery's patches? -- David N. Welton http://www.welton.it/davidw/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
