Questions tagged [httpd]

httpd is a typical process name of a web server.

Filter by
Sorted by
Tagged with
0
votes
0answers
16 views

Apache SSL config not listening on 443

I am trying to setup an apache website for SSL with a self-signed cert. I setup the vhost and everything looks ok to me. But the site is not coming up and on the server itself port 443 is not ...
0
votes
0answers
20 views

How to share ISO files over PXE without mounting?

I have setup a PXE server with a local HTTPD server to host the ISO files the config looks like vi /etc/httpd/conf.d/pxeboot.conf Alias /centos-st8 /var/pxe/centos-st8 <Directory /var/pxe/centos-...
0
votes
0answers
8 views

Python script called from url on apache 2.2 server is only sometimes executed

I'm a bit stumped. I have a server here, where a python (2) script is called through an url via apache 2.2. For example http://blabla.com/script.py?manyarguments I got some reports that often the ...
0
votes
0answers
26 views

AH03490: scoreboard is full, not at MaxRequestWorkers.Increase ServerLimit

I have a server with Apache 2.4.37 default install running on CentOS 8 x64. My hardware is: Intel(R) Xeon(R) CPU E5-2650 0 @ 2.00GHz, 16 cores 32GB of memory ram 1TB SSD In /var/log/httpd/error_log i ...
0
votes
0answers
34 views

apache2, I can't suppress this line from apache logs

I've done this and other attempts, but not working for me: <IfModule mod_ssl.c> <VirtualHost *:443> ... setEnvIf Request_URI "refresh.*" dontlog CustomLog /home/alan/logs/apache....
1
vote
0answers
55 views

How to set SELinux to allow CGI script to create a file

I'm writing a CGI for httpd on CentOS 7, which create and write files on a directory under home. When I enable SELinux, it causes Internal Server Error. How can I setup SELinux? The command sudo ...
1
vote
0answers
32 views

configuring apache to not serve php files statically unless php-fpm is configured

I have a an apache 2.4 configuration section that I use to handle the rare situation where a misconfigured apache box could serve php files as static plain text, and potentially give up credentials ...
1
vote
1answer
42 views

Creating / Configuring Firewall using iptables

I want to set firewall using iptables. The server is operating httpd service (httpd) The OS is Centos7, and below information is after install iptables-services, and start iptables without modify ...
0
votes
0answers
78 views

Docker container port mapping 80:80 only works on localhost but not from external access?

Logged in my intranet server via SSH on IP 10.10.245.209 (port 22 of course) Created a docker-compose.yml: version: '3.8' services: php-apache-environment: container_name: php-apache image: ...
0
votes
1answer
55 views

Passenger Apache - Forbidden You don't have permission to access this resource

I'm stuck with Apache with Passenger configuration. I spent a few days looking for a solution. I follow this instructions. I'm getting this message in the browser: Forbidden You don't have permission ...
1
vote
1answer
40 views

How can the Apache httpd root path be rewritten to a subdirectory?

While I have seen similar questions elsewhere, some of those questions ask about redirecting the exact root path or else the provided answers don’t always work properly. What I require is to rewrite ...
0
votes
1answer
22 views

Reason why RHEL Apache is installed on middleware folder

What's on RHEL the cause which Apache (HTTPD) is installed on the folder "/opt/middleware/httpd/", instead the usual installation folder? What should I apply on my server to have this ...
0
votes
1answer
39 views

Removing httpd built from tarball

I need help to remove httpd that I built from source ball, the instructions for installation are written from this blog yum remove can't delete installed httpd but httpd -v command still showed that ...
0
votes
0answers
78 views

Attempting to mount Webdav drive to Windows gives "The folder you entered does not appear to be valid. Please choose another"

I have a Linux based httpd server setup with AD authentication that's working just fine for downloads. Users go to the website and are challenged for credentials. If you belong to a certain group ...
0
votes
1answer
102 views

Intermittent "Address already in use: AH00072: make_sock: could not bind to address" on port 80

We are experiencing intermittent "Address already in use: AH00072: make_sock: could not bind to address" on port 80 failures on our servers. I have looked at other answers and they are ...
0
votes
1answer
62 views

HTTPD LDAP Authentication not working

First time trying to do this and I'm completely lost. I have a Oracle Linux 7.9 server that has a directory that needs to be shared to users via HTTP so that they can download files to send out to ...
0
votes
0answers
29 views

Preventing redirects for file serving in apache

