apache-httpd

rpm command doesn't show the package config file

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 (/usr/lib/systemd/system/httpd.service; enabled; preset: disabled) Active: active (running) since Fri 2024-03-22 03:26:10 +0330; 19min ago Docs: man:httpd.service(8) …

Total answers: 1

Install apache, php and mysql on Ubuntu 22.04 toolbox

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 problem trying to set the ports in the …

Total answers: 1

ProxyPass return 404, but one name OK

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 not found. ServerName service.test.com SSLProxyEngine on <Proxy "balancer://service"> BalancerMember https://service1.ng.com BalancerMember …

Total answers: 2

Ubuntu Apache2 Basic Authentication Issue

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-UIDMON-02:/# /usr/local/scripts/LinuxVersion.sh ### Linux Standard Base Information No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 23.04 Release: …

Total answers: 1

Apache/PHP gets stuck although there are enough resources

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 responding. I checked the Apache error log, and there is only a …

Total answers: 1

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

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 directory (I saw it somewhere, where the index.html existed with files in the directory), but …

Total answers: 1

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

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 mpm_prefork_module> StartServers 20 MinSpareServers 50 MaxSpareServers 100 MaxRequestWorkers 1000 Serverlimit …

Total answers: 1

Is it possible to grant a specific privilege to a user without sudo?

Is it possible to grant a specific privilege to a user without sudo? I’m not going to add sudo in my Buildroot environment for RPi 3 B+ since I just need apache2 to update my system time with date -s TIME. Is there a way to grant this permission without installing and configure sudo? Asked …

Total answers: 1

CentOS 7 with Apache 2.4 not serving content after change of root web directory

CentOS 7 with Apache 2.4 not serving content after change of root web directory I’m trying to change an apache web service’s root web directory /var/www/html to my custom directory /mnt/webfiles. However, after configuring the /etc/httpd/conf/httpd.conf parameters and restarting httpd, my test directory/files still cannot be browsed from webpage. Here’s the environment: OS: CentOS 7.9.2009 …

Total answers: 1

Can't enable error messages for PHP on my web server

Can't enable error messages for PHP on my web server I’m trying to disable error messages for PHP on my Apache2 web server, but it’s not working. I have enabled it in the php.ini file. error_reporting = E_ALL I deliberately introduced errors in my test.php script, and in the script itself, I have included the …

Total answers: 1

Apache Server: HTTP/2 issues

Apache Server: HTTP/2 issues I’ve just set up a small Apache VM and enabled the HTTP/2 module as described in the documentation (HTTP/2 guide). To test it out, the recommendation is to use the non-browser client curl. However, I’m noticing some strange issues. When curl is told to use HTTP2 (curl –http2), Apache writes 2 …

Total answers: 2

How can I install mod_bw for Apache in Oracle Linux 9?

How can I install mod_bw for Apache in Oracle Linux 9? I tried to install mod_bw for Apache web server in Oracle Linux 9, but without success.  The problem is that I am already using the EPEL repository for Enterprise Linux 9. I tried this: yum install mod_bw And I got this error message: No match for argument: mod_bw Error: Unable to …

Total answers: 1

Change owning user and group on file creation

Change owning user and group on file creation I have an issue where I want to connect a very old system (UNIX) to a new machine. This old machine logs in by scp using a hardcoded oldsystemaccess user and copies a file into a subdirectory of the new servers webroot /var/www/newserver/test/import. The new machine is …

Total answers: 1

daloRADIUS php scripts try to load files in webroot?

daloRADIUS php scripts try to load files in webroot? I have just installed FreeRADIUS Version 3.0.21 on a Debian 11 server, as well as daloRADIUS, which is installed in /var/www/html/daloradius; the Apache version is 2.4.54. When I try to access the web page, it tells me that login.php is not found. Looking in /var/www/html/daloradius/index.php, I …

Total answers: 1

SSL Medium Strength Cipher Suites Supported (SWEET32) vulnerability of https in RHEL

SSL Medium Strength Cipher Suites Supported (SWEET32) vulnerability of https in RHEL Just got a result from the Tenable Nessus scan and it showed that a RHEL 7.5 host is vulnerable to plugin 42873: "SSL Medium Strength Cipher Suites Supported (SWEET32)", on TCP port 443. The Tenable Nessus report stated details about it below: Medium …

Total answers: 1

RewriteRule overrides ProxyPass

RewriteRule overrides ProxyPass On a centos 7 machine, I’d like to run a python server alongside an apache server. I figured the easiest way would be to configure apache as a reverse proxy. This is my VirtualHost configuration: <VirtualHost *:443> DocumentRoot /home/username/mydomain/src ServerName mydomain.com ErrorLog logs/mydomain-error_log CustomLog logs/mydomain-access_log common DirectoryIndex index.php <Directory /home/username/mydomain/src> Options -Indexes …

Total answers: 2

How does Apache webserver is able to detect CNAME

How does Apache webserver is able to detect CNAME I was quite curious how does Apache web server can detect a subdomain even when all the subdomains point to same IP address, since my understanding is that an IP address that cannot have a subdomain, and every domain name ultimately resolve to an IP address. …

Total answers: 2

I can't deactivate wired ens33 on nmtui

I can't deactivate wired ens33 on nmtui I tried to Deactivate the cable ens33 in nmtui, and I get an error message NetworkManager TUI "Could not activate connection: Connection ‘ens33’ is not available on device ens33 because device is strictly unmanaged" I’ve been looking for a solution to all forums on Google, but I can’t …

Total answers: 2