Re: modperl 1.31 PDF pb

2001-11-17 Thread Sisyphus





  - Original Message - 
  From: 
  pascal barbedor 
  To: [EMAIL PROTECTED] 
  Sent: Saturday, November 17, 2001 4:49 
  AM
  Subject: modperl 1.31 PDF pb
  
  Hi 
  
  I have problem trying to download the pdf version 
  of the guide.
  several downloads always results in incorrect zip 
  impossible to decompress.
  
  i already noticed this problem with former 
  version of the guide.
  
  has anyone succesfully downloaded and 
  uncompressed the pdf file ?*
  
  I am on win
  
  thanks
  
  pascal
  
  Had a similar problem (also on win) with another 
  zip containing pdf docs, so I used LWP::Simple to download it. WinZip was then 
  able to unzip it without any problems. (Remember to 'binmode FILEHANDLE;' when 
  copying the zip to your hard drive.)
  
  Seems that my problem, at least, was a Windows 
  thing, as someone else has already suggested. Hard to believe, isn't it 
  :-)
  
  Cheers,
  Rob


Re: Help required on compile

2001-07-26 Thread Sisyphus


- Original Message -
From: Randy Kobes [EMAIL PROTECTED]
To: Murugan K [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, July 26, 2001 3:36 PM
Subject: Re: Help required on compile


 On Wed, 25 Jul 2001, Murugan K wrote:

  Hai
  I am trying to build Mod-perl_1.26  on Windows NT.  For that i
  installed perl5.6.1 and apache 1.3.19 on my windows machine ( C
drive).
  After that  (as per read me ) , i have to run  the makefile.pl .
  But that is giving the following error.
 
  Perl makefile.pl
 
  Checking if your kit is complete...
  Looks good
  Unable to find a perl 5 (by these names:
  C:\Perl\5.6.1\bin\MSWin32-x86\perl.exe
  miniperl perl perl5 perl5.6.1, in these dirs:
 [ ... ]


I tried posting this earlier.

The problem can usually be overcome by including:
 'PERL = $^X,'
 in the 'WriteMakefile()' section of 'Makefile.pl'.

Give that a try.

Cheers,
Rob




Re: Help required on compile

2001-07-26 Thread Sisyphus


- Original Message -
From: Murugan K [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc:  [EMAIL PROTECTED]
Sent: Thursday, July 26, 2001 10:34 PM
Subject: Re: Help required on compile


Hai

  I added the'PERL = $^X,' command the in the  makefile.pl .  But  it
is not throwing any perl path error.  it is creating the makefile.

-

Yes - it creates the makefile, but the makefile that it creates contains
errors. I doubt that you'll be able to build the module until you get rid of
the 'Unable to find...' error. I've run across this problem a few times, and
the remedy I posted has (until now) always worked.
Still, if it's not working for you, then there must be some other cause.
 You *did* put it inside the 'WriteMakefile()' section ?).

I did, at one stage, look a little more closely at this problem and came up
with the following:

1) In 'MakeMaker.pm'at about line 192, change:
HTMLLIBPODS HTMLSCRIPTPOD IMPORTS
to
HTMLLIBPODS HTMLSCRIPTPODS IMPORTS

2) In 'Manifest.pm'at about line 260, change:
   return cp if $Is_VMS;
to
   return cp if $Is_VMS or ($^O eq 'MSWin32' and Win32::IsWin95());

I haven't verified to my satisfaction that these changes always fix the
situation, but when I made those changes to a 'perl' that had the problem
you describe, I found the problem went away, and I no longer had to amend
the 'Makefile.pl' in the way already stated.

I would expect that if you can't resolve the problem with the 'Makefile.pl'
amendment, then making those changes won't help either. (Or you may find
that those 'changes' are already in place.) But it's worth a try.

Cheers,
Rob




Re: Authentication handlers

2001-03-04 Thread Sisyphus



- Original Message -
From: Pierre Phaneuf [EMAIL PROTECTED]
To: modperl [EMAIL PROTECTED]
Sent: Monday, March 05, 2001 9:29 AM
Subject: Re: Authentication handlers


 Cees Hek wrote:

  So instead of storing a y/n in the database, store a unique string that
is
  used as the realm, and clear it when they log out.  Now everytime you
send
  the Authenitication required header, send the unique realm for this user
  that you stored in the database, and if it doesn't exist, generate a new
  one.

 Good one! The only bad thing I see is that the realm is visible in the
 dialog box the user see, isn't it? Seeing a random string might be a bit
 unsettling for the user, but there is no technical reason for it not to
 work.

 --
 Pierre Phaneuf
 Systems Exorcist

Hi,
Are you guys sure about this ? I just tried it out and it doesn't work for
Apache1.3.12(win32) on win 98.
I visited a page in a 'basic authentication' protected directory, then
changed the name of the realm from 'htdocs access' to 'htdocs' but was still
able to access other pages in the same directory without being hit for
username and password. I tried hitting the back button and 'refreshing', and
I also visited another site in the interim. All to no avail.
Cheers,
Rob Gilmour
Visit our website at http://www.kalinabears.com.au




Re: (beginner) Win32 installation / Writing Apache Modules in Perl C

2001-02-19 Thread Sisyphus


--- Original Message -
From: Randy Kobes [EMAIL PROTECTED]
To: Garry Heaton [EMAIL PROTECTED]
Cc: mod_Perl [EMAIL PROTECTED]
Sent: Monday, February 19, 2001 6:48 PM
Subject: Re: (beginner) Win32 installation / "Writing Apache Modules in
Perl C"




 http://perl.apache.org/distributions.html contains links to how to
 install mod_perl via ActivePerl's ppm (Perl Package Manager), as
 well as some other Apache::* modules. For starting out on Win32 this route
 is probably the easiest, as everything you need to get started
 comes with the ppm distribution. After that, the docs at
 http://perl.apache.org/, especially the guide, and http://take23.org/
 contain lots of resources to get you going.

 best regards,
 randy kobes


