Questions tagged [httpd]

httpd is a typical process name of a web server.

338 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
666 views

Apache HTTPd 2.2 is ignoring LocationMatch regex

I am trying to create a Reverse Proxy that match every URL except one in Apache 2.2. It works on Apache 2.4 (Centos 7), but not in Apache 2.2 (Centos 6.6) ... # Do not modify this <LocationMatch "^...
5
votes
2answers
854 views

apache/httpd responds slower under EL6.1 than EL5.6 (CentOS)

I've read through other threads on performance differences between RHEL 6 and RHEL 5, but none seem a tight match to mine. My issue manifests itself in slightly slower average response time (20ms) ...
4
votes
0answers
776 views

SELinux: How to allow apache, samba and tomcat access on the same file

Running RedHat 7.4 Until recently I could use semanage fcontext -a -t public_content_rw_t '/var/www(/.*)?' restorecon -R /var/www from answer https://serverfault.com/a/346779/125461 on How do I ...
4
votes
0answers
894 views

Apache 2.4 Redundant LDAP Authentication

I'm trying to provide a redundant LDAP authentication to my webserver. ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" <AuthnProviderAlias ldap ldap-one> AuthLDAPBindDN "search@domain" ...
4
votes
1answer
671 views

Apache is not using SWAP and it's reporting page allocation failure

