Sorry for posting again, but I posted this a few days ago and got no
responses. but I think this is probably the right list ...
I have an apache virtual host for some local development I'm doing using
python cgi scripts.
Here is a example script that should open a Finder window on the server if
I have an apache virtual host for some local development I'm doing using
python cgi scripts.
Here is a example script that should open a Finder window on the server if
the server is running OSX, and an explorer window if it's running windows or
cygwin.
---
print 'Content-Type: text/html\n\n'
If you just rebuild the system caches, does that help?
(as root)
# rm /var/cache/fontconfig/*
# fc-cache -f -v
Well -- so I guess since my fontconfig installation is via macports, Ryan
was right in suggesting that my fontconfig was in /opt/local. BUt cleaning
it doesn't seemed to have
I'm having a problem with performance of the program dot (for rendering
graphs) when called from a python cgi script, served by an apache virtual
host. I'm writing this email both the apache httpd list as well as the
graphviz users lists (hoping some intersection might be useful).
I'm using OSX
Thanks John, Stephen, and Jonathan for your very helpful and timely
responses.
On Sat, Apr 25, 2009 at 9:35 PM, John Ellson john.ell...@comcast.netwrote:
On 04/25/2009 01:13 PM, Stephen North wrote:
A hunch is that some cache is not seen or is not available.
Could be the fontconfig cache.
This seems precisely to be the problem. I do have a ~/.fontconfig
directory containing cache files. When I delete it, the performance of the
command line script is just as slow as the cgi script until the next time
the command is run (e.g. after the cache is remade).So I guess the
I'm having a problem with performance of the program dot (for rendering
graphs) when called from a python cgi script, served by an apache virtual
host. I'm writing this email both the apache httpd list as well as the
graphviz users lists (hoping some intersection might be useful).
I'm using OSX
Hi, I'm trying to set up a virtual host on a new OS10.5.6 machine. I'm
using settings that I run on several other OSX machines (also 10.5.6) and
they work fine, but for some reason fail on this machine .
The goal is set up the virtual host in the directory
/Users/dad/research/dataenv. The
In my opinion, that would be unlikely, since it sometimes works, and
sometimes not, and I guess the output file is always being written in the
same place, no ?
Yes, of course you're right. (Although something about the way the file is
written by the .draw method could be dependent on the
...
[Tue Nov 18 18:23:28 2008] [error] [client a.b.c.d] Premature end of
script headers: our_application.exe
...
ScriptLog might show you that your app is emitting an error message
instead of e.g. Content-Type header.
--
Actually, I've _also_ just started to have an intermittent
Sorry, I posted this in the middle of someone else's question before ... so
I'm posting it again in its own thread. Hopefully someone has some ideas:
I'm running a python script using CGI on a local apache-served virtual host.
(It' just an internal development project.) The project involves
Sorry, I posted this in the middle of someone else's question before ... so
I'm posting it again in its own thread. Hopefully someone has some ideas:
I'm running a python script using CGI on a local apache-served virtual host.
(It' just an internal development project.) The project involves
I'm a total Apache newbie and I'm having two permissions-related related
problems.
I've set up local virtual host set up to serve a local directory that a
project of mine is in. In this directory, I have some python .cgi
scripts. In several places, scripts that work fine when not run as .cgi
13 matches
Mail list logo