Re: Client capabilities

2002-04-30 Thread Mike V. Andreev

On Tue, 30 Apr 2002 13:00:33 +0100
Simon Oliver [EMAIL PROTECTED] wrote:

SO The main problem is that a client can be modified from the standard
SO install to prevent JavaScript, StyleSheets, Images, etc and there is no
SO way to detect this server side.

(and some text-based browsers can be configured to use external program 
to show images on user request [links for example] )

About images: Why don't use alt attribute of img tag to make a design 
suitable for both text-based and graphic browser ???


Mike Andreev




Re: mod_perl and open files limit

2002-04-09 Thread Mike V. Andreev

Hello people
Thank you for all your answers and comments!
Unfortunately I can't test your advices right now because of other urgent 
[as always :-(  ] businesses.
I'll do it as soon as i'll be able.
Thanx a lot!!!


Mike Andreev




mod_perl and open files limit

2002-04-06 Thread Mike V. Andreev


Hello.

I develop now my first project on mod_perl. 
When we started to test this project on separate server we faced excess opened
files limit problem. There are no other serious tasks on this server, only 
mysql with project databases and apache. During the work with web interface 
number of open files slowly grows and finally reaches OS limit. 
And this happens with only 2-3 users working with interface !!!
If to restart apache number of open files comes back in norm, so I think that
the problem roots in my way of mod_perl usage.

My scripts use this modules: Apache::Registry, Apache::DBI, HTML::Embperl,
Apache::Store::MySQL, Apache::Lock::File. There are 3 different persistent database 
connections per each httpd child process.

OS: FreeBSD 4.3-RELEASE
kern.maxfiles: 1064 -- that can be increased of course, but we need to be
sure that number of open files will not grow unlimited

httpd.conf:
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxRequestsPerChild 0

What kind of diagnostics can be done to find out what causes the problem?


Mike Andreev



embedding perl code to html

2001-08-23 Thread Mike V. Andreev


Hi!

I have a tree of static html files and perl cgi-scripts. But sometimes I
want to include some simple functionality in html-file. The best
solution, I think, is including perl code to html file. I found
several tools on the Net. The best i liked is Embperl
(http://perl.apache.org/embperl/)  ePerl
(http://www.engelschall.com/sw/eperl/) . Both of them have similar
functionality. But before I make final choice i want to hear some
comments about its speed, feature, reliability etc. Or may be someone
know other tools? (I don't need very powerful thing -- main
programming will be in perl scripts anyway, so there isn't necessity
in some cool libraries and stuff )

Thanks in advance . Best regards.

-
Mike Andreev 
Programmer
SMIS Lab, Space Research Institute (Moscow, Russia). http://smis.iki.rssi.ru
[EMAIL PROTECTED]
-