7,861 questions
0
votes
0
answers
67
views
Error in mod_wsgi ssl: "unable to get local issuer certificate"
I am running an authentication system on my Apache2 webserver that uses Python through the mod_wsgi module to run scripts authenticating users through IP addresses, passwords, etc. Once authenticated, ...
Advice
0
votes
2
replies
48
views
How to manage patches on a Debian Host with Apache2 as Webserver
I have set up a Debian 12 (Bookworm) host and went through some basic steps to install Apache2 and activate SSL/HTTPs on the backend. Http disabled.
As far as I know the usual tool for managing/...
2
votes
1
answer
169
views
"Forbidden You Dont Have Permission to access this Resource" config problem on Apache.conf
My Debian10 server wentdown and I've been trying to install all my pages and Apache2 server on another Debian (Debian 12).
I've already take all the bkps of the pages and put them in the exact same ...
0
votes
0
answers
86
views
Apache RewriteRule works for /test but not for /test/something
I added this specific rule to my .htaccess in / (webroot) within a wordpress install (above wp auto generated code, there is no further interference with later wp settings there):
RewriteRule ^app/my-...
0
votes
1
answer
78
views
Why is Moodle setup in an AWS architecture caught in an infinite loop?
I have configured an AWS Application Load Balancer (ALB) with HTTPS termination forwarding to EC2 instances running Apache and Moodle. The ALB correctly handles HTTP to HTTPS redirection, but I'm ...
0
votes
0
answers
66
views
Deploying Spring Java REST API app to Azure Container Apps
I have a REST API app developed with Java Spring Boot.
I am trying to deploy it to Azure Container Apps (ACA) with the following standard web app architecture:
web browser -443-> Apache2 container -...
0
votes
0
answers
45
views
Cannot find settings module in mod_wsgi (Apache2 on Ubuntu with django)
I am serving a Python app using Django through an Apache2 server. I have the wsgi.py file in a directory
home/peter/django-apps/anaaccess/anaaccess/ana_access/wsgi.py
I have a venv in home/peter/...
0
votes
0
answers
355
views
AH10034: The mpm module (prefork.c) is not supported by mod_http2 - but http2 IS working?
Hi Everyone thank you for reading. Any advice appreciated. I am fairly new to webservers etc. I've read lots of pages but still don't understand :-(
LAMP stack running 4x small sites in Apache2 ...
1
vote
2
answers
80
views
Using a rewrite rule with regex on first 3 characters of a number doesn't work
I'm learning how to use a RewriteRule with Apache to rewrite the following URL /t/openstack/build/123456789987456214. To get the first three digits of the number and rewrite to a URL like /123/...
0
votes
0
answers
55
views
Apache2 multiple vhost http2 only in one
I'm configuring Apache2 with 2 virtual hosts (VH) (nohttp2.com and http2.com). The idea is that one of the VH works with http2 and the other only with http/1.1.
I have enabled http2 module and I'm ...
-1
votes
1
answer
135
views
AWS Debian apache2 web install
So i want to create an apache2 webserver on debian using aws.
I'm in needed to what to write so with the codes to make me see everything in order.
I tried installing apache2 and succeeded, but i do ...
0
votes
0
answers
66
views
Permalinks stop working after short period - Wordpress
I have a Wordpress site running a store via woo commerce. I need to set my permalinks to postname to enable importing data from suppliers via REST API. However, when I set my permalinks to postname ...
0
votes
0
answers
28
views
Apache2 custom error on ERR_BAD_SSL_CLIENT_AUTH_CERT
I have secured access to one of our server via User Certificate Authentication via following configuration:
<VirtualHost *:443>
ServerAdmin [email protected]
ServerName mydomain.de
...
0
votes
0
answers
87
views
Apache2 ReverseProxy issues
So, I have the following setup:
a service A working on (virtual) server S1 on my lan, using ports 80 and 443
a service B working on (virtual) server S2 on my lan, using ports 80 and 443
Since I have ...
-2
votes
1
answer
256
views
Building vite project and deploying to sub folder results in 404 error [closed]
I'm trying to build and deploy my Vite project into a sub folder on my domain. The combination I'm using is Vite + React + JavaScript. Dist is deployed to an Apache2 web server running on an Ubuntu ...
0
votes
1
answer
80
views
ModSecurity: Apache error_log not showing "ModSecurity: Access denied" when they exist in modsec_audit.log
I've an issue with mod_security3 where the apache error_log isn't containing the ModSecurity: Access denied record as shown in the modsec_audit.log.
If I don't change any config, and just use ...
0
votes
1
answer
37
views
Permission Denied while opening shared object file in Flask
I am getting the error:
[client 192.168.1.44:60244] OSError: libBxlLabelAPI.so: cannot open shared object file: Permission denied
While trying to call:
libCalc = CDLL("/var/www/shippingServer/...
-1
votes
1
answer
37
views
serve static png file with apache2 with a fallback if not available
i want to serve static (*.png) files with apache2 from /var/www/html/tiles/.
if a png file is not available, it returns a 404 (correctly). what do i have to do to make it redirect to a fallback.png if ...
0
votes
0
answers
39
views
Phpmyadmin return blank page on digital ocean vps with LAMP installed (mbstring error) [duplicate]
My php version is 8.4.3, it does list mbstring as installed.
I also installed all the other dependencies including all recommendations I could find on the internet
Apache2 error log:
[Tue Feb 11 11:...
0
votes
1
answer
64
views
Configuration of Django+WSGI+Apache
I have a Debian 11 system with Apache2 2.4.6.2, mod_wsgi 4.7.1 and Python 3.9. I want to run two different Django projects under the same Apache2 server, and in the same virtual host as outlined e.g. ...
0
votes
1
answer
134
views
Apache2 https redirect work but http redirect to local ip address
I have an apache2 web server working great, today I added a subdomain redirect for my other services (jellyfin as an example)
The jellyfin redirection functions very well, jellyfin works on port 8096 ...
0
votes
0
answers
43
views
I have setup Core php project on docker but I am getting 404 Not Found Error
I am trying to deploy core php project on docker but when I run the localhost server it gives me 404 Not Found.
docker-compose.yml
services:
app:
container_name: php_app
build: .
volumes:...
0
votes
0
answers
128
views
Nginx/Apache SSL Errors: “SSL_do_handshake() failed” and ModSecurity “Access Denied”
I’m encountering persistent issues with both Nginx and Apache2 on my server related to SSL handshakes and ModSecurity. Here are the error logs:
Nginx Error Logs:
DATETIME [crit] [PROCESS_ID]: *[...
1
vote
1
answer
547
views
DuckDB, Django and apache2 Permission Denied in production
I have a problem with my duckdb database, that I really don't seem to understand.
After I created a .db database and put it in the apache2/Django webapp root and gave www-data access to it and its ...
0
votes
0
answers
28
views
How is Apache2 choosing which VirtualHost to use?
I have 2 apache sites enabled. The first is the default one 000-default.conf:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/...
-1
votes
1
answer
81
views
Combine Balancer and Rewrite Engine in Apache2
I am running an Apache reverse proxy pointing to a web app running on 127.0.0.1:8080 with this config:
<VirtualHost *:443>
ProxyPreserveHost On
RewriteEngine on
RewriteCond %{HTTP:...
1
vote
0
answers
80
views
Apache2 CORS headers not updating after being set
I'm hosting both back and front end in different hosts in Debian 12 (bookworm). The backend is a PHP 8.2.26 api on localhost:81 , using apache2. Front end is Vue running from localhost:5173.
I kept ...
-1
votes
1
answer
70
views
Apache2 in Yocto build
I followed the instructions given in this post.
I can see that image is building fine. However httpd binary is not present on the target.
When I try to find any files related to httpd, they are not ...
-1
votes
1
answer
138
views
caught SIGWINCH uploading a big file using apache2 and php
I serve a php page using apache2 that allows uploading files
// Check if the file was uploaded
if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_FILES['file'])) {
$file = $_FILES['file']...
0
votes
0
answers
70
views
php and http encoding chuncked post request
I'm using vscode in Ubuntu OS 64 to use an esp32 as client from server running in the ubuntu. The esp32 send POST request with encoding chunked and I'm trying to get this data using php. But I don't ...
1
vote
0
answers
259
views
Reverse proxy for a streamlit app with apache2 under a subdirectory
I am running a streamlit app on a dedicated server on the internet. The app runs on port 8501.
I have setup a reverse proxy with apache2 to redirect the traffic to port 8501. I also have https and a ...
1
vote
0
answers
95
views
shell_exec does not support 24bits nor 8 bits color mode
I'm running a command with shell_exec from ascii-image-converter
(https://github.com/TheZoraiz/ascii-image-converter)
which return
<?php
$cmd = "ascii-image-converter $fichier -s ./assets/...
0
votes
1
answer
89
views
Node.js API Requests Missing /api Prefix When Using Apache2 Proxy on VPS (Works Locally)
Question:
I have a MERN stack project with a backend API running on a VPS server. My setup works perfectly on my local machine, but when I deploy it to the VPS, the API requests are missing the /api ...
0
votes
0
answers
69
views
issues updating an apache2 module to work on Arm64 on macos
I've been asked to recompile a working module to work on an arm64 based macos, ie a new M3 processor.
It was originally written in C++ and only used a makefile to compile the source code.
I never ...
0
votes
1
answer
45
views
Dockerized drupal renders fine locally but not when proxy-passed in Apache
I successfully dockerized an existing drupal 7 website with the following:
# Dockerfile
FROM drupal:7.101-php8.2-apache
COPY webroot /var/www/html
WORKDIR /var/www/html
EXPOSE 8006
# docker-compose....
0
votes
2
answers
141
views
2 wp sites on 1 server - always one is fast & one is slow?
I have a very odd problem: 2 seperate wordpress sites running on 1 apache server and always one site runs slow and the other fast.
The peculiar thing is that the last site to receive wordpress ...
0
votes
1
answer
50
views
Configure an Apache2 webserver to get a 504 code
I am trying to configure my apache2 webserver in a way, that I will get a 504 http code.
I've configured my apache2 webserver as follows:
<VirtualHost *:80>
# Configure the proxy
...
0
votes
0
answers
288
views
how to install phpbolt in a debian12 / apache2 / php-fpm environment
I have a debian12 server with apache2 and php-fpm for PHP versions 8.0, 8.1, 8.2 and 8.3.
In which configuration files do I have to extend the “extension” so that these are loaded when the page is ...
0
votes
1
answer
1k
views
Apache will not enable SSLStrictSNIVHostCheck
I have two very similar Debian servers VMs, one with Debian 10 and one with Debian 12 (the problem one), with the default Apache installed from the official repo (current).
I need SNI checks enabled ...
0
votes
1
answer
37
views
Apache2 Redirect www to https ... this is killing me trying to figure this out
Server Ubuntu 22.04
apache2 -v 2.4.52
Website alias for this question: example.com
I have configured and enabled my virtual host sites-enabled example.conf file as shown below. Default is disabled. ...
0
votes
1
answer
48
views
Change the installation path of phpmyadmin
I have installed a web server (Apache, PHP, Maria-DB, phpMyAdmin) from the Debian packages.
Now I would like to hide the installation of phpMyAdmin, i.e. the call via "https://hostname/phpmyadmin&...
0
votes
1
answer
80
views
Server Error (500) and strange symbols inside a form
I set up a Raspberry Pi with Ubuntu server as OS. I followed this guide: Guide from digitalocean
It all seemed to work good until I opened a page with a form that looks some kind of strange (unwanted ...
0
votes
0
answers
56
views
Apache2 processes HTTPS on 80 not 443
Thats my site config for apache
<VirtualHost *:80>
Redirect permanent / https://example.net
</VirtualHost>
<VirtualHost *:443>
#DocumentRoot /srv/www/wordpress
<...
1
vote
0
answers
162
views
apache2 webdav ran through docker is empty; even though I can see the files mounted in the docker container
I'm trying to get a webdav server running through docker compose (portainer).
Below is the yaml I'm using
version: '3'
services:
webdav:
image: bytemark/webdav
restart: always
ports:
...
0
votes
1
answer
196
views
Apache Reverse Proxy Mattermost (websocket)
I’m experiencing an issue with the proxy configuration for Mattermost.
My env.:
Server A - Web server, proxy, and internet gateway (running Apache2)
Server B - Mattermost server (IP: 192.168.100.15)
...
-1
votes
1
answer
103
views
Docker compose multiple Etherpad with apache frontal
I have a problem with a service built with a docker compose, I don't understand what's wrong.
I have a Debian server on which I want to host 3 instances of Etherpad, each with its own configuration. ...
0
votes
0
answers
82
views
Apache2 - protect only directory but not subdirectory
I'm trying to host a webserver with Apache2 on Debian 12.
I want to limit access to webserver/dir1 with a password promt. This already works.
My issue is, that webserver/dir1/subdir1 has to be ...
1
vote
1
answer
142
views
Problem of memory leak with PHP and queryFontMetrics from Imagick
I've been using Imagick for years for my projects. And for the past few days, I've been having memory problems.
My PHP code using queryFontMetrics, and at the end of the execution, it does not free ...
1
vote
1
answer
48
views
Upload file to server. Ubuntu, Apache2, PHP
This code should upload files, but it doesn't.
<form name="submit" action="#" method="post" enctype="multipart/form-data">
<input type="file&...
1
vote
1
answer
2k
views
How to enable PHP on OS X Sonoma?
I have a new Mac Studio running OS X 14.5 Sonoma. I am trying to configure my Apache2 server to run PHP.
Following suggestions found in various web pages I've done the following...
I've modified /etc/...