Re: [users@httpd] how to get httpd to use a proxy, cascading to a 2nd proxy ?

2015-04-09 Thread Eric Covener
ProxyRemote

On Wed, Apr 1, 2015 at 8:25 PM, Julian H. Stacey  wrote:
> I wrote:
>> & no manuals, & I'm new to Android (but familiar with Apache & FreeBSD)
>
> "route add default gw 192.168.42.139 dev rndis0"
> fails with: Not permitted, (I need to root the device),
>
> So I'd still like to solve the double proxy question please.
>
> Cheers,
> Julian
> --
> Julian Stacey, BSD Linux Unix C Sys Eng Consultant Munich http://berklix.com
> Indent previous with "> ".  Reply Below as a play script.
> Send plain text, Not quoted-printable, HTML, or base64.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>



-- 
Eric Covener
cove...@gmail.com

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Compatible mod_perl module to Apache 2.4.3

2015-04-09 Thread Jeff Trawick

On 04/09/2015 03:30 AM, Sailaja Gadireddy wrote:

Hello Team,

I would like to know if mod_perl-2.0.8.tar.gz is compatible to Apache 
2.4.3.


mod_perl has not yet had a release which supports Apache httpd 2.4.x, 
although patches have been available which handle most issues.


Use the appropriate perl.apache.org mailing list (refer to 
http://perl.apache.org/maillist/index.html) for better help.




I have tried compliling it and fot the below error.

bash-3.2# perl Makefile.PL MP_APXS=/opt/web/apache_test/bin/apxs 
MP_APR_CONFIG=/opt/app/software/httpd-2.4.3/srclib/apr/apr-1-config 
-Duseithreads

Reading Makefile.PL args from @ARGV
   MP_APXS = /opt/web/apache_test/bin/apxs
   MP_APR_CONFIG = /opt/app/software/httpd-2.4.3/srclib/apr/apr-1-config
no conflicting prior mod_perl version found - good.
Configuring Apache/2.4.3 mod_perl/2.0.8 Perl/v5.8.4
[  error] Using Perl 5.8.4 w/o ithreads and 'dynamic' mpm httpd.
[  error] Failed requirements:
[  error]   - Perl built with ithreads (build perl with -Duseithreads)


Please help me the to fix this.

Thanks & Regards,
Sailaja




-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] how to get httpd to use a proxy, cascading to a 2nd proxy ?

2015-04-09 Thread Ruben Son
I am sorry but I can't
Answer your question cause I am still building my network  but had to say
your setup sounds very interesting and I have similar plans with the
Android I am new to servers I installed Apache on a ubuntu host  on a hp 8
gig ram installed on a 2 tb external hard drive I don't know much of the
command line so trying out windows server 2012 for the gui well this is
getting long and not pertaining to Apache so that said I'll end hear I'll
be studying your question in the future I am sure thanks for asking it
sorry I was of no help
On Apr 1, 2015 3:53 PM, "Julian H. Stacey"  wrote:

> Hi all on users@httpd.apache.org
> Can httpd _use_ (not just _be_) a proxy, cascading to a 2nd proxy on a
> gate ?
>
> (Not just the common case of httpd serving as a proxy for down stream
> clients,
>  though I need that too on same httpd,  I already have that part working)
>
> I want to get httpd on an internal host to serve as a proxy to a
> USB tethered android (which it is already doing), + to pass requests
> over ethernet LAN to a 2nd proxy on a LAN gateway.
>
> This may seem unusual, here's the reason:
> An android is tethered (IP over USB) to a FreeBSD PC laptop,
> Orweb browser on Android allows use of a proxy, FreeBSD
> laptop runs apache 2.2.29 httpd (listening on the USB IP)
> with httpd proxy enabled & PC allows android to reach various
> httpd PCs
> on local LAN of the PC.
>
> I now want to tell the httpd on the PC interfacing the android,
> to pass android requests to a 2nd httpd running on the gateway
> host,
> to reach the internet.
>
> Why ? Why dont I just configure the FreeBSD PC to bridge packets
> from USB to LAN ethernet, & on to LAN gate ?
>   - I may later want a firewall on the laptop ( to protect LAN from lots of
> untrusted android binaries, + android WLAN & SIM interfaces).
>   - Pragmaticaly , I've tried & failed to create a bridge,
> I think the FreeBSD PC side is OK:
> /etc/rc.conf gateway_enable="YES"  +
> sysctl net.inet.ip.forwarding=1
> But Android rejects syntaxes such as
> route add default 192.168.42.139
> route add default gw 192.168.42.139
> route add default gw 192.168.42.139 dev eth0
> & no manuals, & I'm new to Android (but familiar with Apache & FreeBSD)
>
> If httpd wont use a proxy, maybe I'll try packet diversion
> via FreeBSD's ipfw,  but I'm hoping Apache httpd can use a proxy ?
>
> I've read
> http://httpd.apache.org/docs/2.2/urlmapping.html#proxy
> & contemplated nasty cludges eg:
> 1st httpd on PC connected to android:
> 
> ServerName  play.google.com
> Redirect temp /store/apps http://gate/playgoogle
> 2nd httpd on LAN gate:
> Redirect temp /playgoogle
> http://play.google.com/store/apps
> But it would be Ugly & wouldnt work for other URLs, eg when android map
> apps
> go other places to load maps etc.
>
> Maybe there's some clever mapping with
> http://httpd.apache.org/docs/2.2/rewrite/
> 1st httpd to be receive request
> http://domain/url_under_domain
> & emit
> http://gate/indirect_trigger/domain/url_under_domain
> & 2nd=gate to redirect to
> http://domain/url_under_domain
>
> Ideas / suggestions please ?
>
> Cheers,
> Julian
> --
> Julian Stacey, BSD Linux Unix C Sys Eng Consultant Munich
> http://berklix.com
> Indent previous with "> ".  Reply Below as a play script.
> Send plain text, Not quoted-printable, HTML, or base64.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


[users@httpd] Compatible mod_perl module to Apache 2.4.3

2015-04-09 Thread Sailaja Gadireddy
Hello Team,

I would like to know if mod_perl-2.0.8.tar.gz is compatible to Apache 2.4.3.

I have tried compliling it and fot the below error.

bash-3.2# perl Makefile.PL MP_APXS=/opt/web/apache_test/bin/apxs
MP_APR_CONFIG=/opt/app/software/httpd-2.4.3/srclib/apr/apr-1-config
-Duseithreads
Reading Makefile.PL args from @ARGV
   MP_APXS = /opt/web/apache_test/bin/apxs
   MP_APR_CONFIG = /opt/app/software/httpd-2.4.3/srclib/apr/apr-1-config
no conflicting prior mod_perl version found - good.
Configuring Apache/2.4.3 mod_perl/2.0.8 Perl/v5.8.4
[  error] Using Perl 5.8.4 w/o ithreads and 'dynamic' mpm httpd.
[  error] Failed requirements:
[  error]   - Perl built with ithreads (build perl with -Duseithreads)


Please help me the to fix this.

Thanks & Regards,
Sailaja