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
2 answers

subversion issue on mac os x

This exists in my httpd.conf file: DAV svn SVNParentPath /Users/iirp/Sites/svn Allow from all #AuthType Basic #AuthName "Subversion repository" #AuthUserFile /Users/iirp/Sites/svn-auth-file #Require…
user32942
0
votes
1 answer

How to rewrite urls using ProxyHTMLURLMap?

My urls are in this form /sites/site-name/Subpath-2/page-name.page /sites/site-name/Subpath-3/Subpath-4/index.page And this should be rewritten as /sitename/subpath/pagename (the extention .page is removed) also the subpath can have multiple…
0
votes
1 answer

How to add a custom OpenSSL engine with OpenSSL and use from apache server?

I have a custom-built OpenSSL engine. I'm trying to make changes to openssl.cnf to load this engine automatically. My ultimate goal is to use this engine for Apache mod-ssl. Apache mod_ssl to use OpenSSL ENGINE on Ubuntu 14.04, address my issue and…
user45698746
  • 101
  • 2
0
votes
1 answer

Some questions about httpd log

First question: why there are two error log files? One is /var/www/mywebsite/error.log, which is specified in with the ErrorLog instruction. The other is /var/log/httpd/error_log. I cannot find where it is defined.There is a line…
William
  • 99
  • 1
  • 2
  • 11
0
votes
1 answer

How to match domain by external file and create an alias?

Using Apache. I have a txt file of domains that I want to use for mapping directory aliases. But I can't figure it out. The txt-file looks like this: example.com folder1 anotherexample.com folder2 subdomain.example.com folder3 ...500 domains... A…
tim
  • 101
  • 1
0
votes
0 answers

Unable to Determine Request Header Limiter

I'm new to using apache and working on a company product I've been hit with a 405 error with a PUT request. Looking at methods of limiting request headers - it appears this can only be done using Limit(s) inside either the httpd.conf file,…
0
votes
0 answers

Subdomain suddenly stopped working on Apache

We have a server on CentOS 7.4 which runs multiple websites and subdomains. A domain say xyz.example.com is pointing to xyz folder in html root which is working since last 4 years and suddenly stopped working yesterday night and is now showing the…
0
votes
1 answer

Moved the Apache directory. Now it doesn't work. What should I do?

I am working on Linux (Ubuntu). I've installed apache to /var/local/ and I've moved the Apache directory to /usr/local/. Now it can't start. I've edited the httpd.conf file changing all /var/local text to /usr/local/. Which other files do I have to…
ONSC
  • 11
  • 1
  • 4
0
votes
1 answer

Apache SSL error : Unable to read server certificate from file

I am getting an Apache error while server startup. The error reads: [error] Init: Unable to read server certificate from file /etc/pki/tls/certs/ca-bundle.trust.crt [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding…
0
votes
1 answer

How can I connect My Domain and Spring-boot project?

my env : Linux, maven, AWS EC2, Spring boot I can see the main screen of the project when I connect to the Elastic IP of EC2. However, when I try to connect to the purchased .dev domain, I get an 403 error and Test Page of Apache. I think, maybe I…
0
votes
0 answers

Should I increase MaxSpareServer?

Recently we have surfered a 2 minutes downtime in one Apache Server 2.4. There is not any significant error in error_log like "Max server Limit reached" and neither in acces_log. Moreover, there is not a huge amount of client request in access_log,…
Pablo Luna
  • 121
  • 3
0
votes
0 answers

httpd don't find image with special characters

I have a wordpress site and when I upload image with french name like this (sécurité) my server don't find the image and the brower return my a 404 erreur. But the image is on the server . I try a lot of thing like but nothing work 1: i add this on…
john
  • 111
  • 4
0
votes
1 answer

Lightsail LAMP - Virtual Hosts stopped working after adding SSL

After hours and hours of efforts on research, I'm posting this. I'm trying to add a domain and its sub-domain on a single static IP created in LAMP instance in Amazon Lightsail, and add Let's Encrypt SSL certificate to both. Before adding SSL, I had…
0
votes
0 answers

How to log upstream IP in Apache HTTP server?

I'm using Apache Http server as a reverse proxy. I am interested in logging the upstream server IP in access and error logs. I'm looking for something like upstream_addr of Nginx web server.
0
votes
2 answers

port redirect not working for https apache2

I am trying to configure apache2 on aws lightsail instance. the instance was default setup for aws wordpress + aws linux. I have a node.js server running on port 5000 on this instance. the apache server is in /opt/bitnami/apache2. First I tried to…