Questions tagged [httpd.conf]

httpd.conf is a typical name for a web server configuration file. Historically this is the main Apache configuration file. It is also the configuration file for OpenBSD httpd.

httpd.conf is a typical name for a web server configuration file.

Historically, this is the main Apache configuration file, but has been adopted by other servers, including OpenBSD httpd.

In recent Apache installations, the main file can also be called apache2.conf.

616 questions
0
votes
0 answers

How to use request variables in

Using a constant string in a statement works fine like this: Request with browser or curl: https://example.com/images/filename.jpeg In httpd.conf: ...do something ... But of course one…
jamacoe
  • 193
  • 2
  • 7
0
votes
0 answers

Apachectl on macOS working despite error "AH00072: make_sock: could not bind to address", possibly due to duplicate httpd processes

My OS is macOS 12.5.1. I use Apache for local testing before uploading my files to the public web server. If I open a web browser to localhost, it finds the "It works!" page as expected. However if I run apachectl, it thinks it isn't…
Cowirrie
  • 101
  • 2
0
votes
1 answer

Systemctl cannot access additional config files for httpd

I have a freshly set up RHEL 8.6 with httpd installed (yum install httpd). In /etc/httpd/conf/httpd.conf additional configs are included on a mounted NFS share: IncludeOptional /cat/soft/apache/test_80.conf IncludeOptional…
0
votes
1 answer

Apache HTTP Server: Timeout 10 Minutes (600s) in httpd.conf; but API timeout after 5 minutes everytime

I have Apache HTTP Server -> Wildfly combination and keycloak as authentication. [root@alt-esb-app01 conf.d]$ httpd -version Server version: Apache/2.4.6 (CentOS) Server built: Nov 14 2016 18:04:44 I have rest API deployed in Wildfly. I sleep…
fatherazrael
  • 101
  • 1
  • 3
0
votes
2 answers

Apache Proxypass redirects "localhost:port" as url string instead of local service of the port

Environment Server version: Apache/2.4.6 (CentOS) I have two servers which are almost duplicates. aaa.com. and bbb.com. They have almost same Apache rulesets. aaa.com. config ProxyPass…
Lunartist
  • 125
  • 1
  • 8
0
votes
0 answers

Redirect root / to proxy alias multiple subdomains

So I have been trying and failing at re-write conditions for a site that multiple subdomains for its site The gist is that each market must direct and display code differently do to regulations so https://market1.product.com/ …
Craig
  • 1
  • 1
0
votes
1 answer

Apache server is very slow for high traffic

I am using Apache 2 on AWS ec2 instance. I have application load balancer with 2 instances/servers attached to it. Each instance type is m5.8XLarge. My application is developed in Laravel, I am using RDS. I am having 300,000 visitors per day and…
0
votes
1 answer

different configurations files to apache2?

I'm pretty new to this, and reading a lot online, but what configuration is right? in apache2, some are talking about httpd.conf, and have all configuration in one file. my installation have 2 configuration files for EACH of my virtual sites, one…
Adam Larsson
  • 31
  • 1
  • 6
0
votes
1 answer

Unable to change "MaxSpareServers"?

I wanted to increase the MaxSpareServers. MaxSpareServers 20 However, I get the below error while testing. [root@server_1 conf.modules.d]# httpd -t AH00526: Syntax error on line 26 of…
0
votes
0 answers

Are Apache Define directive variables allowed to be overwritten?

Are Apache httpd Define directive variables intended to be allowed to be overwritten? For example, Define SITE example1.com ServerName ${SITE} Define SITE example2.com ServerName…
Jeff
  • 1,416
  • 3
  • 28
  • 50
0
votes
0 answers

Apache SSL config not listening on 443

I am trying to setup an apache website for SSL with a self-signed cert. I setup the vhost and everything looks ok to me. But the site is not coming up and on the server itself port 443 is not listening. Website: https://beta.jokefire.com VHOST…
user99201
  • 287
  • 2
  • 8
  • 22
0
votes
0 answers

PATCH request returns 404, POST and GET work

I'm working on a web application that interacts with a custom REST API. It's basically a table of data that's updated through the application. I'm trying to use the PATCH method for the updates, but Apache is returning a 404 error when I send the…
0
votes
0 answers

Access logs show +210k mentions of localhost IP as origin of request

I have a CentOS 7 server, with 5-6 domains (one being the main domain, the others subdomains). Ever since installing Lets Encrypt and handling the redirections in httpd-vhost.conf, the access log has been filling up with requests from localhost / my…
FiddlingAway
  • 123
  • 6
0
votes
1 answer

How can I show the subdirectory of a server as an index based on domain used to connect to it?

I have 2 domains running in the same directory off the same IP (Via a CNAME record in each's DNS) the directory shows this in the apache index: index of / domainOne.com/ domainTwo.com/ This is shown when you visit the site via it's IP…
0
votes
1 answer

HTTPD LDAP Authentication not working

First time trying to do this and I'm completely lost. I have a Oracle Linux 7.9 server that has a directory that needs to be shared to users via HTTP so that they can download files to send out to third parties. I have been easily able to make it…
SJWales
  • 1
  • 3