I am working with a specific proprietary (and no longer properly supporter) http client, and it has an issue of giving up on trying to download files if an http server throws a 301. I am using ...
0
votes
1answer
115 views

Auth Mellon is not redirecting to IDP. Apache is returning 404 for /mellon

I am trying to enable auth mellon for on-prem weblogic app. I have apache httpd and auth mellon installed on RHEL 6.8. I followed instructions as per https://github.com/Uninett/mod_auth_mellon/wiki/...
0
votes
0answers
17 views

Apache try for domain in multiple dynamic vhosts

Allright, I have this for my vhost config NameVirtualHost *:80 <Macro Directory $dir> <Directory "/home/*/domeenid/*"> Require all granted Options ...
0
votes
0answers
13 views

Apache, how to make an if condition based on conf setting value?

In Apache 2.4 you can use <IfModule> to know if a module is loaded. You can use <If "condition"> to test against http request values or environment variables. But how can you ...
-5
votes
1answer
56 views

Apache HTTP Server is running without no executable! How is this possible? [closed]

When I logged in to an EC2 instance created by someone else to host Apache HTTP Server I cannot run any of common Apache commands but the Apache is running: $ ps -aux | grep apache jimble 22250 0.0 ...
1
vote
0answers
46 views

PHP on VirtualHost not working but works on default site

I have a apache Server version: Apache/2.4.46 on Amazon Linux 2. PHP is working well on port 443. I added another virtualhost on port 81. PHP does not work on this port. Config: Listen 80 <...
0
votes
0answers
233 views

Permission denied after a git clone

I have another strange behaviour on my server, it is very similar to this one : Very strange AH00035 error Here is the context : I already have an intranet website which works fine. I want to use git ...
1
vote
0answers
107 views

Php-fpm service fails to start on solus. Possibly due to snmp module

I am having some trouble to start the php-fpm service on solus OS. It appears that is is maybe related to the snmp module. Here are some info about the error : ~ $ sudo systemctl status php-fpm Mot de ...
1
vote
0answers
307 views

Permissions of /run/php-fpm/www.sock getting reset to root when php-fpm restarts after fixing AH02454 permission denied error

