[OS X TeX] [OT] Serving generated pdf files via a web server

Alan Munn amunn at gmx.com
Mon Sep 6 11:54:34 EDT 2010

Hi, sorry if this is a bit off topic.  I've been experimenting with  
generating some latex files via a web form and a cgi script (written  
in Ruby, although I don't think this is relevant).  I've successfully  
been able to generate the files, but using /var/tmp as a location.    
But this doesn't allow me to serve the generated files back to the  
browser. I'm not even sure of the exact question I need to ask, but  
it's something like this: how do I write to a file in a directory that  
can then be accessed by the browser. (Simplistically, how do I get my  
script to write to /Library/WebServer/Documents?)

If anyone can give me some pointers on this, I'd appreciate it.


Alan Munn
amunn at gmx.com

More information about the MacOSX-TeX mailing list