Skip to main content

All Questions

Tagged with
0 votes
1 answer
71 views

How to fix Apache PHP rejecting post requests which are over 40MBs

My php Laravel API when put behind apache2 (with ssl) when making a post request which is roughly 40Mbs in size, it gives a 500 internal error with following log [Wed Jul 10 21:08:51.397912 2024] [...
X3R0's user avatar
  • 123
0 votes
1 answer
25 views

Slow apache restart or gracefull when tee is in use

I have this in each virtual hosts in my Apache HTTPD confs: CustomLog "|$tee -a /www/domainX/logs/apache/acces_log" combined On servers with more than 100 domains, there is an issue with ...
Pavel's user avatar
  • 427
0 votes
1 answer
380 views

AH00170: caught SIGWINCH, shutting down gracefully

i have a web server on Debian and Apache2, about once a day or once every 2 days Apache2 crashes, here are the Apache2 error logs: [Wed May 22 13:04:01.082969 2024] [mpm_prefork:error] [pid 874799] ...
spider5414's user avatar
0 votes
0 answers
27 views

Is setting the ownership / permission for /etc/apache2 to have the group ownership `adm` and chmod g+w "safe"?

Good morning. I'm daring to ask my first ever qestion here. I'm annoyed having to use sudo all the time to modify the apache config files - mostly when I use the Remote SSH feature of my editor, then ...
JulianW's user avatar
0 votes
2 answers
129 views

apache2 can not set REMOTE_ADDR or any other var as header

i trying to setup apache as a reverse proxy and i need to add e.g. the REMOTE_ADDR and some other values as an header (required by the backend), for some reason always "null" is set. ...
sususo's user avatar
  • 1
0 votes
0 answers
42 views

How to get syslogd and/or Apache2 to STOP logging DEBUG messages to console

When I SSH into one of my Linux boxes (Ubuntu 20.04.2), I periodically see messages appear on the console screen: Message from syslogd@my-hostname at Jan 30 21:35:17 ... apache2: [MY-APP] DEBUG - 2024-...
GregSD's user avatar
  • 1
0 votes
0 answers
45 views

strace restart apache server does not log accept/accept4 syscalls

We are using the following command to gather syscalls for apache server start (run as root): strace -e trace=open,close,read,write,connect,accept -f -o /home/sacumen/syscalls_start_apache.txt ...
Mahesh's user avatar
  • 101
0 votes
1 answer
656 views

PHP Fatal Error: Cannot open /dev/urandom: No such file or directory when calling session_start() with manually built PHP

Problem I built PHP8.4 manually in Ubuntu 14.04 since the OS is out of support with no ppa package available. I tested for phpinfo() web page showed correct information while adding session_start() at ...
NeNe's user avatar
  • 3
2 votes
1 answer
506 views

How should I modify file permissions to accomodate Wordpress

I have been successfully using the method described here: Maintained by a Single User and it has been working well for me. This is my script for all my websites: sudo chown -R WebAdmin /var/www/...
Chiwda's user avatar
  • 125
0 votes
1 answer
70 views

Apache 320 redirect loop with correct htaccess and virtualhost conf

I am web designer and I manage a VPS Server. Server is LAMP Ubuntu 18 apache2 PHP 7.4 root index.html This page isn’t working test.com redirected you too many times. Try clearing your cookies. ...
SACHIN HD's user avatar
0 votes
1 answer
344 views

Remote MySQL server returning: MySQL server has gone away / Error while sending QUERY packet

I have 2 servers (both running Ubuntu 12.04) APP server running apache2, PHP7.2 and a CakePHP 2.0 APP DATABASE server running mysql 5.7 When I'am trying to insert into the database a big blob (...
updevs's user avatar
  • 1
0 votes
1 answer
220 views

Apache child processes are launched more than ServerLimit and threads are executed more than ThreadsPerChild

The following version of Apache is used. (MPM : event) httpd -V Server version: Apache/2.4.37 (Red Hat Enterprise Linux) Server built: Jun 15 2022 08:27:14 Server's Module Magic Number: xxxxxxxx:xx ...
fsk5304's user avatar
  • 101
0 votes
1 answer
414 views

Apache using up all the memory

My site (which as running fine until yesterday - CPU was at 2%, memory at 50%) keeps maxing out the resources - CPU and Memory at 100% and "load" and Disc IO very high. the site is a php (...
Will's user avatar
  • 131
0 votes
0 answers
321 views

Apache2 http server and Openvpn server on the same machine

Installed Apache2 server on my Linux Mint 20.3 Cinnamon and I could easily reach my http pages from web pointing to the static ip address of my router where I have configured the right http port. I ...
papaya's user avatar
  • 1
0 votes
1 answer
182 views

Apache include value of %{TIME_YEAR} variable in an HTTP response header

I'm trying to do something like the following: <If "%{IPV6} == 'off'"> Header always set Attention "you are using still using IPV4 in %{TIME_YEAR}, please blahblah etc" <...
Displayname71's user avatar

15 30 50 per page
1
2 3 4 5
9