Re: [users@httpd] Re: make apache 2.4.17 portable under ubuntu

2015-10-16 Thread Kurtis Rader
On Fri, Oct 16, 2015 at 6:23 PM, Good Guy wrote: > On 17/10/2015 01:41, Kurtis Rader wrote: > >> >> That is not correct, Good Guy. Linux, and pretty much any operating >> system, uses binary programs. Which means programs that consist of machine >> executable op codes. And Apache HTTP server on L

Re: [users@httpd] Re: make apache 2.4.17 portable under ubuntu

2015-10-16 Thread Jacob Champion
On 10/16/2015 06:23 PM, Good Guy wrote: I got it from the Master in this video: Just after 6 minutes in the video he is talking about binaries and all that. When Linus says "you don't make binaries for Linux", he means that maintaining and shippi

Re: [users@httpd] Re: make apache 2.4.17 portable under ubuntu

2015-10-16 Thread Kurtis Rader
On Fri, Oct 16, 2015 at 5:23 PM, Good Guy wrote: > On 16/10/15 22:11, Raf Roger wrote: > >> I used during several years a portable version of my webserver under >> windows 7/8 to shift from laptop to desktop computer and without >> duplicating webserver from one computer to another. >> >> i'm try

[users@httpd] Re: make apache 2.4.17 portable under ubuntu

2015-10-16 Thread Good Guy
On 16/10/15 22:11, Raf Roger wrote: Hi, I used during several years a portable version of my webserver under windows 7/8 to shift from laptop to desktop computer and without duplicating webserver from one computer to another. i'm trying to do the same under ubuntu 15.04 however it seems that

Re: [users@httpd] web server load testing

2015-10-16 Thread Anne Blankert
Hi, I happen to find 'siege' a pretty easy to use http load tester. on Ubuntu: sudo apt-get install siege you can run 1 or many different urls using one or many concurrent users and you can set random real world intervals or benchmark (0 sec intervals). URLs can be loaded from a file or be give

[users@httpd] make apache 2.4.17 portable under ubuntu

2015-10-16 Thread Raf Roger
Hi, I used during several years a portable version of my webserver under windows 7/8 to shift from laptop to desktop computer and without duplicating webserver from one computer to another. i'm trying to do the same under ubuntu 15.04 however it seems that only few people did it. 1. why people un

[users@httpd] web server load testing

2015-10-16 Thread Rose, John B
Does anyone have personal experience, or have heard anything, about any of these load testing apps? Soasta Cloudtest http://www.soasta.com/cloudtest/ HP Stormrunner (Cloud) http://www8.hp.com/us/en/software-solutions/stormrunner-load-agile-cloud-te sting/ HP Loadrunner (Locally installed) http:

Re: [users@httpd] Configure Apache behind proxy with auth [wd-vc]

