[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with Apache running perl scripts





On Mon, 26 Apr 1999, Peter L. Peres wrote:

> 
> Does your script return a correct mime type and HTTP header ?
> 
> Peter

Yes, it should return a corect mime type :
print "Content-type: text/html\n\n";
but NM that, I managed to get another perl script to work, so I don't
think I have any problem with my setup, just with this particular script.
so I dumped it, and I tried it's c++ version. but I still have problems :
it executes, but instead of showing the number it prints out :
[TextCounter Fatal Error: Could Not Write to File 
counterdata/_index_shtml.lcEes//home/httpd/html/ima!]
I made sure to check the premissions and it should be ok.
btw - how do I check uder which user httpd runs ?

Oded