Re: [users@httpd] AW: **SPAM?** [users@httpd] WebDAV can't copy folder [wd-vc]

2015-12-18 Thread 494119932
I captured packges using wireshark,when I copied folder,recv HTTP/1.1 207 If I copy a folder which name isn't duplicate with the file,the packges like this: And,I capture package on WebDAV server,it recv /PROPFIND /andy/name indeed. But when I read apache source code,added log in the first

Re: [users@httpd] Refiring requests to proxy backend

2015-12-18 Thread Jim Jagielski
In general, if you prepend the URL w/ 'proxy:' and then use it in a subrequest, it will be processed as a proxy request. > On Dec 17, 2015, at 9:21 AM, Jose Thomas wrote: > > All, > > I am using httpd 2.4 with mod_proxy (http) routing requests to multiple > backends. > > I have a strange requ

Re: [users@httpd] Refiring requests to proxy backend

2015-12-18 Thread Jose Thomas
Jim, Sorry, I could not find the documentation on how to do this using mod_lua. Can you please point me there ? In my current setup which is on httpd 2.2 - we use modpython. For routing requests (based on a header) we use a simple python script. For refiring the request (when a custom response co

[users@httpd] Help with Apache configuration

2015-12-18 Thread chetan jain
Hi all, I have a scenario where i have different instances of the same application deployed on different boxes and we call those instances as app1, app2. and the actual URL for both will be like this : http://host_name1:app1_port>/app/WebObject/app.woa for app1 http://host_name2:app2_port/

Re: [users@httpd] Temporarily authentication errors with auth_dbd and postgres

2015-12-18 Thread Klaus Darilion
On 04.12.2015 12:30, Klaus Darilion wrote: > > On 02.12.2015 23:27, Jacob Champion wrote: >> My experience was with SQLite, not PostgreSQL, but we also saw >> nondeterministic authn failures that went away after we cherry-picked >> several patches from the latest httpd version. If you have the m

Re: [users@httpd] Refiring requests to proxy backend

2015-12-18 Thread Jim Jagielski
I'm not a mod_lua expert, esp as it relates to exposing the full Apache httpd API... it is possible that using r.handler and specifying the proxy may work. > On Dec 18, 2015, at 8:05 AM, Jose Thomas wrote: > > Jim, > > Sorry, I could not find the documentation on how to do this using mod_lua.

Re: [users@httpd] Refiring requests to proxy backend

2015-12-18 Thread Daniel Gruno
I think you need two phases here, as mod_lua doesn't itself do the proxying, but delegates it to mod_proxy. First, http://modlua.org/recipes/loadbalancing will show you how to proxy. Secondly, you could then set up a handler for the specific HTTP code using ErrorDocument or an output filter. I h

Re: [users@httpd] Refiring requests to proxy backend

2015-12-18 Thread Daniel Gruno
I'm interested in knowing how you did it in mod_python. Do you use an external http lib and process the result yourself? That's certainly also possible with mod_lua. With regards, Daniel. On 12/18/2015 05:12 PM, Daniel Gruno wrote: > I think you need two phases here, as mod_lua doesn't itself do

Re: [users@httpd] Refiring requests to proxy backend

2015-12-18 Thread Jose Thomas
Daniel, I have successfully implemented the router in lua using a lua script called from a "LuaHookFixups" directive. LuaHookFixups /var/www/lua/myscript.lua router -- /var/www/lua/myscript.lua function router(r) local route = get_route(r) if route then r.filename = "proxy:balanc

Re: [users@httpd] Refiring requests to proxy backend

2015-12-18 Thread Daniel Gruno
On 12/18/2015 05:30 PM, Jose Thomas wrote: > Daniel, > > I have successfully implemented the router in lua using a lua script > called from a "LuaHookFixups" directive. > > LuaHookFixups /var/www/lua/myscript.lua router > > -- /var/www/lua/myscript.lua > function router(r) > local route = ge

Re: [users@httpd] Refiring requests to proxy backend

2015-12-18 Thread Jose Thomas
> I'll keep you posted if I find a smart way to re-fire mod_proxy on demand. > > With regards, > Daniel. > > Thanks Daniel.

[users@httpd] Proxy Pass & Caching

2015-12-18 Thread Gibran Akram
Hi, I was just out experimenting with Proxy Pass, this is a XAMPP 5.6.3 installation. I noticed that once we setup the proxy pass for certain apps (deployed on the same EC2 instance), any changes made to the php pages don't reflect immediately. Restarts etc. don't help. I tried commenting out the

Re: [users@httpd] Temporarily authentication errors with auth_dbd and postgres

2015-12-18 Thread Jacob Champion
On Dec 18, 2015 6:23 AM, "Klaus Darilion" wrote: > > For the records: Since we use Apache 2.4.17 we do not have that problem > anymore. Excellent! Glad that seems to have solved it. Thanks for reporting back. --Jacob [on mobile; sorry for any formatting annoyances]

[users@httpd] mod_cache/mod_cache_disk responses missing Content-Type header

2015-12-18 Thread Alexander Härtig
Hello, for our customer we set up several Apache httpds (Server version: Apache/2.4.16 (Amazon)) in Amazon Web Services EC2 instances across the world. These httpds act mainly as caching proxies that are connected to a central web application. For caching we use mod_cache_disk. A couple of days

[users@httpd] AH00273: apr_proc_mutex_lock failed, possibly caused by cron, systemd or su

2015-12-18 Thread Rainer Canavan
Hi, we've got an obscure problem with the apache httpd that was shipped with CentOS 7.2. We perform automatic builds and updates via cron, and, since the update to CentOS 7.2. The update script is triggered by cron and stops, yum updates and starts the httpd. When the next cron job that is run as