Check the logs: httpd: page allocation failure. order:4, mode:0xd0 Call Trace: [<ffffffff8000f696>] __alloc_pages+0x2ef/0x308 [<ffffffff80017a40>] cache_grow+0x139/0x3c7 [<...
3
votes
2answers
74 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 ...
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-...
3
votes
0answers
339 views

PKI Authentication in HTTPD using Active Directory (LDAP)

In my environment, an external entity provides a Root CA & Intermediate CA(s). They issue thousands of smartcards with PKI certificates for authentication. They provide the Client Authentication ...
3
votes
0answers
213 views

why apache is ignoring my virtual host instructions

Background Admittedly, this is a nube question. What I want to do is to simply install the beanstalk console and make it run from say, app.beanstalk.com on my local machine What I have tried so I ...
3
votes
0answers
272 views

Bad Gateway error after upgrading back-end from Jetty 8 to 9

Update: this seems to be due to an Apache bug: https://bz.apache.org/bugzilla/show_bug.cgi?id=60330 I have a Java application that runs Jetty 8 as an embedded HTTP server. This is a back-end service, ...
3
votes
0answers
448 views

php_value overrides with Apache using a front controller

I am trying to set specific server side value for virtual paths used to upload files. All my URLs are virtual and requested are dispatched by a front controller. I have the following config in my ...
3
votes
1answer
602 views

Apache httpd conditional redirect based on response header

We are using an Apache httpd as reverse proxy. In special cases when an error occurs in the backend system, it returns a special header like X-Error=1 (besides the status code 500). Is it somehow ...
3
votes
0answers
538 views

VirtualDocumentRoot and ProxyPassMatch

I have the following Apache configuration: ServerName localhost UseCanonicalName Off LogLevel debug <VirtualHost *:8080> ServerName _default_ VirtualDocumentRoot /Users/alex/Sites/...
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'...
3
votes
1answer
648 views

`svn checkout` on the SVN server causes the repo to break with a 301 error

We have an nginx server which proxies to a standard set-up of Apache+SVN. The nginx set-up is a very simple proxy: server { server_name svn.ourdomain.tld; location / { proxy_pass http:...
2
votes
0answers
67 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
169 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 ...
2
votes
0answers
4k 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 ...
2
votes
0answers
354 views

Apache Reverse proxy - ProxyPass conflict over multiple location

ProxyPreserveHost On <Location /stores/identityiq> ProxyPass https://ncdlxxxasa0002:8443/identityiq ProxyPassReverse https://ncdlxxxasa0002:8443/identityiq </Location> <...
2
votes
0answers
3k views

Apache httpd sets X-Forwarded-Host instead of Host header

I have an Apache httpd proxy (proxy.example.com) that proxies requests to an application server (app.example.com). Now I'm trying to overwrite the Host header in requests to app.example.com with a ...
2
votes
0answers
787 views

Nginx Http Secure Link Module not working

I am using nginx secure_link to prevent video from hotlink. If main server key match remote server key. The video will able to access/watch. Otherwise if user access link directly without md5 link ...
2
votes
0answers
652 views

How to redirect request from one container to another when .php files are called

I am working in a LAMP stack using Docker and Docker-Compose and I am stuck since I am not able to execute PHP files meaning anytime I try http://localhost/index.php I end with the following 403 ...
2
votes
0answers
354 views

Apache httpd server and webdav protocol

I am using an iRODS client based on webdav protocol which uses apache httpd server (https://github.com/UtrechtUniversity/davrods). I configured iRODS to use SSL+PAM authentication and it is working ...
2
votes
0answers
177 views

Anyone know what could cause this pattern of http requests?

It's from a registered user on my website. Activity begins with normal looking URLs, which correlates to manual browsing, but then that stops. After that I get the same GUID-based requests every 3 ...
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 ...
2
votes
0answers
615 views

PHP-FPM + Apache (403 forbidden message)

Im having trouble installing php-fpm. When ever I install it and open a php file i get a 403 forbiden status code Looking at the logs is see client denied by server configuration: /usr/lib/cgi-bin/...
2
votes
0answers
390 views

Integrating Kerberos authentication on Apache with a Git server

First time asking a question here so I hope I'm in the right place to do so. I've also searched for similar problems on here, but couldn't find anything quite as similar. Here's my problem. We ...
2
votes
0answers
188 views

intermittent AWS Linux AMI server error “File does not exist: /var/www/html/var”

Intermittent error "File does not exist: /var/www/html/var" from all areas of a Zend MVC app resulting in pages occasionally failing to load - when normally they load perfectly. Our Set-up MVC app on ...
2
votes
0answers
161 views

Multiple httpd with JBoss cluster: provide httpd HA

I have a working configuration like this: +-----+ +-----+ +-----+ +-----+ | i1 | | i2 | | i3 | ... | in | JBoss Cluster +--+--+ +--+--+ +--+--+ +--+--+ | |...
2
votes
0answers
1k views

Why do we get 'cannot open file' we use XSendFile with /tmp?

We're upgrading to Fedora 18. We've deployed our Rails app, and it works as expected, except for downloading zip files of reports. It works on our existing production server (Fedora 15). We're ...
2
votes
0answers
5k views

Apache + Codeigniter + New Server + Unexpected Errors

Alright here is the situation: I use to have my codeigniter site at bluehost were I did not have root access, I have since moved that site to rackspace. I have not changed any of the PHP code yet ...
2
votes
2answers
391 views

Can httpd check permissions of private key file used with SSL certificate?

Is it possible to have httpd fail a configtest if a SSLCertificateKeyFile value exists, and points to a file with any permissions other than the minimum necessary for reading the key? I have httpd ...
1
vote
1answer
55 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
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 <...
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 ...
1
vote
0answers
11 views

Empty connections to httpd create steady incoming traffic

I noticed something weird in our server telemetry today where it showed that one of our servers is having a very steady incoming amount of traffic where it normally is very irregular. When examining ...
1
vote
2answers
1k 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 ...
1
vote
0answers
130 views

Need to give a non-privileged user permission to execute apachectl script

I want that a regular user to be able to execute apachectl in the system. And that would be the only thing that they can do outside of it normal permissions. What I did is to add this line at the ...
1
vote
0answers
58 views

Why access control and authorization dont work together in Apache

I have a Centos Linux server with Apache 2.4 and having multiple virtual sites. I spent a lot of time implementing access control on the basis of ip but failed. I now realized that access control ...
1
vote
0answers
120 views

Is there a more verbose version of the command `httpd -S`?

The command httpd -S displays your VirtualHost's and Configuration Files, and the IPs and Ports they are listening on. Is there a similar command that also shows you the directives applied to teach ...
1
vote
1answer
191 views

Corosync cluster will not bind vips to loopback, so apache fails to start in CentOS 7

I have a problem getting apache to work in a corosync cluster. I probably sifted through more than hundred web pages and a couple of dozen Google Searches, and was not able to find any matching ...
1
vote
0answers
64 views

How to pass part of URL to ProxyPass in Apache

I am hitting the URL http://example.com/ws/abc. Now I need to proxy a server with URL https://server.com/abc. I have tried the 2 methods below to proxy. But it is not working. RewriteRule ^/ws/(.*) "...
1
vote
0answers
2k views

Enable debug logging in vhost Apache 2.4.6

I have an apache server (I didn't do the setup). The httpd.conf is default and I see nothing about logging. in conf.d/vhost_xxx I see some config for my vhost. I add the LogLevel debug: <...
1
vote
0answers
651 views

using mod_proxy and mod_substitute to replace code in https or redirect

I want to setup a free proxy but replace html code in each page in order to display a message/note to user in each visited page. So far it works ok by this code in httpd.conf: This code replaces body ...
1
vote
0answers
302 views

Using AmAgent configuration on two different Apache proxy gateways

To authenticate users for our applications, I have a setup which can be represented with the following diagram: I have a server with OpenAM running on it (OpenSSO Enterprise in the diagram), have ...
1
vote
0answers
109 views

Relations beetween apache processes and pageloads/views /hits

When I run the command ps aux, I see many entries /usr/sbin/apache2 -k start (In Ubuntu machine) and /usr/sbin/httpd -k start (In Centos). I have read fro somewhere that each of those entries is an ...
1
vote
0answers
1k views

Limiting Request Body size to 5 GB in Apache httpd using LimitRequestBody directive

We are in the process of implementing certain controls in our installation of Apache httpd server. One of the directives, we are trying to use is LimitRequestBody. It states: This directive ...
1
vote
1answer
484 views

esxi6 error 403 when connecting to https://host.tld/

In short: I have a couple of ESXi6 servers in a LAN on which I can successfully load the page https://host.tld/ in a browser. On one ESXi6 server, which is publicly available on the internet, I get ...
1
vote
0answers
166 views

how can I avoid using AuthzSVNAccessFile for read/write access to SVN

I want to authorize SVN access based on user's group id in LDAP so that I can get rid of AuthzSVNAccessFile. /etc/httpd/conf.d/subversion.conf is as below: (AuthLDAPURL is captuted from 'Search Logs' ...
1
vote
1answer
51 views

Set custom name to download files

I have the following configuration file in my sites-available <VirtualHost *:80> ServerName my.domain RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^/?(.*) https://%{...