I recently sucessfully (and easily) installed mod_perl on Win 98 by  using
ppm.
Buoyed by my success I tried to do the same with Apache::ASP (from the same
location), but this failed. I've so far been unable to catch the full output
of this attempt as it takes up more than one DOS screen - '| more' doesn't
work for ppm and I can't find any option for having the output printed to a
file.
All I get to view is the end of a html page which, I suspect, emanates from
Microsoft.
Any words of enlightenment ?
How can I catch the full output of the ppm command ? ( This is a question I
am about to put to the Active State mailing list. I probably should wait for
a reply from that list before posting here - but  I decided to raise this
now while the topic is current.)

Cheers,
Rob




Re: (beginner) Win32 installation / Writing Apache Modules in Perl C

2001-02-19 Thread Sisyphus

Hi Randy,
I had a few attempts again this morning to install it - one of which was
successful. I suspect that the problem was as simple as a misspelled url -
something I'm annoyed at not having picked up ( despite not being able to
view the entire error message ) - and for which I apologise. I don't know
for certain, but it's 'London to a brick' that I was continually misspelling
the location and then inadvertently got it right. An intentionally
misspelled location seems to give the same error message (from what I can
see of it). In amongst the html tags is "400 - HTTP Bad Request" - which is
a bit of a give-away.

Well - it *is* the first time I've seen that response - and I stopped
hunting through it when I realised it was just 'some html' page - and I
*am* stupidly impetuous.

I still can't send the output anywhere other than to screen. I've tried the
method you gave and it makes no difference. My shell is provided by
Command.com - and it has been suggested that I download cmd.exe and try
using that instead. I first created a file called ppm.txt in the current
working directory and tried to have the output sent there by the method you
suggest, but output still goes only to screen.

If indeed that method does work for you ( in a shell provided by
command.com ) could you let me know - and I will investigate further - and
perhaps eliminate one source of potential embarrassment ( though there are
still plenty left ). ( I realise that this is not a matter for discussion on
this group and will post no more about it here.)

Thanks for replying. Sorry to have caused you to spend time over such a
thing.
My commendations  on the job done of providing these packages for ppm
installation.
Perhaps you could move them to a more 'illiterate-friendly' location :)

Cheers,
Rob
Visit our website at http://www.kalinabears.com.au
- Original Message -
From: Randy Kobes [EMAIL PROTECTED]
To: Sisyphus [EMAIL PROTECTED]
Cc: mod_Perl [EMAIL PROTECTED]
Sent: Tuesday, February 20, 2001 12:33 PM
Subject: Re: (beginner) Win32 installation / "Writing Apache Modules in
Perl C"


 - Original Message -----
 From: "Sisyphus" [EMAIL PROTECTED]
 To: "Randy Kobes" [EMAIL PROTECTED]
 Cc: "mod_Perl" [EMAIL PROTECTED]
 Sent: Monday, February 19, 2001 2:39 AM
 Subject: Re: (beginner) Win32 installation / "Writing Apache Modules in
 Perl C"


  I recently sucessfully (and easily) installed mod_perl on Win 98 by
using
  ppm.
  Buoyed by my success I tried to do the same with Apache::ASP (from the
 same
  location), but this failed. I've so far been unable to catch the full
 output
  of this attempt as it takes up more than one DOS screen - '| more'
doesn't
  work for ppm and I can't find any option for having the output printed
to
 a
  file.
  All I get to view is the end of a html page which, I suspect, emanates
 from
  Microsoft.
  Any words of enlightenment ?
  How can I catch the full output of the ppm command ? ( This is a
question
 I
  am about to put to the Active State mailing list. I probably should wait
 for
  a reply from that list before posting here - but  I decided to raise
this
  now while the topic is current.)
 
  Cheers,
  Rob

 Hi,
  I just tried installing Apache-ASP on a fresh installation, and it
 seemed to go OK  Try installing it as (all on one line)

 ppm install
 http://theoryx5.uwinnipeg.ca/ppmpackages/Apache-ASP.ppd  log.txt

 which should redirect the output to the file log.txt. Does this
 indicate why it failed?

 best regards,
 randy kobes






Re: mod_perl for Win32 + ActiveState Perl 5.6 (build 616) + Apache 1.3.12

2001-02-13 Thread Sisyphus

Hi,
Yes - and you can even install it using ppm. Go to:
http://perl.apache.org/distributions.html
and follow instructions regarding ppm install.

I used this method to successfully (and easily) install mod_perl1.24_02-dev
on Apache 1.3.12 (Windows 98, AS 613).
I can't exactly recall what I specified for 'xxx' and 'yyy' - probably
'1.24.02' and '1.3.12'.

The only other thing to do was to add the following to httpd.conf:
LoadModule perl_module modules/ApacheModulePerl.dll

Hope it turns out that easy for you.

Cheers,
Rob
Visit our website at http://www.kalinabears.com.au
- Original Message -
From: Ron Reidy [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 14, 2001 2:18 AM
Subject: mod_perl for Win32 + ActiveState Perl 5.6 (build 616) + Apache
1.3.12


 Hi,

 Is there a mod_perl available for the above
 configuration?  If not, do you have suggestions?

 Thank you.

 =
 Ron Reidy
 Oracle DBA
 Reidy Consulting, L.L.C.

 __
 Do You Yahoo!?
 Get personalized email addresses from Yahoo! Mail - only $35
 a year!  http://personal.mail.yahoo.com/