Re: [users@httpd] Re: Logs: How to find 403 forbidden error.

2016-04-08 Thread Richard
> Date: Friday, April 08, 2016 21:40:57 -0400 > From: Francis Roy > > On 16-04-08 08:06 PM, Jonesy wrote: > >> Could it be possible that the plugin is getting a 403 from >> an_external_ fetch attempt? I.e., the 403 is in the logs >> of a server somewhere else on the planet. > > Yes, in fact,

Re: [users@httpd] Re: Logs: How to find 403 forbidden error.

2016-04-08 Thread Francis Roy
On 16-04-08 08:06 PM, Jonesy wrote: Could it be possible that the plugin is getting a 403 from an_external_ fetch attempt? I.e., the 403 is in the logs of a server somewhere else on the planet. Yes, in fact, this is very possible. It is a third-party program making a direct request. Would a

[users@httpd] Re: Logs: How to find 403 forbidden error.

2016-04-08 Thread Jonesy
On Fri, 8 Apr 2016 11:09:55 -0400, Francis Roy wrote: > I have a user that is complaining that a PHP script (a Wordpress plugin) > is complaining that there's a 403 error. I've looked in my logs and > can't find it. Maybe I'm doing it wrong. > > My logs are at /var/log/httpd and I'm looking at bo

Re: [users@httpd] url forwarding

2016-04-08 Thread K R
The source url has " &popular=HOT-TOPIC " http://myhost.com/index?page=content&topic=TVAR&popular=HOT-TOPIC how do i remove " &popular=HOT-TOPIC " on the red

Re: [users@httpd] url forwarding

2016-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 K, On 4/8/16 2:35 PM, K R wrote: > I have a need to setup a redirect for around 3000 pages which are > in below format > > http://myhost.com/index?page=content&topic=TVAR&popular=HOT-TOPIC > --> http://myhost.com/index?page=content&topic=TVAR > > a

[users@httpd] url forwarding

2016-04-08 Thread K R
All, I have a need to setup a redirect for around 3000 pages which are in below format http://myhost.com/index?page=content&topic=TVAR&popular=HOT-TOPIC --> http://myhost.com/index?page=content&topic=TVAR and here TVAR can be any string ( we have now around 500 different key e.g ALW , CAW

Re: [users@httpd] Self-compiled httpd and OpenSSL: Trying to start httpd without using LD_LIBRARY_PATH

2016-04-08 Thread Rainer Jung
Hi Chris, Am 08.04.2016 um 18:09 schrieb Rainer Canavan: On Fri, Apr 8, 2016 at 6:02 PM, Christopher Schultz wrote: [...] I'm speaking from a position of ignorance, here, but can a dynamic library modify the main process's search path? If only mod_ssl is compiled with the static-path to OpenSS

Re: [users@httpd] Avoid internal request on PATH_INFO

2016-04-08 Thread Ben RUBSON
> What I would like to avoid is the entry in the error log for > /additional/path/info which does not exist. What entry? >>> >>> Hello Eric, >>> >>> These messages : >>> client denied by server configuration: >>> /my_document_root/additional/path/info >>> >>> Only /my_docume

Re: [users@httpd] Self-compiled httpd and OpenSSL: Trying to start httpd without using LD_LIBRARY_PATH