I am migrating to a new server to upgrade my internals and I have encountered this error when standing up my apache and PHP [Fri Apr 09 16:51:26.243820 2021] [proxy:error] [pid 31179:tid ...
0
votes
0answers
28 views

httpd - operating source html in compressed format

For the sake of storage limitation I was wondering if the webpages stored in my open source router firmware could be individually compressed to reduce demand on flash. So index.html would be stored as ...
0
votes
1answer
111 views

I'm Under attacks even with mod_evasive mod_security and fail2ban [closed]

I have my centos fresh server with no problem, I have httpd, named but I get 150 failed logins per 10 minute. I also use Fail2Ban with maxretry 1 findtime 6h. and mod_evasive mod_security default ...
2
votes
0answers
16 views

Apache Proxy URL exclusion wont work

we are running an Apache/2.4.6 on CentOS. i am trying to setup an Proxy Endpoint on the Apache which is passing requests to internal Servers (target servers). So far the Endpoint does what it should, ...
1
vote
1answer
93 views

Client PC (Win7/Win8) cannot ping to VMware server (CentOS 8), but server can ping client

first of all I'm not a networking technician, so my networking lingo is very much limited. I'm trying to help my coworker with troubleshooting a problem. So far I only rely on using search engine to ...
-1
votes
2answers
30 views

Httpd Issue for Apache

I am having trouble starting the httpd service I have tried several ways from the internet still result is zero. I have attached the picture of the error. if anyone can help enter image description ...
0
votes
2answers
81 views

Why cannot use buff/cache?

It seems mysqld allocates too much memory as buff/cache: free -m total used free shared buff/cache available Mem: 990 448 96 36 ...
0
votes
0answers
32 views

apache (httpd) - How to set rewrite URL [duplicate]

I have a new website on Nette Framework, the problem is that the old website had URLs in the form: https://example.com/Questions/ https://example.com/Tags So all over the internet there are backlinks ...
0
votes
0answers
228 views

Segmentation fault when execute yum or rpm any command

I am facing some issues on centos-7 when I execute yum install, yum upgrade, yum installed list, yum search, yum list installed, rpm then getting an error Segmentation fault. system Logs:- segfault at ...
0
votes
1answer
79 views

Docker Apache httpd can't display pictures on mounted share

I'm trying to set up a simple webserver to display some images loaded from my NAS. My problem is that I can only get the webserver to display images when they're stored in a folder on the Ubuntu-host. ...
3
votes
1answer
826 views

What controls the cleanup of the /tmp/systemd-private* directories?

It doesn't seem like the systemd-tmpfiles service cleans up these folders because I have files in /tmp/systemd-private-*-httpd.service-*/tmp/ that are 27ish days old (the last time httpd was restarted)...
0
votes
0answers
77 views

How to protect the access to a local server with a certificate, Apache httpd, and ngrok?

If we have the following scenario: a Ubuntu 18.04.5 LTS machine a third party server running on port 10000 of this machine and already configuring a self-signed certificate (https://localhost:10000) ...
0
votes
1answer
20 views

How to match domain by external file and create an alias?

Using Apache. I have a txt file of domains that I want to use for mapping directory aliases. But I can't figure it out. The txt-file looks like this: example.com folder1 anotherexample.com folder2 ...
0
votes
1answer
183 views

Apache can't start because httpd is listening on port 80?

Hello serverfault community. I'm setting up a nextcloud server, but apache is not starting. When I run systemctl status apache2 I get: ● apache2.service - The Apache HTTP Server Loaded: loaded (/lib/...
0
votes
0answers
19 views

How to check if service not running in CHEF

How to check if service not running in CHEF? I'm trying to notify if service is not running. something like: if !(service.exist)?("httpd")
0
votes
1answer
57 views

Very strange AH00035 error

I am here because I have a very strange behaviour on my server and I ever investigate for hours on the AH00035 error. On my server, if I create a simple php file index.php <? php echo "Hello ...
0
votes
0answers
110 views

Apache mod_proxy_hcheck with AJP?

I have BalancerMembers using AJP with the mod_proxy_hcheck module; however, the health check requests are HTTP. The documentation doesn't seem to specify it only works with HTTP and the source does ...
0
votes
0answers
247 views

Apache 'Failed to create child worker thread'

I have apache installed on AWS Ec2 and the error logs show: (11)Resource temporarily unavailable: AH01573: Watchdog: Failed to create child worker thread. (11)Resource temporarily unavailable: AH01573:...
1
vote
1answer
323 views

Cannot start apache httpd even though port 80 isn't being used

Running on an AWS ec2 instance, a bit of context, I'm a frontend guy trying to solve an issue with a production web server and have run out of troubleshooting/linux cli knowledge and am out of my ...
0
votes
1answer
67 views

Apache to serve both static file and webapp

I have apache running on below reverse proxy config to serve java webapp content <VirtualHost *:80> SSLProxyEngine on ProxyPreserveHost On ProxyRequests Off ServerName www.example.com ...
0
votes
1answer
58 views

How to avoid redirect if url match a string in Apache

I have a web server that redirects any HTML 404 error to another domain: ErrorDocument 404 https://error domain My goal if to avoid redirection when Let’s Encrypt tries to renew the certificates. All ...
0
votes
1answer
175 views

Apache not using the new document root directory

I have installed apache web server on my Centos 7, and I have enabled mod_ssl for it. But when I try to change its default document root to a new one (for example /home/user/public_html), it shows me ...
0
votes
1answer
68 views

How to redirect any subdomain to main domain on shared host?

On VPS, it seems I can use <VirtualHost> to redirect any subdomain to main domain. On shared host, since I cannot edit the apache configuration file, how can I do? Currently, I create a CNAME ...
0
votes
1answer
1k views

How to install PHP 8 in Oracle Linux with Apache?

How to install/configure PHP 8 with Apache in Oracle Linux? I couldn't find PHP 8 related repos in Oracle Linux. What i tried so far is: Installed PHP 8 manually by downloading tar. installed httpd ...
0
votes
1answer
96 views

Apache proxy configuration (webapp resources URL truncated)

I'm trying to set up a proxy in an Apache web server but I have an issue about the build of URL beacause in the resulting URL part of the path is missing. An example: http://server/webapp/style.css (...
-1
votes
1answer
4k views

Homebrewed http start fails on macOS Big Sur [closed]

I had installed Apache 2.4.46 on macOS Big Sur via Homebrew. It had worked fine until I did brew update and brew upgrade. At this time, PHP was upgraded from 7.4 to 8.0, so I modified httpd.conf as ...

1
2 3 4 5
28