[users@httpd] ErrorDocument 404 is not working with on VirtualHost config

2016-10-02 Thread Jayaram Ponnusamy
Hi, We want to redirect all 404 Page not found & File Not Found error page to custom Error page which is located under /sites/en_US/ So, written the Rules like below but it didnt work. Redirect 404 /sites/en_US/404 ErrorDocument 404 /sites/en_US/404 If use like below then all pages taking to cu

Re: [users@httpd] Random Internal Server Error 500 after apache and system update

2016-10-02 Thread Fabio F.Gervasi
It could be another (not root) httpd process? Do you thing this is not a "apache" problem? *Fabio F. Gervasi* Engineering Consultant *Web www.centrometeo.com * *g+ plus.google.com/centrometeo

Re: [users@httpd] Random Internal Server Error 500 after apache and system update

2016-10-02 Thread Daniel
I really see nothing in that strace output that tells anything is crashing. 2016-10-02 10:44 GMT+02:00 Fabio F.Gervasi : > Hi James, > > I do not have the skills to be able to work well in "depth" to the problem > as you (rightly) suggest. What I know is that this problem started from the > las

Re: [users@httpd] Random Internal Server Error 500 after apache and system update

2016-10-02 Thread Fabio F.Gervasi
Hi James, I do not have the skills to be able to work well in "depth" to the problem as you (rightly) suggest. What I know is that this problem started from the last system update (apache / php / mariadb, ...) from 23 September. The only log info is: /var/log/httpd/error_log, at "crash time": [Fr

Re: [users@httpd] Random Internal Server Error 500 after apache and system update

2016-10-02 Thread Fabio F.Gervasi
Hi Daniel, the *output* file of the first command, *strace -o /tmp/outputfile -s 5000 httpd -X*: execve("/usr/sbin/httpd", ["httpd", "-X"], [/* 25 vars */]) = 0 brk(NULL) = 0x55882e0b8000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f

Re: [users@httpd] Random Internal Server Error 500 after apache and system update

2016-10-02 Thread Dr James Smith
Things you can do are trying to track down if there is any pattern - are these first request on a child, "nth" request on child etc... we add additional variables to access logs which include things such as PID/request no in PID, memory usage before and after etc. This allows us sometimes to s

Re: [users@httpd] Random Internal Server Error 500 after apache and system update

2016-10-02 Thread Daniel
I would bet on your method of parsing php and the scripts being ran, in any case to be sure: Try the strace approach: strace -o /tmp/outputfile -s 5000 httpd -X or strace -ff -F -s200 -o /tmp/strace.out -p PID to try to find out what's really going on. 2016-09-30 20:19 GMT+02:00 Fabio F.Gervasi