2016-04-08 Thread Rainer Canavan
On Fri, Apr 8, 2016 at 6:02 PM, Christopher Schultz wrote: [...] > I'm speaking from a position of ignorance, here, but can a dynamic > library modify the main process's search path? If only mod_ssl is > compiled with the static-path to OpenSSL but httpd is not (and it's > not clear to me that htt

Re: [users@httpd] Self-compiled httpd and OpenSSL: Trying to start httpd without using LD_LIBRARY_PATH

2016-04-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 4/8/16 11:30 AM, Rainer Jung wrote: > Am 08.04.2016 um 10:41 schrieb Rainer Canavan: >> On Fri, Apr 8, 2016 at 12:31 AM, Yann Ylavic >> wrote: >>> On Thu, Apr 7, 2016 at 5:21 PM, Poggenpohl, Daniel >>> wrote: LDFLAGS="-L$OPENS

Re: [users@httpd] Self-compiled httpd and OpenSSL: Trying to start httpd without using LD_LIBRARY_PATH

2016-04-08 Thread Rainer Jung
Hi, Am 07.04.2016 um 20:52 schrieb Poggenpohl, Daniel: Hi, my setup is: I have a Moodle installation I need to run. So I need Apache, PHP, OpenSSL, iconv, mbstring, curl, zip, etc. . The plan is to have a relatively new PHP (5.6.20) and stay "new" with Apache and OpenSSL. Solaris 11.3 seems t

Re: [users@httpd] Self-compiled httpd and OpenSSL: Trying to start httpd without using LD_LIBRARY_PATH

2016-04-08 Thread Rainer Jung
Am 08.04.2016 um 10:41 schrieb Rainer Canavan: On Fri, Apr 8, 2016 at 12:31 AM, Yann Ylavic wrote: On Thu, Apr 7, 2016 at 5:21 PM, Poggenpohl, Daniel wrote: LDFLAGS="-L$OPENSSLDIR/lib -R $OPENSSLDIR/lib" I don't know which compiler you are using, but gcc's -R is not working correctly (on L

[users@httpd] Logs: How to find 403 forbidden error.

2016-04-08 Thread Francis Roy
I have a user that is complaining that a PHP script (a Wordpress plugin) is complaining that there's a 403 error. I've looked in my logs and can't find it. Maybe I'm doing it wrong. My logs are at /var/log/httpd and I'm looking at both access_log and error_log (or some of the preceding ones.)

Re: [users@httpd] Self-compiled httpd and OpenSSL: Trying to start httpd without using LD_LIBRARY_PATH

2016-04-08 Thread Yann Ylavic
On Fri, Apr 8, 2016 at 3:01 PM, Poggenpohl, Daniel wrote: > > Then I use my new shiny command to remove the global_symbol_pipe bug in the > libtool script: > LIBTOOL=/moodle/installers/httpd-2.4.18/srclib/apr/libtool; sed > '/export_symbols_cmds.*global_symbol_pipe/s/ | \\\$global_symbol_pipe//'

AW: [users@httpd] Self-compiled httpd and OpenSSL: Trying to start httpd without using LD_LIBRARY_PATH [wd-vc]

2016-04-08 Thread Bremser, Kurt (AMOS Austria GmbH)
>-- /bin/sh[1]: /basedir/installers/httpd-2.4.18/srclib/apr/libtool: cannot execute [Permission denied] gmake[3]: *** [unixd.lo] Error 126 gmake[3]: Leaving directory `/basedir/installers/httpd-2.4.18/os/unix' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/bas

AW: [users@httpd] Self-compiled httpd and OpenSSL: Trying to start httpd without using LD_LIBRARY_PATH

2016-04-08 Thread Poggenpohl, Daniel
So hello, stepping back a bit, I decided to look which gcc I'm using. It seems it's one in /usr/sfw/bin (Sun Freeware), and it is gcc 3.4.3 (relatively old, it seems). So I looked what gcc packages are installed on the system (pkg list | grep gcc) and somehow the wrapper package gcc-48 is insta

Re: [users@httpd] Self-compiled httpd and OpenSSL: Trying to start httpd without using LD_LIBRARY_PATH

2016-04-08 Thread Daniel
They key in the OP is here: "I've compiled Apache HTTPD 2.4.18 with the following options: cd /basedir/installers/httpd-2.4.18 OPENSSLDIR=/basedir/openssl/1.0.2g \" <- You compiled httpd against openssl 1.0.2g , so it is normal you have to add LD_LIBRARY_PATH to use it and if you don't apache

Re: [users@httpd] Avoid internal request on PATH_INFO

2016-04-08 Thread Kees Nuyt
On Thu, 7 Apr 2016 21:28:23 +0200, you wrote: > >> Le 7 avr. 2016 à 21:07, Ben RUBSON a écrit : >> What I would like to avoid is the entry in the error log for /additional/path/info which does not exist. >>> >>> What entry? >> >> Hello Eric, >> >> These messages : >> client denied

Re: [users@httpd] Self-compiled httpd and OpenSSL: Trying to start httpd without using LD_LIBRARY_PATH

2016-04-08 Thread Rainer Canavan
On Fri, Apr 8, 2016 at 12:31 AM, Yann Ylavic wrote: > On Thu, Apr 7, 2016 at 5:21 PM, Poggenpohl, Daniel > wrote: >> >> LDFLAGS="-L$OPENSSLDIR/lib -R $OPENSSLDIR/lib" > > I don't know which compiler you are using, but gcc's -R is not working > correctly (on Linux at least), whereas "-Wl,-rpath,$O