Questions tagged [apache2]
Apache (HTTP Server) /əˈpætʃiː/ is a modular cross-platform web server software with a large variety of features(called modules) including SSL, compression, log, proxy and server-side programming language interfaces like Perl, Python, Tcl, and PHP.
apache2
7,984
questions
0
votes
0
answers
15
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)
...
0
votes
0
answers
16
views
When issuing a certificate from the certbot, an error occurs [closed]
I'm trying to issue a certificate using the command certbot --apache and it gives me this error
certbot --apache
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Which names would you like to ...
-1
votes
1
answer
23
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
23
views
Apache2 WebServer Configuration : No 'Access-Control-Allow-Origin' header is present on the requested resource
I managed to deploy a map server:
I want to set the Access-Control-Allow-Origin settings in a way that it allows only specific IP Addresses to visualize the map
<VirtualHost *:80>
ServerName ...
0
votes
0
answers
15
views
Apache config return IPV6 instead of IPV4
htaccess file looks like this because I only want to give access to authorized ip ranges:
#ErrorDocument 403 "Sorry ! You are not authorized to access this page"
<IfModule mod_rewrite.c&...
0
votes
0
answers
13
views
Error_log AH01071: Got error 'Primary script unknown' How to show fileName
After migrating to php-fpm when I try to access to an unexisting file I get
AH01071: Got error 'Primary script unknown'
in Apache2 error log.
How can I get the filename with a full path in the error ...
0
votes
0
answers
37
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 ...
0
votes
0
answers
6
views
Apache2 use same DocumentRoot (Codebase) apart from different config.php file per VirtualHost
I have two Virtual Host on different ports. At the moment they have two separate DocumentRoot. BUT the DocumentRoot is actually the same (CodeBase) only the config.php file in it defines to which ...
1
vote
1
answer
57
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 ...
0
votes
0
answers
12
views
Reverse Proxy with forward-target
I have configured a reverse proxy in Apache2.
It gets requests by HTTPS - unwraps the HTTPS and then forwards to local HTTP-processes for /web and /rest.
<VirtualHost *:4443>
ProxyPass /web ...
1
vote
1
answer
28
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&...
0
votes
1
answer
88
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/...
0
votes
0
answers
27
views
PostgreSQL authentication fails on Ubuntu server until postgresql service is restarted
I am running a Flask app with SQLAlchemy, on Ubuntu server with PostgreSQL and Apache2.
SQLAlchemy gave an authentication failed for postgres error. After stopping Apache2, restarting Postgres and ...
0
votes
1
answer
36
views
Is there a way to hide a part of a URL from the address bar while keeping it in $_GET?
I have a website, say, https://example.com, that runs on LAMP stack (Apache2 rewrite_mod activated) and that I would like to make multilingual.
I don’t want my URLs to contain the language/locale, ...
0
votes
0
answers
8
views
Apache SNI with redirection?
Lets say I have an Apache2 HTTPd with multiple virtual TLS-hosts for SNI.
<VirtualHost *:443>
ServerName www.mysite1.com
DocumentRoot /var/www/site1
SSLEngine on
SSLCertificateFile /path/...