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
1 vote
0 answers
50 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
27 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
0 answers
17 views

Tomcat: Can't start tomcat after upgrade it on Cento

I have install apache-tomcat-10.1.16 on Centos ,then start tomcat, then start tomcat ,didn't get any error sudo systemctl start tomcat but wen i check tomcat status as below, $ sudo systemctl ...
andrewarnier's user avatar
0 votes
1 answer
44 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
228 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
80 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
69 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
30 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
  • 147
2 votes
1 answer
77 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
61 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
0 votes
1 answer
20 views

Apache refuses to start claiming a wrong PID

I'm facing an odd problem on a Buildroot environment for RPi3. I have this init.d service to start apache2 (version 2.4.57): # cat /etc/init.d/S50apache #!/bin/sh case "$1" in start|...
Mark's user avatar
  • 713
0 votes
0 answers
39 views

Apache2 ReverseProxy to Nginx Unit subfolder issues

I want to configure a simple reverse proxy in Apache2 to play around with Nginx Unit <Location /nextcloud> RequestHeader set X-Forwarded-Proto "https" RequestHeader ...
Cookie's user avatar
  • 13
0 votes
1 answer
50 views

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 ...
Mark's user avatar
  • 713
1 vote
1 answer
109 views

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 ...
user53815's user avatar
0 votes
0 answers
28 views

Connecting 2 vm having ubuntu on same device

I have a window laptop where i have installed 2 ubuntu VM's on VMWARE workstation 17 player. I have downloaded apache on one Virtual machine and DNS on the other. I have a website on ubuntu having ...
Haider's user avatar
  • 1
0 votes
0 answers
972 views

Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe"

I have a problem with apache restart We are using the CWPPro admin panel for multiple domains are hosted in CWPPro. Apache is not working. Showing Fail status. After restarting, the following is the ...
Mudassar Rafiq's user avatar
0 votes
1 answer
35 views

How to determine why Apache won't restart?

I just installed a new cert on a RHEL 8 server. I updated the conf files and restarted Apache. Apache is failing but I can't figure out why. How do I determine what's causing the problem? Here's what ...
Chanel's user avatar
  • 59
4 votes
1 answer
108 views

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....
Jasmin's user avatar
  • 41
0 votes
0 answers
28 views

Can I move the sitename-le-ssl.conf contents into sitename.conf and delete the sitename-le-ssl.conf in my Virtual Host setup on Ubuntu / Apache?

I have this free SSL certificate from Let'sEncrypt and it works just fine. But there's quite many files inside my /etc/apache2/sites-available/ directory and I'd like to delete / merge some of them, ...
michal roesler's user avatar
0 votes
1 answer
69 views

firewalld configuration will not allow http/https traffic

There is a hardware firewall in place, but I want to also product the system at the os level. $ sudo firewall-cmd --list-all-zones block target: %%REJECT%% icmp-block-inversion: no interfaces: ...
TexasTim's user avatar
2 votes
1 answer
246 views

How to understand which libapache2-mod-php am I using now?

Listing packages # apt list libapache2-mod-php* Listing... Done libapache2-mod-php5/trusty-updates,trusty-security,now 5.5.9+dfsg-1ubuntu4.29 amd64 [installed,automatic] libapache2-mod-php5.6/now 5.6....
realtebo's user avatar
  • 849
0 votes
1 answer
87 views

apache, php-fpm and mod_fcgid - unable to write to file

I have install apache, php-fpm and mod_fcgid, and trying to write to file. I have created PHP pools, here's the config files: [test.internal.innovisage.com] ... user = test group = test ... listen....
supmethods's user avatar
-1 votes
2 answers
206 views

Why don't make apache2 point to my custom directory?

Linux release version info: cat /proc/version Linux version 6.1.0-9-amd64 ([email protected]) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP ...
showkey's user avatar
  • 197
0 votes
0 answers
1k views

Failed to start The Apache HTTP Server

