Skip to main content

Questions tagged [apache-httpd]

Use this tag for questions related to the Apache HTTP server (any version, but make sure to provide Apache version numbers in the question unless not relevant). Non-apache web server-related questions should use the tag: webserver.

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

Can Apache 2.4 run setuid root CGI binaries?

Note that I'm not asking about suEXEC, because the binary must be setuid root, and suEXEC doesn't allow root to execute CGI programs. I need to carry out a one-time configuration during system ...
QF0's user avatar
  • 315
0 votes
2 answers
23 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 ...
chris01's user avatar
  • 615
2 votes
2 answers
44 views

Why is the group permissions rwx for folder but read for newly created files within it?

On Rocky 8 (Redhat), I have a site running under Apache (httpd). I have the permissions set as follows including setguid so files created within the uploads folder inherit the group: [root@myserver ~]#...
Confounder's user avatar
0 votes
2 answers
23 views

Webserver to forward and decrypts HTTPS to HTTP

Is it possible with Apache or Nginx (or others) to have the webserver configured for HTTPS/443 and translationg every request to simple HTTP and forwarding it to another process (just understanding ...
chris01's user avatar
  • 615
0 votes
0 answers
27 views

Apache Traffic Service - remap/redirect of HTTPS URLs

Playing with ATS as a forward proxy and wanting to block certain URL/FQDNs. I have a remap config: map https://bbc.co.uk/ https://www.google.co.uk/ map https://www.bbc.co.uk/ https://www.google.co....
Neil Briscoe's user avatar
0 votes
2 answers
46 views

Does anyone know what this Apache HTTPD rule is?

I was going through the rewrite rules and saw this: RewriteRule ^(.*)/$ $1 [R=permanant] I checked Apache's RewriteRule Flags list, but cannot find any info there. Is it an alias to 301?
mrjayviper's user avatar
  • 2,101
1 vote
1 answer
54 views

Why is my web server serving HTTPS content on port 80?

Apache webserver on Rocky Linux 9, with SSL certs obtained from LetsEncrypt. This is the config of a specific virtual host "myvhost", but the problem arises for all vhosts on my server: /etc/...
dr_'s user avatar
  • 30.1k
0 votes
0 answers
23 views

Follow Symbolic Link To Portable Thumbdrive In Apache

There are quite a few symbolic link questions on stack exchange but couldn't quite find something similar. If I missed please point it out. So I have Apache2 installed on a 22.04 minimal Xubuntu PC. ...
mdietz's user avatar
  • 1
0 votes
0 answers
46 views

Host Tor Site with Apache on FreeBSD

How can I host a Tor site with Apache on FreeBSD 13.3-RELEASE-p1? Apache is serving multiple sites from this server, so each one has its own entry in /usr/local/etc/apache24/extra/httpd-vhosts.conf ...
Valerica's user avatar
0 votes
0 answers
45 views

HTTPD service needs to be restarted after system boot to work properly

On the server there is an Apache HTTP service that redirects the incoming https requests to some spring services (They only support http). When the machine is restarted, the httpd service seems to be ...
Fabio Piunti's user avatar
0 votes
0 answers
9 views

Apache configuration to host both PHP and Python backend together not working for special Alias requirement

I am working on a web application in Ubuntu. I have a PHP backend that I want to host in "http://localhost/myapp/". All the application files are in the "/var/www/html/myapp/website/...
zeit's user avatar
  • 1
1 vote
2 answers
71 views

Not working `<Location/>` tag in Apache Virtual host

I am trying to create Apache virtualhost that is closed for all IP addresses with exception of one IP address and two URLs that should be publicly accessible. <IfModule mod_ssl.c> <...
jnemecz's user avatar
  • 161
0 votes
0 answers
21 views

Can't run php page in RedHat satellite

i'm using RedHat satellite 6.15 in RHEL 8. We want to add some php web page like dokuwiki/racktable there. But i have problem that if i install php and put php files in /var/www/html/pub/ directory, I ...
Neci's user avatar
  • 1
0 votes
0 answers
37 views

Redirecting incoming HTTPS traffic from one port to another without the SSL key

Is it possible to configure httpd to redirect HTTPS traffic from one host:port to another without decrypting it? I've got HTTPS traffic coming in at port 443. Depending on the incoming SNI I'd like ...
Gili's user avatar
  • 101
0 votes
1 answer
128 views

AH00141: Could not initialize random number generator

I tried to upgrade my debian system from buster to bullseye and messed up everything. I cant start apache2 and proftpd. When I do apachectl configtest I get the following error message: (38)Function ...
Anarkie's user avatar
  • 233
0 votes
1 answer
646 views

"Error in network definition: expected mapping (check indentation)" Syntax error in Netplan, I am trying to set up a static IP for my LAMP stack

Below are the configs for the yaml: file /etc/netplan/{filename}.yaml network: version: 2 renderer: networkd ethernets: eno1: dhcp4: false dhcp6: false addresses: [10.0....
Kyle Morton's user avatar
0 votes
0 answers
60 views

mod_deflate Logging on Apache/2.4.52 (Ubuntu) does not work, why?

I am running my Apache/2.4.52 (Ubuntu) on Linux Mint 21.3. I recently enabled mod_deflate: # a2enmod deflate Considering dependency filter for deflate: Module filter already enabled Module deflate ...
Vlastimil Burián's user avatar
0 votes
1 answer
69 views

Why did Red Hat relocate Apache to /usr/sbin

I run Apache http servers on Red Hat and Oracle Linux machines. The account requires that only packages from the Red Hat or Oracle repositories be used. That’s fine , they work and are reasonably ...
JakeS's user avatar
  • 11
0 votes
0 answers
127 views

Building httpd can't find Openssl

I am attempting to rebuild apache from source and am encountering an issue I have not previously had. I have built apache version 2.4.57 from source many times in the past and have had no issue during ...
user10709800's user avatar
0 votes
1 answer
21 views

rpm command doesn't show the package config file

rpm -qc httpd doesn't show all of the httpd config files.My OS is rocky 9.3.Anybody has suggestion? [root@rocky9 ~]# systemctl status httpd ● httpd.service - The Apache HTTP Server Loaded: loaded ...
Emad Khavaninzadeh's user avatar
0 votes
0 answers
25 views

Modsecurity port issue

background: For my uni project I would like to locally host 3 virtual machines (1 attacker and 2 different WAF) to simulate the effectiveness of certain web application firewalls under malicious ...
Ismael Magro's user avatar
0 votes
1 answer
26 views

Switch PHP versions in the console, Ubuntu

Trying to switch PHP versions at the shell in Ubuntu: I'd like to switch from version 8.1 to 8.3. I complete the steps above and restart apache but my server remains using version 8.1? Am I missing ...
cookie's user avatar
  • 222
0 votes
1 answer
94 views

Install apache, php and mysql on Ubuntu 22.04 toolbox

I would like to install apache, php and mysql on Ubuntu 22.04 toolbox which is running in a Fedora 39 desktop VM. I am following the steps instructions provided in this link, but is seems to have some ...
pablo's user avatar
  • 3
0 votes
0 answers
13 views

Apache failover BalanceMember

An interesting question crept up on me when I made the following configuration (names and IPs are fictitious). Background: route 1 - 10.10.10.10 is an IPSec tunnel route 2 - 20.20.20.20 to the ...
Tsunani's user avatar
0 votes
1 answer
282 views

Apache 2.4: Restrict access to reverse proxy by IP range, and redirect requests from all other hosts

We have a front-end proxy server that serves pages from a back-end website (both running Apache 2.4): # Apache config snippet from frontend server SSLProxyEngine on ProxyPass "/blah" "...
dave559's user avatar
  • 389
1 vote
0 answers
106 views

503 Service Unavailable after 60 seconds Apache Symfony (in certain features only)

I currently face an issue in a Symfony 3.4 application, in one of its features which loads history of some data (a lot of data actually which dates from 2017). When trying to access the history ...
mblackroot's user avatar
0 votes
2 answers
51 views

Is it possible to get a higher memory buff/cache usage after writing a lot of data to the disk?

On an Apache server of my own, logging requests to files has been enabled using a custom Apache module. The log files can reach several GB at the end of the day. Using Nagios I have noticed memory ...
tigrou's user avatar
  • 101
0 votes
0 answers
38 views

Apache server crash by high load

My apache provides a nextcloud which is used by round about 1000 users. Once up to twice a week, the apache server crashes with the following log entry [Mon Feb 12 09:20:09.909665 2024] [mpm_prefork:...
Michael Konz's user avatar
0 votes
0 answers
26 views

local RHEL 8 apache webserver not available from different subnet

I have setup a small apache webserver on a RHEL 8 VM that is accessible to machines on that particular subnet (10.x.x.x), but not on another subnet (172.x.x.x). This webserver has no internet access. ...
808mrb's user avatar
  • 1
0 votes
0 answers
64 views

Httpd.service aint working for Splunk in my pc(Fedora Linux 39 Workstation Edition) and i can't get to the Splunk web interface?

Httpd is enabled and running fine httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; preset: disabled) Drop-In: /usr/lib/systemd/system/...
RonnieMutai's user avatar
0 votes
1 answer
47 views

Apache2 is not starting in Pop OS

I'm trying to install xampp, and even though the MySQL is working, I can't get Apache started. I have tried many solutions. Below is the output I get when I run sudo systemctl status apache2 I have ...
pasindu's user avatar
  • 101
0 votes
2 answers
31 views

ProxyPass return 404, but one name OK

Good day to all. I'll give you an example, I tried it There are 2 entries for BalanceMember in /etc/hosts. Of course, don’t look at these virtual machines, it’s a black box. All requests return to 404 ...
Tsunani's user avatar
-1 votes
1 answer
51 views

Missing files after apache

Hi I installed apache for a firefox theme and I think I messed up something? sudo mv /home/myuser/FirefoxMonolite/startup-page/index.html * /var/www/html then: sudo systemctl enable apache2 and then ...
Ethan Vitale's user avatar
1 vote
0 answers
91 views

Bash script behaves differently when run by Apache and when run manually by www-data: why?

I have a test script below which attempts to carry out some filesystem maintenance. This is just a simple fragment; it unmounts an LVM logical volume (mounted at /data), and runs e2fsck on the device. ...
EML's user avatar
  • 223
-1 votes
2 answers
969 views

Ubuntu 18.04 ETS - Update Apache to 2.4.58

We are using a Ubuntu 18.04 server for a service which will be retired later this year, and will not function above this version. Whereas the ideal solution would be to upgrade the OS, due to resource ...
MOLEDesign's user avatar
0 votes
1 answer
762 views

How Can I Upgrade Apache to the latest version in RedHat Enterprise Linux When Connected Via Putty

I'm currently administering an Apache applications proxy on a RedHat server, The installed/running version of Apache is 2.4.6. I want to upgrade to the latest version securely. The httpd daemon is ...
hacrks's user avatar
  • 3
0 votes
0 answers
16 views

httpd crash with ssl_io_filter_cleanup () from /usr/lib64/httpd/modules/mod_ssl.so

version: httpd-2.4.54-1.el8.x86_64 Core generated when i do httpd condrestart for a task and also i can see some ssl_error_logs which is related to the core file pid. gdb logs: Core was generated by `/...
Bhanuchander Udhayakumar's user avatar
0 votes
0 answers
65 views

Limit shellinabox users to specific accounts

Setup and target I am running a server with ssh and shellinabox and would like to restrict login via shellinabox to one specific user only. Reasoning and approach For security reasons, the main user ...
FelixJN's user avatar
  • 13.7k
0 votes
0 answers
24 views

Site Redirects to Subdomain if "www." is not typed in URL

I am running a WordPress site on Ubuntu 20.04.5 LTS (GNU/Linux 5.16.11-051611-generic x86_64), we'll call it myDomain.com. I have a .NET Core app deployed on the same server with the domain name like: ...
RyM's user avatar
  • 1
2 votes
1 answer
53 views

Ubuntu Apache2 Basic Authentication Issue

I have an issue with an internal networking utility server that I am building, specifically around Basic Authentication. Now I have managed to get it to work with the following configuration:- root@P-...
Blacktip69's user avatar
0 votes
0 answers
42 views

mod_remoteip not showing true ip of the visitor

I am trying to get the real ip behind cloudflare I did as I found on google , installed mod_remoteip then configure it as following : LoadModule remoteip_module modules/mod_remoteip.so ...
Zeyd Lprn's user avatar
1 vote
1 answer
183 views

Apache/PHP gets stuck although there are enough resources

The server has a 4C/8T CPU and 32GB RAM. OS: Debian 12. Apache/PHP becomes unresponsive after ~500MB usage. I tried PHP8.2 and PHP8.1, but the result is the same. If I restart PHP, Apache starts ...
doraemon's user avatar
  • 111
0 votes
1 answer
37 views

japanese fonts in firefox ok but from apache no

This is my first round with Apache so please forgive my ignorance of principles that any decent Apache administrator should know. Apache 2.4.58-1 6.6.1-arch1-1 Mozilla Firefox 119.0.1 I have an ...
Stephen Boston's user avatar
0 votes
1 answer
48 views

How am I not calling /index.cgi?

root@technoluddites:/etc/apache2/sites-enabled# uname -a Linux technoluddites.org 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) x86_64 GNU/Linux root@technoluddites:/etc/apache2/sites-...
Christos Hayward's user avatar
-2 votes
1 answer
241 views

Identifying Linux distribution from screenshot

A friend is asking me to help him out with this old linux box that he has which i believe it like over 15 years old. He only sent me this screenshot so I don't know much about it yet until i meet with ...
Singleton's user avatar
0 votes
1 answer
267 views

How to generate index.html for each directory under /var/www/html

I have downloaded confluent software for upgrade under /var/www/html directory. I need to create an index.html for directory listing for each directory. I tried adding below to .htaccess file in the ...
adbdkb's user avatar
  • 103
0 votes
0 answers
1k views

Disable TLSv1.0 and TLSv1.1 using httpd CentOS7

I'm trying to disable TLS 1.0/1.1 for PCI Compliance, but having problems. Running CentOS 7 / Apache 2.4.6 The Server is setup with multiple hosts. All the documentation I've found is similar but ...
TexasTim's user avatar
0 votes
0 answers
98 views

httpd graceful restart - syntax error

Found this on my httpd server [pid 18582] AH00171: Graceful restart requested, doing restart httpd: Syntax error on line 56 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf....
N. J's user avatar
  • 177
2 votes
1 answer
122 views

apache mpm_prefork limited to 306 connections, yet server limit set to 1000, AH00159 Unable to fork new process

Running Virualmin, still got about 1GB free mem apache log is full of: [mpm_prefork:error] [pid 119747] (11)Resource temporarily unavailable: AH00159: fork: Unable to fork new process <IfModule ...
Hayden Thring's user avatar
0 votes
0 answers
99 views

why do I have requests from inside apache server with source ports 80 and 443

On one machine, I have a web server running (apache) and responding on ports 80 and 443. On this machine, I have a firewall (shorewall) that blocks everything except what I authorize, and I therefore ...
Chris972's user avatar

1
2 3 4 5
36