Questions tagged [httpd]

httpd is a typical process name of a web server.

httpd (for Hyper Text Transport Protocol Daemon) is a typical name of the web server process.

Apache is the most popular web server that runs using this process name. It is also the name given to the new default server for OpenBSD 5.7 and on.

1448 questions
0
votes
1 answer

apachectl reports that it's in worker mode, however the configuration seems to be set to prefork

I'm using a VPS running Apache2.4 and CentOS7. I'm hitting some threading issues and would like to try to run Apache in prefork mode. If I run apachectl -V to check which mode I'm in, I get this result: Server MPM: worker threaded: yes…
0
votes
1 answer

New virtual host on an existing httpd server: can't get index.html to come up by default

I have an existing Apache httpd server. All of the existing virtual hosts have php landing pages (i.e., index.php). The new one, however, has a plain, old-fashioned, html landing page (i.e., index.html). I can get the html landing page to come up if…
hbquikcomjamesl
  • 259
  • 2
  • 16
0
votes
1 answer

How to use httpd (https/ssl) as proxy server for tomcat

I have installed httpd and tomcat on my server but somehow I'm not able to connect them. ServerName www.harshrathod.dev ServerAlias harshrathod.dev ServerAdmin ****************** DocumentRoot…
0
votes
1 answer

Suppress "client denied by server configuration" Notices

I'm trying to remove the following notices from my error logs: AH01797: client denied by server configuration: /var/www/html/example.com/xmlrpc.php I previously had: LogLevel notice after reading, How to HIDE "client denied by server…
user3783243
  • 99
  • 1
  • 10
0
votes
1 answer

How to redirect ip servername to main site

Many sites have server name ip in their a records. Showing duplicate content using 302 redirect on many domain names How to make all redirect to only website server is actually using. Config: Varnish port 80 HTTPD port 8080 443 NGINX PROXY
Jack Duldi
  • 19
  • 9
0
votes
1 answer

How to build PCRE 8.44 without linking to gcc

I'm building a custom version of Apache HTTPD with a whole slew of extra modules. As part of this, I'm linking against PCRE 8.44, which is working fine. However, lib/libpcrecpp.so.0.0.2 has a dependency showing for libgcc_s.so.1 via /usr/bin/env -i…
OstermanA
  • 111
  • 1
0
votes
0 answers

Apache HTTPD 2.4 with authentication changing last-modified header to now

I have a site running on Apache HTTPD 2.4.39 and when authentication is enabled the last-modified header is changed from the files last modified date/time to the request date/time. If the authentication is removed then the last-modified goes back…
andrewdixon
  • 228
  • 3
  • 10
0
votes
1 answer

Not able to access Apache welcome page in Azure

I have an RHEL7 on one of the Azure instance and I have installed httpd there. Now I am trying to access the url, which is like myhostname-eastus.cloudapp.azure.com, but it is timedout. I tried to ping to this address, but it is also timing out.…
0
votes
1 answer

After running certbot run -d mydomain.com, the domain remotely verifies but site does not come up; what next?

Wanting to "join the modern age" of enabling https on established Apache-server based virtual hosts (some 54 of them!) I finally got around to trying "Let's Encrypt" (by EFF.org), which, by the way, now seems to be renamed "certbot". As I have so…
Richard T
  • 1,206
  • 12
  • 29
0
votes
0 answers

How increase Apache httpd max open files

I have tried increasing apache httpd max open files in various files that were given as a solution in my Google searches but for no avail: cat /proc/x/limits keeps showing same value of 4k
0
votes
1 answer

How can I add multiple conditions to a location-block conditional in NGINX configuration, or otherwise get same desired result?

Initial disclosure: I'm new to nginx and struggling to understand its configuration principles; I have read a fair amount of the docs (including 'If Is Evil'), but still lack comprehension of many aspects. I intend to implement an api gateway in the…
0
votes
1 answer

Apache vhost privilege separation using mod_selinux

I have 2 sites/apps on a server; a proprietary app, and Nextcloud. Nextcloud will be using the files_external storage plugin which allows for local mounts, but I do NOT want it to be able to browse and view the source of the proprietary app... thus…
oucil
  • 557
  • 6
  • 21
-1
votes
1 answer

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 other technique ?
user3153014
  • 101
  • 1
-1
votes
1 answer

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 2. site.com/dir/ 3. site.com/dir/index.php I have…
Bob Johnson
  • 101
  • 1
-1
votes
1 answer

VirtualHost not Resolved

I have two identical VH in httpd/conf.d/. //test.conf ServerName testadmin.mysite.it DocumentRoot /var/www/html/testadmin //release.conf ServerName deploy.mysite.it DocumentRoot…
gdm
  • 459
  • 2
  • 5
  • 19