Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [httpd]

httpd is a typical process name of a web server.

1
vote
0answers
11 views

Update httpd.conf with virtualhost

I have a webserver with an old config (but a recent 2.4.6 apache). Basically everything is in the 20 year old httpd.conf file, but I have some tools that complain that I need to define a virtual host. ...
2
votes
0answers
28 views

Multiple IP addresses with SELinux using the same port

I have a CentOS 7 box with multiple IP address on the same NIC. One IP uses 443 for ssh and I want the other IP to use 443 for the web server. SELinux won't let httpd startup saying: (13)Permission ...
0
votes
0answers
11 views

What happens to connected clients when Apache 2 is stopped?

I have a legacy Apache HTTPD 2 server running in MPM prefork mode. A mis-configuration left us in a situation where the MaxRequestWorkers setting was too low, causing client requests to queue waiting ...
0
votes
0answers
28 views

Unable to access apache port running on virtualbox vm centos 7.3 bridged connection

I have been running some websites on my PC directly from virtualbox centos7.3 vm. It is running through bridged connection. I installed erpnext and ran through proxy through nginx to apache. I have ...
-1
votes
0answers
15 views

translate/explain apache directive: Order [closed]

Ever since I started building web pages, I have largely ignored understanding much that seems too alien for me. After many years, after many road blocks and mistakes some I have absorbed much. My ...
0
votes
0answers
14 views

/shibboleth.sso/metadata gives dont have permission to access on this server

I configured httpd as a reverse proxy for our puma and have configured to use shibd as the SP. But, every time I try to access mysite/Shibboleth.sso/metadata it gives me forbidden . Looking into my ...
0
votes
1answer
38 views

How to resolve 503 Service Unavailable without sock file on apache 2.4?

I have 503 Service Unavailable problem log review is: [proxy:error] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /usr/local/php72/sockets/admin.sock (*) ...
0
votes
0answers
15 views

SELinux httpd With custom app

I'm enabling SELinux on a server, and the httpd server (nginx and phusion passenger) is unable to read the app's dir (/home/app), with the following message: #============= httpd_t ============== #!!...
0
votes
0answers
42 views

Tenable Nessus and SecurityCenter installlation/configuration issues

I've installed Nessus and SecurityCenter on a RedHat 7.5 instance by following the user guide from Tenable. I'm able to get to the Nessus interface which is served on port 8834, create the admin ...
0
votes
1answer
57 views

Allowing IP's to access Apache Load Balancer

Why it is not allowing my IP to access Apache Load Balancer <Location /balancer-manager> SetHandler balancer-manager Require host demo-002 Order deny,allow Deny from all Allow ...
0
votes
1answer
42 views

Unable to enable mpm-event in httpd | centos 7

I am kind of new to mpm and all so please don't mind. I have a web server running 8 websites (php based) on it. And my RAM usage goes over 90 % and the swap usage goes over 80 %. And when i check ...
0
votes
0answers
12 views

Raw Socket Python Application deployed httpd

I have an python flask application that deployed httpd. And in this application, I am sending syn packet and calculating response time. I am using scapy to send syn packet. So Issue is; Scapy uses ...
-2
votes
2answers
18 views

How to remove connection time out links form RHEL

I want uninstall LAMP from my REDHAT virtual server and reinstall back it again but i don't have internet access on my server and when i uninstall mysql from my server i getting below error please ...
0
votes
1answer
26 views

How to detect Apache LimitRequestLine from PHP?

Is there a way to get current Apache settings from a PHP script? All happens on the same server. I have tried running apache2ctl -DDUMP_CONFIG | grep LimitRequestLine from within PHP. It kind of ...
0
votes
1answer
21 views

Apache httpd whitelist access control via X-Forwarded-For header

