Sponsored Content
Top Forums UNIX for Advanced & Expert Users Mod_jk not available anymore in newer version of CentOS Post 303046171 by Neo on Sunday 26th of April 2020 09:40:06 AM
Old 04-26-2020
umm.

You paste httpd24-mod_jk into your browser nav bar and hit return and search the net and you will see countless discussions on installing httpd24-mod_jk.

Mod_jk not available anymore in newer version of CentOS-screen-shot-2020-04-26-83717-pmjpg



Pretty easy, right?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

tar --newer = tar --newer-mtime ?

Hi, I have the following question : As far as I know unix doesn't store file creation dates. Would that imply the following? tar -cvzf backup.tar --newer is equal to: tar -cvzf backup.tar --newer-mtime ? (1 Reply)
Discussion started by: jamesbond
1 Replies

2. UNIX for Dummies Questions & Answers

Can't login as SU anymore - SU: NO SHELL

the root shell has been changed in the file /etc/passwd, basically pointing to an incorrect directory. So now every time we login as 'su' I get the message 'su: no shell' so we can't login as superuser. Is there an easy way to rectify this? please use step by step instructions/commands - I... (4 Replies)
Discussion started by: homechoice
4 Replies

3. Shell Programming and Scripting

newer version of the parser installed,yet get the older one itlself,hows it possible?

Hi all, I downloaded a XML parser lib from blastwave.org... Its the "libxml2",but i am having trouble initializing it(or so it feels)...I kind of need it badly as the OSE version of the virtualbox 1.6.2 will not install unless i have one The version was 2.6.3... The min requirement from... (0 Replies)
Discussion started by: wrapster
0 Replies

4. Web Development

Mod_Jk Log rotation

Hi , I have cronolog (http://cronolog.org/) setup to rotate both my error and access logs, but how can I use it to rotate my mod_jk.log file. I tried different things but cant get it to work. I want to end up where all three files will be rotated daily in YYYY/MM/DD folder format. thanks (0 Replies)
Discussion started by: new2learn09
0 Replies

5. Shell Programming and Scripting

how to find a file then overwrite with a newer version

This should be a simple script, but can't find one with google search. I just need to find the file that is in many directories, then overwrite that file with a newer version i.e. find file.jar then overwrite with /root/file.jar All I get in searches is substitute text with new test inside... (1 Reply)
Discussion started by: haircat
1 Replies

6. Red Hat

Need some help on tomcat URL rewrite or mod_jk

I am trying to remove the context name from the url of my server. Current URL - http://www.domainname.com/MyApp/ What I need to make is to make it avaialble at - http://www.domainname.com/ I have already tried couple of things like below - RewriteEngine On RewriteCond... (0 Replies)
Discussion started by: rockf1bull
0 Replies

7. Red Hat

How to Upgrade Centos 5.7 using Centos 5.8 ISO image on Vmware workstation

Dear Linux Experts, On my windows 7 desktop with the help of Vmware workstation (Version 7.1), created virtual machine and installed Centos 5.7 successfully using ISO image. Query : Is this possible to upgrade the Centos 5.7 using Centos 5.8 ISO image to Centos version 5.8?.. if yes kindly... (2 Replies)
Discussion started by: Ananthcn
2 Replies

8. Slackware

Anyone Using Slackware Anymore?

We used to use Slackware, but then moved all our servers to Ubuntu Linux. Does anyone use Slackware anymore? (8 Replies)
Discussion started by: Neo
8 Replies

9. Web Development

Httpd proxy with mod_jk,ssl only on login page using .htacess

Hi all, I have a web app with the following pages, browse.jsp and shopping.jsp. I want to protect shopping.jsp with https. (https is only between browser and apache httpd server.)The https for the shopping.jsp page will terminate at the web server. From web server to tomcat application server... (0 Replies)
Discussion started by: new2ss
0 Replies
accessors(3pm)						User Contributed Perl Documentation					    accessors(3pm)

NAME
accessors - create accessor methods in caller's package. SYNOPSIS
package Foo; use accessors qw( foo bar baz ); my $obj = bless {}, 'Foo'; # generates chaining accessors # that you can set like this: $obj->foo( 'hello ' ) ->bar( 'world' ) ->baz( "! " ); # you get the values by passing no params: print $obj->foo, $obj->bar, $obj->baz; DESCRIPTION
The accessors pragma lets you create simple accessors at compile-time. This saves you from writing them by hand, which tends to result in cut-n-paste errors and a mess of duplicated code. It can also help you reduce the ammount of unwanted direct-variable access that may creep into your codebase when you're feeling lazy. accessors was designed with laziness in mind. Method-chaining accessors are generated by default. Note that you can still use accessors::chained directly for reasons of backwards compatibility. See accessors::classic for accessors that always return the current value if you don't like method chaining. GENERATED METHODS
accessors will generate methods that return the current object on set: sub foo { my $self = shift; if (@_) { $self->{-foo} = shift; return $self; } else { return $self->{-foo}; } } This way they can be chained together. Why prepend the dash? The dash ("-") is prepended to the property name for a few reasons: o interoperability with Error. o to make it difficult to accidentally access the property directly ala: use accessors qw( foo ); $obj->{foo}; # prevents this by mistake $obj->foo; # when you probably meant this (this might sound woolly, but it's easy enough to do). o syntactic sugar (this is woolly :). You shouldn't care too much about how the property is stored anyway - if you do, you're likely trying to do something special (and should really consider writing the accessors out long hand), or it's simply a matter of preference in which case you can use accessors::classic, or sub-class this module. PERFORMANCE
There is little-to-no performace hit when using generated accessors; in fact there is usually a performance gain. o typically 10-30% faster than hard-coded accessors (like the above example). o typically 1-15% slower than optimized accessors (less readable). o typically a small performance hit at startup (accessors are created at compile-time). o uses the same anonymous sub to reduce memory consumption (sometimes by 80%). See the benchmark tests included with this distribution for more details. MOTIVATION
The main difference between the accessors pragma and other accessor generators is simplicity. o interface use accessors qw( ... ) is as easy as it gets. o a pragma it fits in nicely with the base pragma: use base qw( Some::Class ); use accessors qw( foo bar baz ); and accessors get created at compile-time. o no bells and whistles The module is extensible instead. SUB-CLASSING If you prefer a different style of accessor or you need to do something more complicated, there's nothing to stop you from sub-classing. It should be pretty easy. Look through accessors::classic, accessors::ro, and accessors::rw to see how it's done. CAVEATS
Classes using blessed scalarrefs, arrayrefs, etc. are not supported for sake of simplicity. Only hashrefs are supported. THANKS
Thanks to Michael G. Schwern for indirectly inspiring this module, and for his feedback & suggestions. Also to Paul Makepeace and David Wright for showing me faster accessors, to chocolateboy for his contributions, the CPAN Testers for their bug reports, and to James Duncan and people on London.pm for their feedback. AUTHOR
Steve Purkis <spurkis@cpan.org> SEE ALSO
accessors::classic, accessors::chained Similar and related modules: base, fields, Class::Accessor, Class::Struct, Class::Methodmaker, Class::Generate, Class::Class, Class::Tangram, Object::Tiny perl v5.12.4 2011-10-16 accessors(3pm)
All times are GMT -4. The time now is 06:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy