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

Apache Httpd: Logging Access for Non-privileged Users

I’m wondering if it is common for Apache HTTPD admins to allow read access or read access to copies of /var/log/httpd/${vhost}_error_log? I administer an Apache web server for a University CS department. At times we get tickets in frustration that…
0
votes
2 answers

Apache 2.4 Redirect all to index.php

OK, first let me apologize if this question has been asked before. I did a search but didn't immediately find something suitable. I've been looking at the Apache docs but just cannot get this rewrite to work, though it seems it should be very…
Paul Allsopp
  • 131
  • 7
0
votes
0 answers

Apache Centos mutiple instances and virtual hosts

I installed apache on centos and added two virtual hosts (server1.com and server2.com ): server1.conf Listen 443 https DocumentRoot /opt/server1/ ServerName server1.com ServerAlias server1.com
0
votes
0 answers

SSPI, Treat wrong credentials as anonymous user

I'm running apache 2.4 with xampp, and so far my sspi works well with mod_authnz_sspi. I would like to accept all users, but get their name in $_SERVER['REMOTE_USER'] if they are in my active directory to display some more tabs. I'm currenlty…
Neil
  • 101
  • 3
0
votes
0 answers

(13)Permission denied: AH02611: create: apr_shm_create(/log/slotmem-shm-p24af65f1_0.shm) failed

I updated httpd to version 2.4.57. I compiled httpd on my own and when I start httpd within a chroot environment, I am getting this error message in the logs: [Thu Jun 22 14:33:27.319378 2023] [slotmem_shm:error] [pid 3591] (13)Permission denied:…
MrPython
  • 1
  • 1
0
votes
0 answers

AlmaLinux HTTPD will not recognize the error with .htaccess

Product version: Plesk Obsidian 18.0.47.5 OS version: AlmaLinux 8.7 x86_64 The problem is Apache / HTTPD would not recognize to error its .htaccess from when editing the file at AllowOverride None to All from the httpd.conf caused to not be updated…
0
votes
0 answers

What is the correct way to enable HTTPS on apache httpd VirtualHost, given a .pem file and a .key file?

I need to get https enabled on a webserver (RHEL 7.9, httpd 2.4.6). We were provided a pem file, with the following format: -----BEGIN CERTIFICATE----- // -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- // -----END CERTIFICATE----- -----BEGIN…
demiglace
  • 101
  • 2
0
votes
0 answers

Redirection of only home page to 404 not working

What is needed is that https://cpc.dev.company.eu should redirected to 404 page, and all other like https://cpc.dev.company.eu/* and app1.dev.company.eu & app1.dev.company.eu/* should work as it is. in nutshell what i want is only home page of…
0
votes
0 answers

ClosedChannelException due to apache AJP

I am getting errors in prod splunk(not able to reproduce error in lower regions) which my senior believe is due to Apache AJP. Below are the errors - [31m10:53:39,465 ERROR [io.undertow.request] (default task-316) UT005023: Exception handling…
ereh
  • 1
0
votes
1 answer

Alias in apache httpd.conf

I am trying to serve robots.txt on an existing https site being served via reverse proxy on an apache windows server. Here is what I added to httpd.conf file however this is not working. What am I doing wrong. # global robots.txt file
desiguy
  • 101
  • 1
0
votes
1 answer

Configuring Virtual Hosting Httpd - Fedora Server - 'sites-available and sites-enabled' vs 'conf.d/vhost.conf'

The current set-up for my web server is a 1GB nanode using Fedora37 as the distribution for the compute instance. For the web server I am using Httpd (Apache 2.4.54), and am now in the process of configuring virtual hosting. I have read several…
0
votes
0 answers

Redirect to another website but keep the original URL

We have an Oracle HTTP Server 12.2.1.2 that is hosting everything under a URL which for this example we'll say it's xyz.com/home/test. I have been tasked with being able to redirect users from the /test to another external website (let's say…
Ress
  • 45
  • 1
  • 2
  • 8
0
votes
1 answer

Amazon Linux 2 SSL setup with Godaddy subdomain Certificate

I have two sites site1.mydomain.com and site2.mydomain.com on a Amazon Linux 2 instance. I used a Loadbalancer and a godaddy certifcate with subdomains site1 and site2 but for cost reasons wanted to get rid of the loadbalancer and install the…
0
votes
1 answer

How to Enable multiple URL's with mTLS in place

Mine is a web server i need multiple URL's of the server enabled with mTLS in place. This is my code. Header set Cache-Control "no-store" Header always set Strict-Transport-Security max-age=31536000 SSLEngine on SSLProtocol…
0
votes
0 answers

Issue in showing Apache ErrorDocument based on HTTP_USER_AGENT and REMOTE_ADDR

I need to restrict access to application based on ip address and need to block displaying page if it is opened other than chrome. Now i can able to restrict ip, But if i put the browser checking option, then instead of ip address checking, browser…