|
drs. Slinger Jansen
slinger at cs.uu.nl
Mon Jun 12 08:58:24 EDT 2006
Hey there,
if I run python just like that I can easily write to files, as you do,
using such simple things as:
fp = open('debugCommCenter.out', 'w')
However, when these are in a server of mod_apache, nothing happens. Am I
blocking file access or something? Is it a permission problem, and if
so, how can I fix it? I've been looking for the solution on the list,
and others say that adding the file dir to it should work. I did that
too, but then still it doesn't work:
fp = open('d:\\xampp\\htdocs\\pytest\\debugCommCenter.out', 'w')
Where am I messing up?
Slinger
--
Slinger Remy Lokien Jansen
*email :* slinger at cs.uu.nl <mailto:slinger at cs.uu.nl>
*office :* CGN-B228
*telephone :* +31 (30) 253 6652
*faxnumber :* +31 (30) 251 3791
*Universiteit Utrecht*
Institute of Information and Computing Sciences
Centrumgebouw Noord, office B228
Padualaan 14, De Uithof
3584CH Utrecht
*scientific website : *http://www.cs.uu.nl/people/slinger/
<http://www.cs.uu.nl/people/slinger>
*personal website : *www.slingerjansen.nl <http://www.slingerjansen.nl>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20060612/316004f8/attachment-0001.html
|