I'm having a problem with an SSL Certificate. I was using a Let's Encrypt certificate and everything was fine. I'm trying to switch to a certificate issued from DigiCert, and can't seem to get it ...
TexasTim's user avatar
0 votes
0 answers
27 views

Moving files into the htdocs folder in open Suse

I'm new to Open Suse and have installed apache2, php8 and mysql and nginx. The problem is that when I try to move files to the htdocs folder I get the following message: Could not make folder /srv/www/...
Learner79's user avatar
1 vote
1 answer
117 views

php_value settings in .htaccess

I am in the process of migrating an Apache WordPress site from CentOS7 to AlmaLinux9. I installed standard LAMP stuff on the AlamLinux9 system, and restored the MySQL and copied over the html ...
TexasTim's user avatar
0 votes
0 answers
64 views

Forward CORS relalted Headers to reverse Proxy in apache2 (debian)

I came down to ask here since I am troubleshooting this for days without any success. What I try to accomplish is to set up a reverse proxy to the nodejs/Express backend using apache2. Proxying the ...
randmin's user avatar
  • 101
0 votes
0 answers
41 views

Use OS environment variables to apache2 ports conf

is there a way to use OS environment variables to apache2 ports conf? tried ports.conf Listen 80 Listen {$CUSTOM_PORT1} in /etc/apache2/ports.conf but unfortunately it returns invalid config. Any ...
Juliver Galleto's user avatar
0 votes
0 answers
133 views

How do I use systemctl status httpd with -l, --full option. I cannot see the whole content of long lines in the output

I want to check the status of httpd on my system. I want to use it with -l, --full option, to see the whole contents of the long lines. I've read it here, that there's option like -l, --full which ...
michal roesler's user avatar
0 votes
0 answers
247 views

configure SELinux for Wordpress on Apache, Almalinux

I have an issue with SELinux that when enforcing (enabled) causes Wordpress on Apache to throw errors in the header like: Warning: An unexpected error occurred. Something may be wrong with WordPress....
TexasTim's user avatar
0 votes
2 answers
137 views

using sudo or setuid with script for apache webserver

I have a home webserver I muck around with, mainly for learning and testing. I use Apache2 on Debian Bullseye. One of the things I have been playing around with is running Bash scripts from the ...
Èl Sea's user avatar
  • 43
0 votes
0 answers
174 views

Apache2 does not work with SSL on Debian 1

I need help, because I get 503 Service Unavailable on my website using HTTPS! (Apache/2.4.56 (Debian) Server at mydomain.com Port 443) I followed a tutorial, because I never had worked before with ...
M. Loe's user avatar
  • 1
0 votes
1 answer
632 views

Converting server to allow Apache write access to certain directories, does this solution look right?

I've been at this all day and think I finally figured it out, but want to make sure before I put it into production. I'm changing my server to allow the apache:apache user write permission on a few ...
Jeff's user avatar
  • 786
0 votes
2 answers
498 views

httpd not starting because it cannot bind to port 80. Nothing running on port 80

After installing new cert and trying to restart the httpd service I keep getting this: $ httpd -X (13)Permission denied: AH00072: make_sock: could not bind to address [::]:80 (13)Permission denied: ...
JRM's user avatar
  • 1
0 votes
0 answers
52 views

DNS record configuration to work with server blocks and virtual hosts

What is the correct DNS configuration for multiple subdomain names, so that they will work with nginx server blocks and/or Apache virtual hosts? Example: Server IP Address: 192.0.2.0 Main/primary ...
kmiklas's user avatar
  • 151
1 vote
0 answers
45 views

Send an email alert when httpd goes down

I want to be notified whenever httpd.service fails. I see ExecStopPost, and I was wondering if there is a similar alternative for httpd. Or would it be a better approach, to send an email notification ...
demiglace's user avatar
  • 111
0 votes
2 answers
92 views

Where is this php directive being overriden