2015-10-16 Thread Rainer Jung
Am 16.10.2015 um 15:08 schrieb Lucas Santos Sanches: using cUrl here is $curl = curl_init(); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 5); curl_setopt($curl, CURLOPT_TIMEOUT, $curl_timeout); curl_setopt($curl

Re: [users@httpd] Apache 2.4.10 AH00485: scoreboard is full, not at MaxRequestWorkers

2015-10-16 Thread Mark Jacquet
Daniel, all, Just wanted to post the solution to this issue. I wanted to wait a significant amount of time to make sure we had this solved. The root caused was the LDAP Caching mechanism. I am guessing there is a bug in that code that causes the server to go haywire after n-number of items being

Re: [users@httpd] Error executing script through Apache

2015-10-16 Thread Pete Houston
On Fri, Oct 16, 2015 at 02:37:24PM +, David Johnson wrote: > Please forgive my ignorance, but what can I do now to resolve this? Depending on your current SELinux policy and what precisely it is that you want to allow you could either adjust an appropriate boolean, correct any files/dirs with

RE: [users@httpd] Error executing script through Apache

2015-10-16 Thread David Johnson
Hello All Pete - You were right! When I try to execute I get this in the audit log. type=AVC msg=audit(1445006093.179:15955): avc: denied { write } for pid=22733 comm="udt" name="apphome" dev=dm-0 ino=23199745 scontext=unconfined_u:system_r:httpd_sys_script_t:s0 tcontext=unconfined_u:objec

Re: [users@httpd] Error executing script through Apache

2015-10-16 Thread Pete Houston
On Fri, Oct 16, 2015 at 02:21:45PM +, David Johnson wrote: > What would be different about being logged in as www at the command line and > calling a script vs. running Apache as www and calling it through the > intranet? The SELinux context will be different. Check the audit log to see if i

[users@httpd] Error executing script through Apache

2015-10-16 Thread David Johnson
Hello Apache community, I am migrating our schools ERP system from HP-UX to Redhat. We run a UniData database utilizing Apache to access our data through our intranet. All I am trying to do is migrate the system to the new OS, but I am having issues initializing the database through Apache. I

RE: [users@httpd] Configure Apache behind proxy with auth [wd-vc]

2015-10-16 Thread Bremser, Kurt (AMOS Austria GmbH)
Then your problem is not with apache, but with curl. http://stackoverflow.com/questions/5211887/how-to-use-curl-via-a-proxy may be helpful. Kurt Bremser AMOS Austria Newton was wrong. There is no gravity. The Earth sucks. Von: Lucas Santos Sanches [lcssanc...@hotm

[users@httpd] apache 2.4 directory autoindex corrupted

2015-10-16 Thread Jan Schaumann
Hello, I just upgraded apache 2.2 to apache 2.4. After the upgrade, my autoindex directory listings show up as corrupted strings (see https://www.netmeister.org/t/ for an example). All other content serving appears to work fine. If you happen to know the file/dir names, you can successfully ret

RE: [users@httpd] Configure Apache behind proxy with auth [wd-vc]

2015-10-16 Thread Bremser, Kurt (AMOS Austria GmbH)
How do your PHP scripts access the internet? (provide a code sample) Kurt Bremser AMOS Austria Newton was wrong. There is no gravity. The Earth sucks. Von: Lucas Santos Sanches [lcssanc...@hotmail.com] Gesendet: Freitag, 16. Oktober 2015 14:47 An: users@httpd.apac

RE: [users@httpd] Configure Apache behind proxy with auth [wd-vc]

2015-10-16 Thread Bremser, Kurt (AMOS Austria GmbH)
Being behind a proxy suggests you are inside a firewalled intranet. You won't need the proxy at all to access your apache server from clients located inside the intranet. If you want your PC's http server to be accessible from the "outside", you need to have a rule defined on the firewall to dir

[users@httpd] Configure Apache behind proxy with auth

2015-10-16 Thread Lucas Santos Sanches
How do I authenticate Apache in proxy? Look that I'm not trying to make Apache a proxy.My computer is behind a proxy that needs authentication. All application I run, needs to use user/pass to access internet.How can I tell to Apache to use proxy auth?

Re: [users@httpd] mod_h2 protocols not working

2015-10-16 Thread Stefan Eissing
Thanks! Yeah, h2check.org is not working properly, it has not been updated for some time. I'll add a line about 302 h2c upgrades not working in the howto... > Am 16.10.2015 um 13:02 schrieb Chris : > > Well I am left scratching my head, the first vhost now works ok on > https using curl as a te

Re: [users@httpd] mod_h2 protocols not working

2015-10-16 Thread Chris
Well I am left scratching my head, the first vhost now works ok on https using curl as a tester, nghttp seems ok as well, although my output isnt the same as your document. I think you was right that the 302 redirect was breaking it on the http vhost as that still doesnt work but both http and htt

Re: [users@httpd] mod_h2 protocols not working

2015-10-16 Thread Chris
Ok stefan I have some good news, it is working on another vhost on both http and https, this is odd as the server config is the same and vhost templates match, will post more if I find out why the first vhost fails. Thanks On 16 October 2015 at 11:23, Chris wrote: > some more configure info > >

Re: [users@httpd] mod_h2 protocols not working

2015-10-16 Thread Chris
some more configure info # httpd -V Server version: Apache/2.4.17 (Unix) Server built: Oct 16 2015 08:46:36 Server's Module Magic Number: 20120211:51 Server loaded: APR 1.5.2, APR-UTIL 1.5.4 Compiled using: APR 1.5.2, APR-UTIL 1.5.4 Architecture: 64-bit Server MPM: event threaded: y

Re: [users@httpd] mod_h2 protocols not working

2015-10-16 Thread Chris
Sorry I meant I tried using Protocols h2 not g2 that was a typo. On 16 October 2015 at 10:48, Stefan Eissing wrote: > > Chris, > > http://freebsd-admin.com does a 302 redirect to https://freebsd-admin.com > > There is no connection upgrade happening on that. Can be argued that it > should. > > O

Re: [users@httpd] mod_h2 protocols not working

2015-10-16 Thread Chris
yep the redirect is deliberate, its actually a site I only use in https. The server in question has directadmin control panel, which configures the vhosts via templates. I added the protocols line at the start of the vhost so it is right at the start of the vhost container above servername etc. a

[users@httpd] mod_h2 protocols not working

2015-10-16 Thread Stefan Eissing
Chris, http://freebsd-admin.com does a 302 redirect to https://freebsd-admin.com There is no connection upgrade happening on that. Can be argued that it should. On the https side, I see: * Connected to freebsd-admin.com (78.46.185.201) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1