I have the following httpd.conf file which I am using to test X-Forwarded-For header IP whitelisting. Note that the conf.d directory is empty: Include conf.modules.d/*.conf ServerRoot "/etc/httpd" ...
0
votes
0answers
27 views

Increase in memory utilization after upgrading to httpd 2.4.34 from 2.4.23 for 7.2

We upgraded from httpd 2.4.23 to 2.4.32 . After upgrade, we noticed mpm module got changed from preforx to event in 2.4.23 $ /apps/httpd.2.4.23/bin/httpd -M | grep mpm mpm_prefork_module (...
0
votes
1answer
60 views

Why is Apache trying to kill a process on startup and why would that cause a failure for Apache to start?

I was installing a new cert like I've done dozens of times before. I copied the names crt, key, bundle files as backup and gave the new files the names of the old files. Then I restarted apache. It ...
0
votes
1answer
32 views

Use Different HTTP Protocols per Browser in Apache

I am trying to use http/2 for everything except Safari because of some strange behavior we are seeing when using http/2 with any version of Safari we have handy. I cannot figure out how to set up ...
0
votes
1answer
65 views

Can't Start HTTPD After Update

I'm unable to start my previously working httpd(2.4.6) after updating my instance(CentOS 7). I first checked the status via systemctl status httpd, which yielded: ● httpd.service - The Apache HTTP ...
0
votes
0answers
27 views

Apache httpd load balancing based on other server availability

We are implementing a real-time WebRTC - RTP video solution at a customer, using 3rd party vendor components and customer components. I am trying to find out if it possible to handle a corner-case ...
-1
votes
0answers
11 views

Apache compression and cache control

recently I've been put in charge of our servers and I implemented the compression and the cache control, something that we have never had before, though my Linux knowledge is a bit limited. First I ...
3
votes
2answers
33 views

Cloudwatch logs - audit user access

I have a list of users in .passwd and access_log being uploaded to Cloudwatch. I need to make weekly report who from this list did access to server. Is there any way to automate this rather than ...
0
votes
0answers
139 views

Apache won't serve the directory and gives 403 Forbidden error

I've a folder that I want apache to serve. The folder is located under the home directory: /home/mywebsite. This is my apache configuration file: <Directory "/home/mywebsite"> Order allow,...
-1
votes
0answers
24 views

304 not modified with apache http server

I am using apache http server in a linux device and it starts running but I am no able to access my web pages using browser. I am using firefox 63.0 version when I observed packets in Wireshark ...
-1
votes
0answers
37 views

Invalid command 'DeflateCompressionLevel', perhaps mis-spelled or defined by a module not included in the server configuration

Iam trying to run apache http server in my linux device when I am giving httpd start command to run apache server I am getting an error " Syntax error on line 1043 of /usr/conf/httpd.conf: ...
0
votes
1answer
25 views

Apache proxy redirect URLs with specific string

I have a server which runs 2 applications. I am using a public IP address and I want to parse the url in a way if a specific text occurs the call is redirect to a specific port. In my case I want that ...
0
votes
0answers
25 views

Centos httpd with vsftpd

Currently got a VPS setup with CENTOS 7 to serve as a web server. Httpd is all setup and working and so is vsftpd. Getting logged in no bother and wordpress pages showing as required. The problem is,...
0
votes
1answer
46 views

Apache24u / phpinfo: still showing old version

Ive upgraded the server from default apache 2.4.6 to the apache24u (https://centos.pkgs.org/7/ius-x86_64/httpd24u-2.4.34-1.ius.centos7.x86_64.rpm.html). when I check it via shell, I get the correct ...
0
votes
0answers
27 views

How to fix the issue to start httpd? [duplicate]

ERROR: httpd: Syntax error on line 354 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_jk_apache_2.0.Linux_64.so into server: /etc/httpd/modules/mod_jk_apache_2.0.Linux_64.so: ...
0
votes
0answers
37 views

Two versions of apache exist on RHEL simultaneously - how to use only one

I have two versions of httpd on my RHEL 7 instance. One returns the status via systemctl status httpd: ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/httpd....
0
votes
0answers
160 views

Upgraded httpd 2.2 to 2.4, server generated directory index forbidden by options directive

I keep getting the 500 internal error when going to my website's IP address. I haven't set up a domain name for it yet. Upon checking for error's on the apache error log at /var/log/httpd/error_log I ...
0
votes
0answers
15 views

Apache httpd 2.4 does not Follow new Symlink

Please note that this is not a duplicate of - e.g. - this question. I had a directory listing like this: $ ls -l myprog* lrwxrwxrwx [-- cut --] myprog.php -> myprog.php -rw-r--r-- [-- cut --] ...
0
votes
1answer
36 views

comparing the default enabled modules of httpd on CentOS to apache2 on Ubuntu

I'm migrating a server from Ubuntu 16.04 running Apache2 to CentOS 7.5 using httpd. By checking the enabled modules on both machines I found that httpd enables many more modules by default in ...
0
votes
0answers
12 views

How I can add Rewrite rule in htaccess only for home page?

I have a problem with apache. My site has these rules now: RewriteCond %{HTTP_ACCEPT} text/html [NC] RewriteCond %{HTTP_HOST} ^mysqite\.com [NC] RewriteRule .* path/to/html/my.html [L] I need ...
0
votes
0answers
28 views

Issue with Rewriting an URL for Weblogic Server 10.3.6

I have been working on 2 different web servers(dev-banabc and dev-banxyz), on which we have 2 applications running on each Weblogic Server. I have tried other solutions found on serverfault, however, ...
0
votes
1answer
39 views

httpd.conf redirect / to 8080 and redirect /index.html to /app/index.html

How can create this conf on httpd.conf: user access http://site and see content from http://site:8080 but when they access http://site/index.html, it should redirect to http://site/app/index.html ...
0
votes
1answer
46 views

Fallout from apparent dos attack - httpd trying to contact attacker [duplicate]

I have a server running multiple web hosts (all internally managed) which was the subject of what looked like a dos attack last night. I blocked the attacking IP in IPTABLES for both input and output ...
0
votes
1answer
103 views

Nginx as a reverse proxy for Apache, Php prompted for download instead of executed

I am trying to make Nginx as a reverse Proxy for Apache on a centos 7 server. Here is what I did until now: Create a config file for Nginx: nano /etc/nginx/conf.d/default.conf server { listen ...
0
votes
3answers
275 views

Can't Restart HTTPD on CentOS 7

I've an instance running CentOS 7. And I'm having a difficulty when/if I restart httpd. My configuration is working fine, my sites are broadcasted as I wanted; moreover, when I execute the command ...
1
vote
1answer
21 views

Apache - How to redirect to a particular page in the httpd.conf file?

I'm trying to remove my .htaccess file, so that my Apache server no longer requires the .htaccess file. As I have learnt it is something to avoid if possible.(https://httpd.apache.org/docs/current/...
1
vote
1answer
44 views

How to force Apache to skip binding to failed interface? [closed]

I run Apache inside VirtualBox on a laptop. I also used IP based VirtualHost-s. I want to be able to have LAN access whenever I move about, to certain pre-known networks. The IP, however, is not "...
1
vote
0answers
1k views

How to upgrade apache httpd to latest version (2.4.34) on Centos 7.5.1804?

Is there a "simple" way to upgrade Centos 7.5.1804's version of httpd in order to support http/2? Currently running Apache/2.4.6 and PHP 7.0.30. For this production server, compiling from source is ...
0
votes
1answer
171 views

Apache HTTPD MPM Worker or Event for Reverse Proxy with SSL Termination

I'm running reverse proxies with httpd 2.4.27 on RHEL 6 for various organizational reasons. The reverse proxies have to terminate SSL/TLS instead of the load balancer, which makes me want to consider ...
0
votes
2answers
377 views

How to configure <Location> Directive specific to a Location/Directory on Apache Server and not on Server Level?

I am new to Apache Server Configuration. I went through the Apache Documentation and tried to understand the Basics as well as the Directives. But still, I am not able to figure out a configuration ...
0
votes
1answer
87 views

How to set umask for Apache on Amazon Linux 2 AMI

I want to set umask 0002 for Apache httpd so that certain files that it creates will be writable by other users. The traditional solutions don't seem to work on Amazon Linux 2 AMI.
0
votes
1answer
33 views

Re-route from Internal IP to to Domain URL in Apache using ProxyPass

I have a server with IP 100.00.0.00 that hosts multiple applications one of them has the domain example.com. I have an external application that will request from my server like below but the ...
0
votes
0answers
163 views

Whitelist Apache/httpd based on X-Forwarded-For header instead of client IP

I want to whitelist an apache httpd 2.4 server based on the HTTP header X-Forwarded-For. I have a long list of IPs that should be allowed, and need a better way than what I have found: # Allow from ...
10
votes
5answers
6k views

Apache 2.4 is unkillable and can't be stopped on Windows Server

We have two Windows Server, one in 2012 R2 and the other in 2008 R2 which uses Apache HTTP Server (httpd) 2.4 in proxy/reverse-proxy mode (usage of ProxyPass, ProxyPassReverse and Virtual Hosts ...
0
votes
1answer
33 views

Apache: Loading external resources

I have two Tomcats on two different servers (machines) working in the same network deploying the same application. The application has a .xml descryptor that loads external folder with configs, images,...
0
votes
0answers
180 views

How to log outgoing HTTP requests (including headers) from an Apache reverse proxy

We have an Apache 2.4 instance set up which acts as a reverse proxy for multiple applications. In one of the virtual hosts I have configured it to set an additional HTTP header in a request before ...