[users@httpd] Apache Copied In Another Location AIX
Hi All, I am newbie for Apache. I'm trying to build apache 2.2 on AIX 7 by copying entire installed directory to different AIX 7 host. I adjusted apachectl entries and envvars and envvars-std, But stuck with error while running ./apachectl exec(): 0509-036 Cannot load program /apache/apache2.2/patch2.2/bin/httpd because of the following errors: 0509-022 Cannot load module /data/apache/patch2.2/lib/libaprutil-1.so. 0509-150 Dependent module /apache/patch2.2/lib/libexpat.a(libexpat.so.0) could not be loaded. 0509-022 Cannot load module /apache/patch2.2/lib/libexpat.a(libexpat.so.0). 0509-026 System error: A file or directory in the path name does not exist. 0509-022 Cannot load module httpd. 0509-150 Dependent module /data/apache/patch2.2/lib/libaprutil-1.so could not be loaded. 0509-022 Cannot load module . Can you please guide with detailed approach to be followed for this requirement as I have not found useful info in this regard. Requirement: Want to setup apache on other system (of same OS-AIX) with copy of existing apache(apache/patch2.2), without installing from software. Thanks & Regards Ram
[users@httpd] HTTPS Redirect Not Working
Apache 2.4.x on SLES12. We have a web app in tomcat that is directly accessible by port 8080 and 8443. We use a combination of proxypass and mod_jk to connect to it from apache (never could get this to work without using both). We also use a https redirect to make it easier for the users. So if you type share.domain.tld you land at https://share.domain.tld/share. This worked up until a day ago. Now when you type share.domain.tld you get a 404 and the address is NOT redirected to https. Here is the redirect statements that have been working fine until now: # Redirect Share to HTTPS ProxyPass /share/ https://share.domain.tld/share/ ProxyPassReverse /share/ https://share.domain.tld/share/ RedirectMatch ^/$ https://share.domain.tld/share/ No updates have been done since this was working so i don't think that is what broke it. Is there a way to tell if mod_jk is the culprit?
Re: [users@httpd] Apache Copied In Another Location AIX
On Fri, Oct 9, 2015 at 9:46 AM, VELIDANDI, RAMAKRISHNA < ramakrishna.velida...@unilever.com> wrote: > Hi All, > > > > I am newbie for Apache. > > > > I'm trying to build apache 2.2 on AIX 7 by copying entire installed > directory to different AIX 7 host. > > > > I adjusted apachectl entries and envvars and envvars-std, But stuck with > error while running ./apachectl > > > > exec(): 0509-036 Cannot load program /apache/apache2.2/patch2.2/bin/httpd > because of the following errors: > > 0509-022 Cannot load module > /data/apache/patch2.2/lib/libaprutil-1.so. > > 0509-150 Dependent module > /apache/patch2.2/lib/libexpat.a(libexpat.so.0) could not be loaded. > > 0509-022 Cannot load module > /apache/patch2.2/lib/libexpat.a(libexpat.so.0). > > 0509-026 System error: A file or directory in the path name does > not exist. > > 0509-022 Cannot load module httpd. > > 0509-150 Dependent module > /data/apache/patch2.2/lib/libaprutil-1.so could not be loaded. > > 0509-022 Cannot load module . > > > > Can you please guide with detailed approach to be followed for this > requirement as I have not found useful info in this regard. > > > > Requirement: Want to setup apache on other system (of same OS-AIX) with > copy of existing apache(apache/patch2.2), without installing from software. > > > > > > *Thanks & Regards* > *Ram* > > One way is to use an install path on the build machine that can also be used on the target machine (e.g., /opt/unilever/httpd22 or something else that won't be used by third-party packages). Alternatively, you can update LIBPATH in the /bin/envvars file to use the actual install path. It will currently have the install path on the build machine. > -- Born in Roswell... married an alien... http://emptyhammock.com/