Questions tagged [httpd]

httpd is a typical process name of a web server.

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

Process php unable to delete tmp file

We recently encounter some issues with httpd and nginx during a simple file deletion process. Indeed after setting PrivateTmp=false to our service file, the process still not able to delete a file in ...
1
vote
1answer
17 views

Proxy Pass with Cookie Value in URL

I want to proxy pass a request to /foo/XXX/bar where XXX is the value of the mycookie cookie in the request. This is trivial in Nginx but I have found no way in Apache HTTPD: Nginx Solution ...
0
votes
1answer
41 views

HTTPD mpm_worker errors AH00286/AH00287

I sometimes notice troubles on my computer about HTTP server. Indeed, no more incoming request is accepted by the service. It just replies by an error code 503. Command: apachectl fullstatus gives ...
0
votes
1answer
27 views

OpenSSL error when compiling Apache HTTPD - undefined reference to `SSL_in_init'

We run Apache HTTPD as a production load balancer using mod_ssl with OpenSSL. I'm trying to recompile Apache HTTPD on the latest version (2.4.41) and am encountering the following error when running ...
0
votes
0answers
29 views

httpd not closing old log files on graceful restart

We are rotating httpd (2.4.6) logs with logrotate (3.8.6) on an RHEL7 server. The log rotation seems to be working successfully, the old logs are deleted from the fs and new logs created. We are ...
0
votes
1answer
32 views

limit Apache HTTPD to one client IP address

When an Apache HTTPD is used as a load balancer, is it possible to configure it on a way that all the requests are rejected except those coming from a specific host? What directive should be used?
0
votes
0answers
19 views

SSL Connection Closed on one load balancer node

We're running a group of websites behind a rackspace HTTPS load balancer. We have two servers, with the exact same apache2 (httpd 2.2 on RHEL6) configuration. SAN certificates were generated by ...
0
votes
0answers
40 views

httpd and curl: Configure https connection prom a p12 file form client validation

I'm deploying an httpd. I need to configure ssl in order to validate client according to its client certificate. In order to do that I've a p12 file containing private key, client certificate, and ...
0
votes
0answers
16 views

All files in /cgi-bin as PHP

I need to configure apache so that all files in the /cgi-bin folder will be treated like php (even if they have no file extension). Does anyone know how to accomplish this? It seems like cgi-bin has ...
0
votes
1answer
46 views

How to debug an Apache 404?

Every single time I set up a new httpd installation, I struggle with the initial  VirtualHost / mod_proxy_fcgi / etc. configuration. When I set up my virtual hosts and get a 404, I always turn to the ...
0
votes
1answer
47 views

Apache: Address already in use

Every time I try to start httpd on CentOS 7 on my Google VPS, the following message always appears. can you help me? ● httpd.service - The Apache HTTP Server Loaded: loaded (/usr/lib/systemd/system/...
1
vote
1answer
56 views

High CPU usage by apache/httpd for light load, 'perf record' points at vmware/hardware

Running Apache 2.4 on RHEL7 kernel 3.10.0-1062, 4 CPU VMWare instance, doing very basic reverse proxying to WebLogic backend using WebLogic proxy plugin. Server is only pushing around 1 MByte/sec with ...
1
vote
1answer
34 views

Apache has `network` instead of `httpd`. Also uses `systemctl` instead of `chkconfig`. Why? (EC2 Linux AMI 2)

I am learning about networking so I'm following a book. Currently, I am setting up a web server inside my EC2 instance. When I ran sudo chkconfig --list httpd as the book suggested, I got an error ...
0
votes
1answer
50 views

Messages going to Spam

My emails are going to spam no matter what I do. Centos 7 Exim PHP 7.2 Apache 2.4 Hostname and IP are not blacklisted. Exim config primary_hostname = mail.example.com domainlist local_domains = ...
0
votes
1answer
67 views

Apache2 / Redirect to Subfolder w/ ReverseProxy

I am attempting to redirect / to a subfolder on an Apache2 reverse proxy server vhost for a server behind it. Reverse proxy is working, however the redirect is not. What would be the best way to do ...
0
votes
2answers
63 views

SSLVerifyDepth explaination

Is there a comprehensive explanation how exactly does certificate chain verification work in apache httpd and how exactly does the SSLVerifyDepth parameter affect it? Possibly as pseudo-code. Most ...
1
vote
0answers
80 views

Apache Proxy should retry connections to domain with multiple IPs

I have a proxy server running Apache 2.4. It is used by clients to connect to fcm.googleapis.com. The configuration is quite simple: Listen 8099 ServerTokens Prod ServerSignature Off <...
0
votes
2answers
44 views

HTTPS hit not showing in apache log

A website which has a link to my website recently changed from http to https. Before that, a hit from its link appeared in my apache access_log, as expected - but that is no longer true. I now see ...
0
votes
1answer
46 views

Trace httpd when using cgi

I have configured httpd (apache2.4.6) cgi to run /bin/bash scripts. I would like to trace httpd calls of /bin/bash and see the actual command that is run. So far I have tried to use strace -p but for ...
0
votes
0answers
35 views

How to prevent “brute-force” GET and POST requests from httpd web server

I have an Apache 2.4.6 Web Server on Centos 7 that is hosting a website of mine. This web server is hosted on a Google Cloud compute instance that I have spun up. Over the past few days I've been ...
0
votes
0answers
17 views

Multiple proxy balancers on same virtual host

Getting weird errors with the following configuration: <virtualhost ###.###.###.###:443> ServerName myappserver.mysite.com ProxyRequests Off ProxyPreserveHost On Header add ...
3
votes
1answer
77 views

Docker httpd & htaccess - Could not open password file

I have an error that I can't resolve, even with my last researches. Folder structure: -rw-r--r-- 1 root root 105 Aug 8 15:58 Dockerfile -rw-r--r-- 1 root root 21371 Aug 8 16:05 my-httpd.conf ...
0
votes
1answer
46 views

How to see default values of Apache directives?

I have switched Apache from preform mpm to event mpm. Now Apache is not running out of memory but when I check htop I see that there are around 300 httpd processes. I know that they are dependent on ...
0
votes
0answers
517 views

HTTPD (99)Cannot assign requested address: AH00072: make_sock: could not bind to address

My config: IncludeOptional conf.d/*.conf Listen 172.158.50.122:443 Listen 172.158.50.9:443 Listen 172.158.50.9:7777 FileETag None Header unset ETag Header always append X-Frame-Options ...
1
vote
0answers
40 views

How to escape dollar sign in Apache conf file

I am having a problem with Apache 2.2 (httpd) conf files. I have it hosted on RHEL, and we have ldap URL which contains "$Customer" in the memberOf filter. Due to that, normal placement of ldap URL in ...
0
votes
1answer
67 views

How can I block certain URLs in apache httpd when using proxy pass?

My site is using apache httpd to do the reverse proxy to an app running in Express (Node.js app). Have 2 express servers, one for backend, another for frontend hosting. Right now I'm trying to block ...
0
votes
0answers
67 views

httpd reverse proxy: Change or set cookies' path

I've this configuration on my httpd reserse proxy: ProxyPass /descarregaby http://${webhost}:8083/userlogin4download ProxyPassReverse /descarregaby http://${webhost}:8083/userlogin4download So, It's ...
0
votes
0answers
15 views

Why is Apache HTTPD 2 redirecting without mod_rewrite?

I'm having an issue where if I try to access one of my virtual host sites, it redirects to another virtualhost entry. I even try disabling mod_rewrite and it keeps redirecting. It's also still ...
0
votes
1answer
153 views

Apache HTTPD rewrite backend proxy HTTP error 500 to 503

I have two use cases: HTTPD is a proxy for a Tomcat application HTTPD is a proxy for a PHP application For compliance and security needs all 50x errors must be rewritten to 503 prior to sending back ...
0
votes
0answers
13 views

set http header conditionally depending on group

I have an application where I have 2 groups and want to differentiate what they allowed to see. Therefore I want to set an http header when a user is in the first group and another one when he is in ...
0
votes
0answers
34 views

How to determine if I should use KeepAlive in apache?

I have read several posts and questions about KeepAlive but have not found any suitable for me. I have a server with just one client (Trivago) doing hundreds of (hotel availability) requests per ...
1
vote
1answer
34 views

Why is this VirtualHost definition activating when the ServerName doesn't match? [duplicate]

I've got a httpd24 server that I want to use to server multiple domains. I've got a 3 VirtualHost definitions. <VirtualHost *:443> ServerName one.example.com # SSL stuff DocumentRoot "...
0
votes
0answers
59 views

Apache httpd setting a custom header prefix

I'm using apache httpd24 to extract the headers from aws cognito and pass it to a JAVA application. AWS is sending me the following headers: username email firstname family_name And my target ...
1
vote
2answers
86 views

Apache redirect to same path but with a # fragment

I'd like to append a #fragment for the client to read on certain URLs (and used by an SPA). <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^foo/? /foo#bar [QSA,NE,L,R=...
-1
votes
1answer
49 views

How to strip port number from http request url?

I am using httpd server for load balancing and as web server. I want to convert my request from : http://hostname:port/service to http://hostname/service How it can be done using RewriteRule or any ...
0
votes
0answers
16 views

Urls not working VirtualHost and ProxyPass

I am using apache httpd server on windows. I am using this to run 2 flask applications in different ports using virtual hosts in httpd-vhosts.conf. <VirtualHost *:80> ServerName ncapp01 ...
0
votes
0answers
25 views

What's the correct “Location” for URLs containing spaces?

I'm hosting some SVN-repos using mod_dav_svn and am running into problems when using URLs with spaces. My approach is simply to have a directory structure of SVN-repos grouped by customers or some ...
0
votes
0answers
49 views

How to cache static content with a certain condition

I am using Apache httpd to front end a few application servers (eg, WebSphere, JBoss etc). I am also using Apache to cache the static content like gif, jpg, css etc. This works fine for most ...
0
votes
0answers
54 views

Using Apache Webserver as Load Balancer to proxy multiple applications on an external webserver cluster

we have the following three tier application configuration: 1) Elastic Load Balancer as entry point 2) Two Apache webservers as proxies and load balancers (two for failover) behind the ELB. The ...
0
votes
1answer
31 views

“Allow from” in a range in Apache 2.2

I'd like to add a range of IPs to Apache httpd 2.2 where the third octet is in a range: X.Y.192-254 I can do this: Allow from X.Y.192 Allow from X.Y.193 . . . Allow from Y.Y.254 But, that's pretty ...
0
votes
3answers
132 views

EC2 - httpd service not running with 443 vhosts after installing mod_ssl

I'm experiencing issues with the configuration of mod_ssl on an AWS EC2 instance It appears I'm at some point where I cannot run httpd service via sudo service httpd restart since I installed the ...
0
votes
0answers
31 views

after installed Lets encrypt SSL site is not opening

I am using apache web server on centos 7. I hosted some files, and i installed. after that site was working fine for http. Then i installed Lets encrypt SSL afte this site is not opening. I opend port ...
2
votes
3answers
121 views

Selinux 'var_t' base type warning

I am currently 'lost' in the CentOS Selinux forest. My setup involves setting up a WSGI socket in /var/www/demo/out which nginx uses to communicate with the UWSGI process. Whenever I request the page ...
0
votes
1answer
56 views

Apache prefork module. Processes not being forked under heavy load

I have an apache prefork module http server running on linux machine. The machine has 8GB RAM. I have following in my /etc/httpd/conf/httpd.conf: <IfModule prefork.c> StartServers 8 ...
0
votes
0answers
30 views

HTTPD issue with SSL EV and subdomain

I have an EC2 server which is hosting a Laravel+Angular application. All the front end of the application is pointing to the vlupt.com domain and (/var/www) directory and the backend is pointing to ...
-1
votes
1answer
24 views

Relative URL is relative to wrong absolute URL on web

Background I am building a website. The files are: /index.php /pic.jpg /dir/index.php /dir/pic.jpg As we know, people can visit my site's dir/index.php page using different URLs: 1. site.com/dir ...
0
votes
0answers
39 views

Iptables allow HTTP/S connection only from spesific IP, but found this access & error log comming from another IP

I have found weird one line of httpd error log and access log on my server. Error log: [Fri May xx xx:xx:xx 2019] [error] [client xxx:yyy:zzz::aaa] Directory index forbidden by Options directive: /...
0
votes
1answer
27 views

How To Check HTTPD Directory Enforcement?

Fedora 29 with HTTPD Apache 2.4 By default access to the server's directory system is protected by this entry in httpd.conf: <Directory /> AllowOverride none Require all denied </...
2
votes
1answer
197 views

Failed to start Apache Server after configuring Client Authentication

CentOS 7 | Apache 2.4.6 I have built a private Certificate Authority (CA) and two certificates (one for the server and one for a client). Then, I configured the Apache to use the certificate X.509 ...
0
votes
1answer
34 views

Which apache/httpd (root or www-data) user, who load /etc/php.ini when webserver startup?

I want to secure my php ini access right. We know that apache/httpd master process, is owned by root. Then it spawn new child process in www-data user. If /etc/php.ini loaded by apache as root user, ...