Alright, I've been getting along pretty well so far here. Now I need an
extra feature though. Resolution Stats (i.e. 1024x768 or 800x600)
I've got an apache-1.3.24 server with mod_perl-1.26
running.
in my httpd.conf, I've added
PerlLogHandler P6M7G8::Stats::DBILog
Which I have already written.
* Philip M. Gollucci [EMAIL PROTECTED] [2002-03-27 09:59]:
I know perl is server side and javascript is client side.
AFAIK, getting the resolution is a client side thing. I know I
can embed an html page with javascript in it that redirects to
a perl file setting the query string with
But, I need to find someway to do this without the extra
redirect.
would be something along the lines of: have a javascript
enabled page that gets the height and width of the client (as
you've shown), that then redirects the client to a location
that can read the height and width from the
Hello,
FFCan you not just set a cookie from the javascript itself, rather than
FFhaving it redirect to a location which then has to read it from the
FFquery string and set the cookie. Saves you one step, if it's possible
FFto set the cookie directly from the javascript (which it seems like
Well I've basically taken your route the first time I tried to do this a
year ago. The other problem is that this requires the vistors go to
this particular page. If they bookmark to another page or type the url
of a sublink, this is bypassed, and I loose the statistical information.
My problem
* Philip M. Gollucci [EMAIL PROTECTED] [2002-03-27 10:38]:
Well I've basically taken your route the first time I tried to
do this a year ago. The other problem is that this requires
the vistors go to this particular page. If they bookmark to
another page or type the url of a sublink, this
On Wed, 27 Mar 2002, darren chamberlain wrote:
If you are using a PerlTransHandler anyway, you can have one that
sends the client to a particular page if a cookie is not set:
(a) Client requests /foo.html
(b) TransHandler sees that cookie is not set, does an internal
redirect to
One solution would be to put the javascript in its own .js file, and have every
page on your site reference that js file. Now every page will send a cookie with
the resolution information. You may want to adjust the server-side processing to
avoid duplicate database work, but that shouldn't be
Hi Stas,
I did peruse the SUPPORT file. As far as I can
tell I have tried everything there. Honestly, I have
no idea what to try next. The configuration problem
seems to have stopped me dead in my tracks for using
mod_perl. Meanwhile, I am resorting to plain
CGI-perl. At least that has
John Kolvereid wrote:
Hi Stas,
I did peruse the SUPPORT file. As far as I can
tell I have tried everything there. Honestly, I have
no idea what to try next. The configuration problem
seems to have stopped me dead in my tracks for using
mod_perl. Meanwhile, I am resorting to plain
hiya. quick note to let folks know that i am once again
available for work in the sf bay area. i'm finally all
settled in san francisco and am eager to get back to the
craft after several months off.
my resume is located at http://www.maz.org/bcm/resume.pdf
(text, html, word versions also
Stas Bekman wrote:
Arh, I mean to use the hints how to get the core dump backtrace.
Hang on, this guy is just trying to do an install. He shouldn't need to
troubleshoot at that low a level.
John, who built this server and why is it DSO? If you have control of
this system, I would recommend
Hi Perrin,
On Wed, 27 Mar 2002, Perrin Harkins wrote:
Stas Bekman wrote:
Arh, I mean to use the hints how to get the core dump backtrace.
Hang on, this guy is just trying to do an install. He shouldn't need
to troubleshoot at that low a level.
Quite right Perrin, but I'm afraid we're
Hi Perrin, Ged and Stas,
Thanks for responding to my problem. Fact is I am
the administrator of our server which has an Apache
web server w/ ssl and php. I am also the programmer
writing CGI perl scripts which interact w/ Oracle and
mySQL on our web site. I thought it would reduce the
I got the following attempting to install
Apache-AuthenSmb from
http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer
PPM install Apache-AuthenSmb
Install package 'Apache-AuthenSmb?' (y/N): y
Installing package 'Apache-AuthenSmb'...
Error installing package 'Apache-AuthenSmb': Read a
Ok, this is pretty long, but I was trying to make sure
I included everything relevant to the problem.
Is there a simple answer to getting 'make test' for
mod_perl to work when all extra perl modules are in a
custom
location? Simply having PERL5LIB=/appl/perl/lib
exported when running the
1. Sorry for the lousy formatting on the last post (and
this one) - I'm using a web form to post from my
personal email at work...
2. I forgot to use
'PREFIX=/appl/perl LIB=/appl/perl/lib'
on my perl Makefile.PL command. It's how I installed
all my other modules, but not mod_perl.
Adding the PREFIX and LIB indeed made no difference to
an un-modified 'make test'. It most definitely would
have installed them somewhere other than where I
wanted, but that's irrelevant to the tests failing.
Jim
I've determined that it isn't the redirect causing the cookies not
to be set. If I take out the redirect, and just try to set a cookie
w/o a redirect, it still doesn't set the cookies in IE. Does M$
have any docs on how IE6 handles cookies that I can look this up on?
YES, they do.
You have
Hi,
I've been hacking at this a couple days. At first I really wanted to get
mod_perl working as a DSO. Got everything compiled, and added lines to
httpd.conf. Died on startup if I had AddModule mod_perl.c. Following a
tip on this list, I gave up on DSO and went static compile. Here is
On Wed, 27 Mar 2002, Pete Kelly wrote:
I got the following attempting to install
Apache-AuthenSmb from
http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer
PPM install Apache-AuthenSmb
Install package 'Apache-AuthenSmb?' (y/N): y
Installing package 'Apache-AuthenSmb'...
Error
Sorry you're having so much trouble with the install. It goes pretty
smoothly for most people, but you are complicating things a bit by
putting PHP and SSL in the mix on your first try.
Perrin, I have no idea if DSO is still involved
Apache will not build DSO unless you tell it to.
Your
On Wed, 27 Mar 2002, Stas Bekman wrote:
Pete Kelly wrote:
I get the following errors when trying to build from
command line:
C:\mod_perl-1.26perl Makefile.PL
APACHE_SRC=\Apache_1.3.23 INSTALL_DLL=\Apache\
mod_perl
[ ... ]
Can't open s/sub mod_perl::hooks.*/sub mod_perl::hooks
{
On Thu, 2002-03-28 at 00:00, Perrin Harkins wrote:
I'm afraid I'm not that much help with install problems because I just
haven't had any of my own to deal with. You can try using Apache
Toolbox to do the build. It's supposed to make this stuff easier.
also check this out (Apache Compile
Perrin Harkins wrote:
(Anyone know if mod_ssl somehow forces you to use DSO?)
it doesn't force you to use DSO.
i recently built a new server set-up using mod_proxy/mod_ssl
on the front end, and two different back ends, one with mod_perl,
and the other with mod_php. the server is set-up to
25 matches
Mail list logo