RE: old solaris box (but heavily used)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It should be similar to the grep example you had earlier, so:
LoadModule rewrite_module libexec/mod_rewrite.so
  
  
  
  
  

From: james pruett [mailto:gpscruise@xxxxxxxxx] 
Sent: Friday, May 20, 2016 1:57 PM
Cc: users@xxxxxxxxxxxxxxxx
Subject: Re:  old solaris box (but heavily used)

Thanks for continued help!

Do I add this or this?
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule rewrite_module libexec/mod_rewrite.so



----------------mod_rewrite.so exists in both places already-----------------------

mktpricing:/usr % find -L apach* -name mod_rewrite.so | xargs ls -lrt
-r-xr-xr-x   1 root     bin        68320 Feb 26  2014 apache/libexec/mod_rewrite.so
-r-xr-xr-x   1 root     bin        61272 Sep 24  2014 apache2/libexec/mod_rewrite.so
                                                



  

On Fri, May 20, 2016 at 11:33 AM, Scott Birl <sbirl@xxxxxxxxxx> wrote:
James:
 
https://httpd.apache.org/docs/2.0/mod/mod_alias.html#redirect
 
mod_alias for Redirect or RedirectMatch
 
And since you have dynamic loading of modules enabled, yes, you can "turn on" the alias module without the need of re-compiling Apache from scratch.
 
 
 
From: james pruett [mailto:gpscruise@xxxxxxxxx] 
Sent: Thursday, May 19, 2016 12:03 PM
To: users@xxxxxxxxxxxxxxxx
Subject:  old solaris box (but heavily used)
 
Hi,
 
My boss wants us to provide a redirect page for use during site-maintanance.
 
I assume this means I need to add mod_rewrite.
 
Q:Can I add mod_rewrite to my server without re-compiling?
 
Thanks for any leads.
I really appreciate it. I usually tip if that is an option. I insist!
Jim Pruett
 
 
These are my notes so far......
 
 
---------------Solaris uses libexec, not modules directory----------------- 
 
% grep ^LoadModule /etc/apache2/httpd.conf-example | grep rewrite
LoadModule rewrite_module libexec/mod_rewrite.so
 
---------to load modules----apache extension tool----------------
 
mktpricing:/usr % find apache*  -name apxs
apache/bin/apxs
apache2/bin/apxs
 
 
 
--------my setup--------------------
 
 
mktpricing:/etc/apache % uname -a
SunOS mktpricing 5.10 Generic_150400-20 sun4v sparc sun4v
 
 
mktpricing:/etc/apache % /usr/apache2/bin/apachectl -l
Compiled in modules:
  core.c
  prefork.c
  http_core.c
  mod_so.c
 
mktpricing:/etc/apache % /usr/apache2/bin/apachectl -V
Server version: Apache/2.0.63
Server built:   Sep 15 2014 10:00:47
Server's Module Magic Number: 20020903:13
Server loaded:  APR 0.9.17, APR-UTIL 0.9.15
Compiled using: APR 0.9.17, APR-UTIL 0.9.15
Architecture:   32-bit
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_FCNTL_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D HTTPD_ROOT="/usr/apache2"
 -D SUEXEC_BIN="/usr/apache2/bin/suexec"
 -D DEFAULT_PIDLOG="/var/run/apache2/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
 -D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"
 
 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux