Category "apache2"

" End of script output before headers" error in Apache

I'm trying to use python cgi module with apache, but I'm getting "500 Internal Server Error ". I've configurated the server following those instructions. I trie

Enable php on mac monterey

I try to install php on a mac M1 monterey, but this simple code is not interpretated : <?php phpinfo(); ?> I installed php with brew brew install php bre

HTTPS doesn't work on Vagrant (Ubuntu and Apache)

I destroyed and rebuilt my Vagrant machine and now Apache will not server anything over https. I have about 4 sites served on my machine, but even using my def

(38)Function not implemented: AH00141: Could not initialize random number generator

I recently upgrade my Debian server from Debian 10 (Buster) to Debian 11 (Bullseye). Apache2 was upgrade to the 2.4.52-1~deb11u2 version. Since that, I can't st

serviceWorker on LAMP doesn't exist

I'm testing serviceWorker according "https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers" My PC with Ubuntu 18.04, apache2

PHPMyAdmin not working as intended at remote server. Error 500, $respond not found

I am just starting my journey with servers so I bought one VPN. I installed there ubuntu 18, apache 2.4, php8, webmin, mysql etc. I have two sites based on symf

Django - WSGI script cannot be loaded as Python module

This is a well-known issue it seems but I have spent 8 hours trying to fix the issue without any success. I have been running a Django project with Apache2 on t

Apache performance tuning for high traffic with MPM Event

I currently manage the following set of servers that serve about 700 web pages: SERVER 1 (WEB) Web server: Apache 2.4.29 with MPM Event PHP 7.2.22 CPU: Intel

wsgi error: Address already in use - socketio/django/apache2

My project is created with React (create-react-app), React router (no webpack), -- Django (rest) and Socketio with eventlet on the backend. I have 3 problems wi

Apache Alias - Yii2

I'm using Yii2 advanced template and I wonder if someone has a solution for the following scenario. The web application has both frontend and backend interfaces

Pulling updates from Git on running project

I have a laravel app deployed on an apache2 server in an ubuntu VM. It took an awful lot of time to set up, but I would like to make some more changes to the we

How to override header set in Apache config with more specific header in a virtual host

I have a header set in the main Apache (2.4.41 Ubuntu) config with a general CSP: Header always set Content-Security-Policy "frame-ancestors 'self';" I'm tryin

Docker Wordpress tar: <file> Cannot change ownership to uid 33, gid 33: Operation not permitted

I have created a docker-compose file for local development using Wordpress, and I've finally got NFS working (normal volume mount was too slow, because of Docke

Redirect is not allowed for a preflight request

I have this problem where i get the response when trying to use a rest api: "Access to fetch at 'https://kollektivet.app:8082/api/login/' from origin 'https://k

Python's working directory when running with WSGI and Apache

I have a web application that, among other things, will query a database and create an Excel spreadsheet with the data. I need to save the spreadsheet to the s

How to auto-load index.html in sub-directories with Apache 2

I'm having problem auto-loading index.html in sub-directories with Apache 2. Auto-loading of index.html works fine for root directory. You see, to make things

apache2 and mod wsgi : Target WSGI script cannot be loaded as Python module

I am trying to install mod_wsgi on apache2, on ubuntu. So I install libapache2-mod-wsgi package, I activate him with a2enmod. I got a web site (languageAnalyz)

URLError: urlopen error timed out

Whenever i try to make a HTTP request to some url through my django application which is running on top of apache mod_python (Machine: Ubuntu 10.04 server editi