Help required
Hi I am new to mod_perl and i am developing some samples using mod_perl . While developing sample , i do not want to restart the server frequently with respect to my changes. So i used the$r-header_out(Pragma, no-cache); statement not to cache the results. i seems to be not working for me . Any suggestions and how to include the directives in the server side not to cache the results. Thanks in advance With Regards K.Murugan
Session
Hi Thanks in advance for your reply. How can i maintain session informations without cookie , hidden variables through forms in Perl. Is there any separate Apache module is available? Regards K.Murugan
Net::LDAP::Extension
Hi Can please you direct me to the Net::LDAP::Extension Documentation. Thanks in advance. Regards K.Murugan
Info required
Hi In the CGI environment , After getting the request from the client , based on the request the web server will load the cgi2perl module ( may be someother name) to act as interface between perl and Webserver. The cgi2perl will get the data from perl interpreter and give back to web server. This is the way it will work in cgi environment . The cgi2perl module will use the webserver API functions to interact with webserver. Like that , i want to understand how internally mod_perl is working apart from generic explanations. Where to get all those informations. Thanks in advance. Regards K.Murugan
Mod_perl
Hi I apologize for the simple question. Since i am new to this mod_perl , i am having this doubt. After building mod_perl.so , Is it required to have the Perl interpreter installed on the server. What i understood was, the mod_perl.so is a apache perl module which is providing the way to access the external Perl interpreter at run time. Is it correct. After building Mod_perl.so , If i delete the Perl directory in server , what will happen while loading mod_perl.so. Regards K.Murugan
Re: Help required on compile
Hai Great , Now it is building with your added MM_Win32.pm . Nmake install also going through without breaking . But problem is , as per readme , i have to copy the mod_perl.so or mod_perl.dll to apache/module directory and try the nmake test. But i am not able to find the mod_perl.so or mod_perl.dll after building . Thanks for your help . Regards K.Murugan Randy Kobes [EMAIL PROTECTED] 07/26/01 07:00PM - Original Message - From: Murugan K [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, July 26, 2001 7:34 AM 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. But when you try nmake , it is throwing the following error makefile(889)cannot have : and ::dependents for same targets. Hi, I didn't copy this to the mod_perl list, as I've attached my ExtUtils\MM_Unix.pm and ExtUtils\MM_Win32.pm files to try Does using these work? best regards, randy kobes
Re: Help required on compile
Hai I am not using Visual VC++ IDE for compiling. I am using command line only. After building , i am not getting src/modules/win32/Release/ realease directory at all. I tried with previos version od mod_perl also. Same result. Can you please reply. Regards K.Murugan Randy Kobes [EMAIL PROTECTED] 07/27/01 06:32PM On Fri, 27 Jul 2001, Murugan K wrote: Hai Great , Now it is building with your added MM_Win32.pm . Nmake install also going through without breaking . But problem is , as per readme , i have to copy the mod_perl.so or mod_perl.dll to apache/module directory and try the nmake test. But i am not able to find the mod_perl.so or mod_perl.dll after building . Thanks for your help . Regards K.Murugan How did you build things? INSTALL.win32 suggests 2 ways - one through use of Visusal Studio, and the other through use of something like perl Makefile.PL APACHE_SRC=../apache_1.3.20 INSTALL_DLL=/Apache/modules where the paths have to be adjusted to suit your system. Either way, mod_perl.so should be built in src/modules/win32/Release/ within the mod_perl source tree. Note also that if you built your own perl that testing mod_perl requires some extra packages, like libwww-perl and libwin32. best regards, randy kobes
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. But when you try nmake , it is throwing the following error makefile(889)cannot have : and ::dependents for same targets. # # --- MakeMaker staticmake section: # --- MakeMaker makeaperl section --- MAP_TARGET= perl FULLPERL = c:\perl\5.6.1\bin\MSWin32-x86\perl.exe $(MAP_TARGET) :: static $(MAKE_APERL_FILE) $(MAKE) -f $(MAKE_APERL_FILE) $@ # Sisyphus [EMAIL PROTECTED] 07/26/01 05:42PM - 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
Help required on compile
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: D:\Program Files\DevStudio\SharedIDE\BIN D:\Program Files\DevStudio\VC\BIN D:\Program Files\DevStudio\VC\BIN\WINNT c:\perl\5.6.1\bin\mswin32-x86 E:\DevStudio\VC\BIN E:\DevStudio\VC\BIN\WINNT c:\perl\5.6.1\bin\MSWin32-x86) Writing Makefile for Apache Writing Makefile for Apache::Connection Writing Makefile for Apache::Constants Writing Makefile for Apache::File Writing Makefile for Apache::Leak Writing Makefile for Apache::Log Writing Makefile for Apache::ModuleConfig Writing Makefile for Apache::PerlRunXS Writing Makefile for Apache::Server Writing Makefile for Apache::Symbol Writing Makefile for Apache::Table Writing Makefile for Apache::URI Writing Makefile for Apache::Util Writing Makefile for mod_perl After that , if i try the nmake install - it is giving the following error cp lib/Apache/Registry.pm blib\lib\Apache\Registry.pm cp lib/Apache/SizeLimit.pm blib\lib\Apache\SizeLimit.pm cp lib/Apache/Resource.pm blib\lib\Apache\Resource.pm cp lib/Apache/PerlSections.pm blib\lib\Apache\PerlSections.pm cp lib/Apache/RegistryNG.pm blib\lib\Apache\RegistryNG.pm cp lib/Apache/PerlRun.pm blib\lib\Apache\PerlRun.pm cp lib/Apache/Debug.pm blib\lib\Apache\Debug.pm cp lib/mod_perl_hooks.pm.PL blib\lib\mod_perl_hooks.pm.PL cp lib/Apache/MyConfig.pm blib\lib\Apache\MyConfig.pm cp mod_perl_tuning.pod blib\lib\mod_perl_tuning.pod cp lib/Apache/ExtUtils.pm blib\lib\Apache\ExtUtils.pm cp lib/Apache/httpd_conf.pm blib\lib\Apache\httpd_conf.pm cp lib/Apache/SIG.pm blib\lib\Apache\SIG.pm cp mod_perl_traps.pod blib\lib\mod_perl_traps.pod cp lib/Apache/src.pm blib\lib\Apache\src.pm cp lib/Apache/Options.pm blib\lib\Apache\Options.pm cp lib/mod_perl.pm blib\lib\mod_perl.pm cp lib/mod_perl_hooks.pm blib\lib\mod_perl_hooks.pm cp mod_perl_cvs.pod blib\lib\mod_perl_cvs.pod cp cgi_to_mod_perl.pod blib\lib\cgi_to_mod_perl.pod cp lib/Apache/Symdump.pm blib\lib\Apache\Symdump.pm cp lib/Apache/Opcode.pm blib\lib\Apache\Opcode.pm cp lib/Apache/Apache.pm blib\lib\Apache\Apache.pm cp lib/Apache/Status.pm blib\lib\Apache\Status.pm cp lib/Apache/RedirectLogFix.pm blib\lib\Apache\RedirectLogFix.pm cp lib/Apache/Include.pm blib\lib\Apache\Include.pm cp mod_perl_method_handlers.pod blib\lib\mod_perl_method_handlers.pod cp lib/Apache/RegistryBB.pm blib\lib\Apache\RegistryBB.pm cp lib/Apache/StatINC.pm blib\lib\Apache\StatINC.pm cp lib/Apache/RegistryLoader.pm blib\lib\Apache\RegistryLoader.pm cp lib/Apache/test.pm blib\lib\Apache\test.pm cp lib/Apache/FakeRequest.pm blib\lib\Apache\FakeRequest.pm cp lib/Apache/Constants/Exports.pm blib\lib\Apache\Constants\Exports.pm cp mod_perl.pod blib\lib\mod_perl.pod cp lib/Bundle/Apache.pm blib\lib\Bundle\Apache.pm The name specified is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: '..\0' : return code '0x1' Stop. NMAKE : fatal error U1077: 'cd' : return code '0x2' Stop. Note: I am not using active perl for this purpose. i downloaded from the CPAN , built and installed. Here by attached the makefile created by makefile.pl for your reference Thanks in advance Expecting your help Regards K.Murugan Makefile