Skip to main content

All Questions

Tagged with
1 vote
0 answers
19 views

Fixing Apache HTTPD Configuration for Blocking Specific Headers and Custom 403 Error Page

I'm facing an issue in Apache httpd. In the littpd.conf. Inside the rewrite.mod I am blocking requests which have these 3 headers X-HTTP-METHOD X-HTTP-Method-Override X-METHOD-OVERRIDE And the ...
Deepak B's user avatar
0 votes
0 answers
19 views

Why do we need backslashes here in this piped logging configuration for Apache Httpd Server?

The configuration line is CustomLog "|$/bin/sed -u -E \'s/(ticket)(=|%3D)[a-zA-Z0-9%]+/\\\1\\\2***/g\' >> /dev/stdout" json. The goal is to replace query params like ticket=123 to ...
Bryan Xu's user avatar
0 votes
0 answers
21 views

Passing per-request Apache environment variables to Node app

I'm authenticating to Shibboleth IdP using Apache mod_shib and ProxyPass to access a Node application running NestJS. SAML attributes are released as environment variables (strongly preferred) or HTTP ...
orlb's user avatar
  • 1
-1 votes
0 answers
25 views

Why is /etc/sysconfig/httpd present in RHEL7 but not in RHEL8?

We are upgrading all Rhel7 servers to rhel8 (by new install). We try to setup httpd by issuing the command yum install httpd --nogpgcheck as we have our own repo. In Rhel7, we have /etc/sysconfig/...
Saibul Haq's user avatar
0 votes
0 answers
27 views

Apache mod_rewrite How to strip slash off document root AND all URIs

I have apache-2.4.59 on fedora40 and trying to strip any trailing slash(es) from the root and any other URIs using RewriteCond/RewriteRule in my vhost config. I've tried a dozen different combinations ...
Alex Regan's user avatar
0 votes
1 answer
26 views

Apache, deny access to all files and subdirectories except index.php

I have this in my httpd.conf but does not work, request is forbidden typing localhost: <Directory "${DOCUMENT_ROOT}"> Options -Indexes +FollowSymLinks +Includes +ExecCGI ...
Dani's user avatar
  • 1
0 votes
0 answers
76 views

Custom Response headers are not receiving in to client side

I have two servers, httpd server has launching in UI application and another server has in Spring boot application. In spring boot rest end point sending the custom response headers to UI, but that is ...
Rijo's user avatar
  • 3,023
1 vote
1 answer
45 views

Trying to redirect hotlinked pdf files using RewriteMap in http.conf and RewriteRules in .htaccess

I am trying to redirect external links to pdf files to the html page were the pdf is hosted. I have updated /etc/apache2/conf.d/includes/pre_main_global.conf, which is an include file for httpd.conf ...
projectmonkey's user avatar
0 votes
1 answer
38 views

Configure Apache httpd to host app with domain and avoid port conflict

I am deploying a React (UI) / Python (backend) application running on port 3001 to a GoDaddy-reserved domain (www.demo.com) with TLS on an Apache (httpd) server within a AWS Amazon Linux 2023 EC2 ...
chocalaca's user avatar
  • 362
-1 votes
1 answer
99 views

Throwing AH01225: Error reading request entity data while uploading files [closed]

We face an issue of failure in upload files of more than a GB in size which will keep printing apache error.logs during upload in progress as: [Tue May 07 04:16:35.109777 2024] [cgi:error] [pid 30766] ...
Prajwal's user avatar
  • 419
0 votes
0 answers
63 views

After upgrading httpd-2.4.41 to httpd-2.4.58, facing net::ERR_CONNECTION_ABORTED error while uploading large file

Due to CVE-2021-40438 exploit on our old Apache, we had to upgrade from httpd-2.4.41 to httpd-2.4.58. We face an issue when posting, since we are unable to upload files of more than a GB which will ...
Prajwal's user avatar
  • 419
0 votes
0 answers
23 views

Apache error logs of module "proxy_ajp" is not converting to JSON format

We have converted our Apache error logs to JSON format by defining the format in httpd.conf file ErrorLogFormat "{"timestamp":"%{u}t", "ApacheModule": "%m",...
Priyanshi Shah's user avatar
0 votes
1 answer
81 views

Stuck in a redirect loop (ERR_SSL_PROTOCOL_ERROR in Chrome)

I have a VPS that I administer that is running Apache over CentOS 8. The server uses Cloudflare as a CDN and proxy. It has come to my attention that one of the four domains on the VPS is down - it ...
osuddeth's user avatar
  • 162
0 votes
1 answer
26 views

Apache deadlock when writing in file

I'm using Apache v2.4.56 on Solaris, with libapr 1.6.2. When starting it, it spawns 5 httpd processes. Now from time to time the server get locked and is not accepting requests anymore. It's even ...
Marc's user avatar
  • 998
0 votes
0 answers
34 views

Getting Forbidden You don't have permission to access this resource error while depolye django project with apache and mod_wsgi

Here is my error from error_log: \[Fri Mar 22 16:00:09.035343 2024\] \[wsgi:info\] \[pid 63294:tid 63294\] mod_wsgi (pid=63896): Process 'swpdoc' has died, deregister and restart it. \[Fri Mar ...
Fateh Budwal's user avatar

15 30 50 per page
1
2 3 4 5
114