The error message AH01071: Got error 'PHP message: PHP Warning: POST Content-Length of 17826104 bytes exceeds the limit of 8388608 bytes in Unknown is normally fixed by changing the pair of related ...
VagrantPaladin's user avatar
1 vote
2 answers
498 views

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'...
Jeron Baffom's user avatar
0 votes
0 answers
60 views

Giving www-data access to i2c

I have a light sensor that uses I2C for data transmision. Now I want to display that data on a Website. The problem is www-data can't access I2C. I use a Python script that gets run by PHP (I know it'...
Bhasim's user avatar
  • 1
0 votes
1 answer
128 views

Linux Apache hybrid basic auth - ldap and .htpasswd file credentials at the same time

I have some api covered by reverse proxy. I have configured basic auth with ldap AD credentials and it works like a charm. But there are some users from external organization that don't have AD ...
karpiu's user avatar
  • 1
1 vote
0 answers
57 views

Error message in check-update regarding httpd

I am using Oracle Linux 9. I have installed Apache server by this module: mod_h264_streaming-2.2.7-17.fc37.x86_64.rpm Also, I need three repositories EPEL, raven and remi repo. The problem is, when I ...
Rea K.'s user avatar
  • 37
1 vote
2 answers
2k views

Apache2 not starting: AH00526: Syntax error on line 43 of /etc/modsecurity/rules/REQUEST-922-MULTIPART-ATTACK.conf

I am trying to secure my Apache2 installation on my Ubuntu 22.04 server, using OWASP rules with ModSecurity, but when I installed the v3.3.4 rules and activated modsecurity, Apache2 won't start. ...
Gabriel Cretin's user avatar
0 votes
1 answer
52 views

serve web pages along side nextcloud

I have a newly setup vps at mydomain.com: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.5 LTS Release: 20.04 Codename: focal $ and the ...
Christopher Brown's user avatar
1 vote
1 answer
134 views

Apache2 won't start even with unit file update post reboot

Issue : after server reboot apache2 won't automatically start (have to manually ssh and start via systemctl which starts without any issue) Error message: Feb 08 05:53:46 domain1_test.com systemd[1]: ...
ardv's user avatar
  • 11
1 vote
1 answer
2k views

How to configure apache running in a Docker container

I am new in Docker and I have installed apache from the image httpd:2.4 and name tecmint-web. I am trying to configure apache but I have no idea how to do it. I tried the following steps: docker exec -...
Rea K.'s user avatar
  • 37
0 votes
1 answer
84 views

laravel not execute after adding SSL

I'm trying to run laravel on EC2(AWS linux 2) and apache server. And I recently bought a domain from Namecheap And I installed laravel to var/www/html folder. My /etc/httpd/conf/httpd.conf has those ...
vimuth's user avatar
  • 101
1 vote
0 answers
164 views

What is this Java error about for maven on Ubuntu: package org.apache.http.client does not exist import org.apache.http.client.ClientProtocolExcepti?

I am using Java and Maven Project on Ubuntu but I am getting following error upon building Java code on NetBeans IDE: package org.apache.http.client does not exist import org.apache.http.client....
P_Z's user avatar
  • 11
0 votes
0 answers
44 views

Creating a Wordpress website accessible from outside on Centos 7

I have a task to do and I am not sure how to do it. I had to send a public SSH key to someone, they sent me a Virtual Machine (Centos 7) address, so I connect to this machine with my private SSH key. ...
onelv's user avatar
  • 1
0 votes
0 answers
31 views

Apache fails to run after VPS update

Last night, I did the usual apt-get dist-upgrade on my VPS. Looked fine, until I recently noticed my PHP codes stopped running. Why? Because the Apache installation is screwed up. $ systemctl status ...
anta40's user avatar
  • 411
0 votes
1 answer
153 views

PHP code cannot be executed

My php code doesn't work, the code is displayed in the browser instead of being executed, the apache is going up normally, the info.php doesn't work either, any idea what to do or install I'm using ...
Keviny Oliveira's user avatar

1
2 3 4 5
35