Questions tagged [httpd]

httpd is a typical process name of a web server.

Filter by
Sorted by
Tagged with
0
votes
1answer
38 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
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 ...
0
votes
1answer
44 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 ...
1
vote
2answers
1k views

'/var/spool/cron' is not a directory, bailing out. when trying to work with crontab via PHP's shell_exec

I am creating a web application. Part of the functionality is depending on that the user can start/stop a cronjob that imports emails. It doesn't work. Just to make sure I'm on the right track, as ...
0
votes
1answer
29 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 ...
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
2answers
1k views

Running php-fpm with httpd 2.4.4 in CentOS 6.4

I upgraded to httpd 2.4.4 from the httpd 2.2 that shipped with CentOS/RHEL 6.4. I'm running into an error trying to serve Roundcube mail using php-fpm. We tried a number of solutions on #httpd at ...
8
votes
3answers
9k views

Running out of swap space on web servers, what to do?

I have 2 LAMP web servers that are routinely running out of swap space (see attached top screenshot). Apache's settings are as follows: <IfModule prefork.c> StartServers 64 MinSpareServers ...
4
votes
1answer
5k views

many graceful restarts in httpd error log?

Our server was down , and we restatred the services (nginx & httpd), and when i look at the logs, i've found these lines , there are so many Graceful restart requested, doing restart lines, whats ...
0
votes
1answer
1k views

Centos & - httpd startup failure after yum update

I ran a yum update after which HTTP Apache server fails to start up on my Centos 7 VM. The apache details - Apache/2.4.6 (CentOS) OpenSSL/1.0.1e-fips PHP/5.4.16 Kernel version - 3.10.0-327.10.1.el7....
1
vote
2answers
2k 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
2k views

pgsql is not loading (centOS 6.8)

*First of all don't answer "php.ini >> uncomment extension=pgsql.so and restart httpd". did that millions of times, did not solve my problem. *Tried hundreds of methods described in different sites ...
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
933 views

Apache in front of JBoss 6 -> Some proxy errors

Here under my Apache configuration: <IfDefine TOMCAT> <IfModule mod_ssl.c> <IfModule mod_proxy_http.c> ProxyTimeout 300 SetEnv force-proxy-...
1
vote
1answer
1k views

DocumentRoot Directory Apache httpd

I want to make changes over my httpd.conf file of Apache running in Windows, but I want to know why need to use (or declare) the same root twice. DocumentRoot "C:/Apache/htdocs" <Directory /> ...
1
vote
2answers
5k views

Apache httpd mod_rewrite with Tomcat resulting in lost JSESSIONID

I'm working on a Java web application, for which I recently implemented an authentication module that relies on the JSESSIONID cookie to identify users. I was testing on a local tomcat from eclipse ...
0
votes
1answer
2k views

Apache container with Server-Status

Have someone here setup successfully apache with server status inside of a container to allow access from the host? I have already tried with --add-host param at docker to then allow that host at the ...
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 ...
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
2k views

Showing httpd.exe application error on server

I am running an online examination website on my localhost server. When I have attached eight other machines to the LAN to conduct a test, it generate an error message: httpd.exe Application error ...
0
votes
2answers
1k views

Server not responding to http or ping but ssh works

I can access to a VPS through ssh. That VPS has httpd installed on it and running to listen onto port 80. However I can't ping that VPS nor access to his apache but I can log in with ssh. This is ...
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
155 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
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 ...
1
vote
1answer
57 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 ...
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/...
3
votes
2answers
1k views

apache CustomLog with multiple env?

I have 2 CustomLog statements: # SVN-ACTION is default env CustomLog logs/svn_access_log common env=SVN-ACTION SetEnvIf Request_Method GET GET-ACTION CustomLog logs/get_access_log common env=GET-...
2
votes
4answers
2k views

Apache httpd reverse proxy delegate SSL to backend

Usually using Apache as reverse proxy is done to do SSL offloading and so Apache handles all the SSL stuff and the backend server just manage plain http. But is it possible to do the opposite ? I'm ...
0
votes
2answers
1k views

Domain and Subdomains on reverse Proxy

So, I have created an owncloud instance and I want to be able to access it from the outside network (it works just fine on the itnernal) but an older administrator had created a "reverse proxy" (he ...
18
votes
9answers
89k views

script to automatically test if a web site is available

I'm a lone web developer with my own Centos VPS hosting a few small web sites for my clients. Today I discovered my httpd service had stopped (for no apparent reason - but that's another thread). I ...
3
votes
2answers
2k views

Apache's “OPTIONS * HTTP/1.0” running 100% CPU - Runaway httpd process

I have this recurring issue where an httpd processes will randomly start running at 100% CPU. Often other httpd processes will join in, and it will continue until I restart Apache. Oddly, the thing it'...
0
votes
1answer
992 views

mod_proxy compile error with Apache httpd 2.4.33

I am trying to compile latest version of apache http 2.4.33 with the following configure options. ./configure --prefix=/usr/local/httpd --enable-ssl --enable-so --with-configured-apr The ...
0
votes
2answers
3k views

Error when starting apache - apr_global_mutex_lockfile

Good morning, I am trying to start up Apache HTTPD 2.4.23 on my Centos 5.11 (Linux version 2.6.18-371.6.1.el5 (mockbuild@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-54)) server. ...
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 = ...
1
vote
1answer
2k views

Can't start any service after installing iRedMail on CentOS

I have attempted to install iRedMail on one of my servers. After reboot, I can't start any service anymore. [root@mx ~]# systemctl start httpd ** (pkttyagent:16323): WARNING **: Unable to register ...
0
votes
2answers
881 views

ERR_CONNECTION_TIMED_OUT when try to access port 80

I have Azure Linux VM created with httpd running on port 80, here is putty: I have enabled/allowed azure vm security group to allow port 80 traffic. When I try to access this vm from my browser ...
0
votes
1answer
2k views

What's the easiest way to integrate Authy (two-factor) authentication with Apache httpd?

EDIT: Something similar to Authy would work too, if that service was i) hosted/SaaS and ii) able to send SMS messages. Most examples advocate RADIUS for two-factor authentication but I'm already ...
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
66 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 ...
0
votes
1answer
5k views

Error using mod_jk in httpd: undefined symbol: ap_get_server_version

We just recently installed a new RHEL7 server. Inside of this server, we have a bunch of vhosts, and inside the vhosts there is a couple of lines that looks like this - JkMount /rules_engine/...
1
vote
2answers
2k views

Apache httpd creates new sessions every time (2.2.16 and 2.4.6)

I have a server running Apahce httpd 2.2.16 on Debian 6.0.7 I use the proxy balancer directive to reverse proxy traffic using ajp protocol to tomcat backends <Proxy balancer://tomcatapp-cluster&...
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 ...
3
votes
2answers
12k views

apache error and access logs are missing, what could be the cause and how can I recreate them?

I've been given a task to understand why 2 CentOS web servers running apache 2.2.3 are experiencing very high loads on specific occasions. The first thing I checked was /var/log/messages but then I ...
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
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 ...
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 ...
3
votes
1answer
78 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 ...
6
votes
1answer
4k views

Apache shuts down unintentionally

I must say that I am not the guy that set up the server, but the poor sap tasked with finding out what is happening for the time being. I only have a rough knowledge about apache and linux, so please ...