Re: [users@httpd] Oddity using FallbackResource in PHP development

2018-06-08 Thread Benjamin Smith
That was it, thanks! Now, in my /etc/httpd/conf.d/site.conf I have: SetHandler None SetHandler application/x-httpd-php # blah blah other stuff wrote: > Do you have

Re: [users@httpd] Oddity using FallbackResource in PHP development

2018-06-08 Thread Daniel Gruno
Do you have a handler configured for .php that might interfere here? If you have something like mod_php or fpm handling .php extensions, that may take over from the generic file handler (which is what FallbackResource works for) and try to serve it instead. A solution, if this is the case,

[users@httpd] Oddity using FallbackResource in PHP development

2018-06-08 Thread Benjamin Smith
Apache is returning 404 when an invalid PHP script is called, even though FallbackResource is configured and working fine for invalid scripts without the .php extension. Said another way, when I use FallbackResource, with a PHP file as the target, it works fine only when I don't reference an

Re: [users@httpd] mod_proxy_http rewrite problem

2018-06-08 Thread Herb Burnswell
Yann, Thank you for the response. I should have added to my post that we need the proxy to work without requiring adding a path to the vanity URL as: https://vanity.example.com/frontpage That being said I did test with modifying the ProxyPass and ProxyPassReverse as you suggested, and it does

[users@httpd] When should someone use TCP socket vs Unix socket vs Websocket for PHP execution

2018-06-08 Thread Rose, John B
If you have php-fpm running on same server as Apache, and you have a lot of virtual hosts (hundreds+) using PHP. Which is the best approach for executing PHP as the owner of each virtual host (web directory)? Looking thru this page at the moment for guidance

Re: [users@httpd] Rotate logs in apache-2.4.29

2018-06-08 Thread Hemant Chaudhary
Now its working. Earlier rotatelogs directory was not proper. Thanks Hemant On Fri, Jun 8, 2018 at 7:14 PM, Yehuda Katz wrote: > Is rotatelogs actually located in /bin/ ? > > On my REHL 7 system, it is located in /usr/sbin/ > On Ubuntu 16.04, it is located in /usr/bin/ > > - Y > > On Fri, Jun

Re: [users@httpd] Rotate logs in apache-2.4.29

2018-06-08 Thread Yehuda Katz
Is rotatelogs actually located in /bin/ ? On my REHL 7 system, it is located in /usr/sbin/ On Ubuntu 16.04, it is located in /usr/bin/ - Y On Fri, Jun 8, 2018 at 5:11 AM Hemant Chaudhary < hemantdude.chaudh...@gmail.com> wrote: > Hi All, > > I am trying to use rotatelogs in my webserver, but

AW: [users@httpd] Rotate logs in apache-2.4.29 [wd-vc]

2018-06-08 Thread Bremser, Kurt (Allianz Technology GmbH)
rotatelogs is not in the system's bin directory, but in the bin directory of your apache. Kurt Bremser Allianz Technology GmbH Newton was wrong. There is no gravity. The Earth sucks. Von: Hemant Chaudhary [hemantdude.chaudh...@gmail.com] Gesendet:

[users@httpd] Rotate logs in apache-2.4.29

2018-06-08 Thread Hemant Chaudhary
Hi All, I am trying to use rotatelogs in my webserver, but unable to do that. Please help me to know where I am going wrong. httpd.conf: CustomLog "|/bin/rotatelogs logs/httpd_log 60" combined error_log: (4002)No such file or directory: AH00104: unable to start piped log program '

Re: [users@httpd] mod_ratelimit working by steps ?

2018-06-08 Thread nerbrume
I opened a tracking task in https://bz.apache.org/bugzilla/show_bug.cgi?id=62362, I tried to write in there an explanation about what I think it is happening. Thanks for the report! Luca Hi, Well, thanks to you, you are the one having done all the tedious work here ! N

Re: [users@httpd] mod_proxy_http rewrite problem

2018-06-08 Thread Yann Ylavic
Hello, On Thu, Jun 7, 2018 at 9:36 PM, Herb Burnswell wrote: > > RewriteEngine On > RewriteRule "^/frontpage(.+)" "$1" [R,L] What about this instead of the above: ProxyPass /frontpage/ balancer://applicationcluster/ stickysession=JSESSIONID ProxyPassReverse