Hot answers tagged apache-2.2
I had this issue behind AWS Elastic Load Balancer. Health checks generated an awful amount of 408 responses in the log. The only solution that worked for me was to have Load Balancer's Idle Timeout setting lower than its Health Check's Response Timeout.
You can deploy your Larave 5 application on Ubuntu. you can use php,apache composer also. PHP artisan serve is used for running development server. The purpose is to check if all functionality is working fine or not. It is not recommended to use this at deployment. you have to follow the commands specified below. 1. Install apache server. 2. Install PHP ...
First thing I don't see is process management so one process cannot starve another process of CPU or RAM (or I/O for that matter, though your filesystem may be architected to prevent that). One major advantage of a "containers" approach to your PHP instances vs. trying to run them all on one "OS" image is that you can restrict resource utilization better ...
Lots of good suggestions here already. There's stuff that's been missed in the discussion so far though. Pay attention to processes outside of those run as part of serving web pages. i.e. make sure that all your cron jobs that touch untrusted data are running as the appropriate user and in the appropriate jail, whether those jobs are defined by the user ...
Check ForceType, You have examples of usage in the manual page. Wrap the directive in <FilesMatch REGEX> block, with regular expression matching ie. files without a dot (thus not having an extension). Anyway, consider leaving PHP files with proper extensions and using mod_rewrite for better looking URIs.
Only top voted, non community-wiki answers of a minimum length are eligible