Questions tagged [apache]
Use this tag (along with an appropriate programming-language tag) for programming questions relating to the Apache HTTP Server. Do not use this tag for questions about other Apache Foundation products. Note that server configuration questions are usually a better fit on https://serverfault.com
apache
90
questions
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 ...
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 ...
0
votes
0
answers
53
views
Perl CGI Fails with Permission Denied - AH01241: Error spawning CGI child [closed]
I have a Perl CGI script Test.cgi at /var/www/cgi-bin/Test.cgi. The content is simply:
#!/bin/perl -T
print "Content-type: text/html\n\n";
print "Hello, World.";
The issue is that ...
0
votes
0
answers
20
views
android application [closed]
i want to make an android application where the app first fetch the word file and after that we edit the data in the application that the word file fetch and after we save it i dont how to do.
so the ...
10
votes
3
answers
958
views
403 Forbidden when URL contains GET with encoded question mark / UnsafeAllow3F / rawurlencode
Since yesterday when our Apache updated himself at night we started to get websites saying 403 Forbidden.
It looks like that encoding the "?" is not anymore allowed. The crazy thing is that ...
0
votes
0
answers
12
views
Unsupported methods should written 403
For the URL https://localhost:9443
or as shown in image
Methods which arw not allowed should return 403.
Added this in my web.xml
<security-constraint>
<web-resource-collection>
<web-...
0
votes
1
answer
16
views
Can I have a custom apache module use different values for variables based upon Directory directives in the conf file?
I have a custom apache module written in C. It's job is to take the information from the api and send it to a server listening on a specific host/port and return the resulting json. I set the host/...
1
vote
0
answers
65
views
Multiple requests being made from a single click
There is a duplicate request issue that affects staff members at our company. I am unable to replicate it in our development environment (or in production for that matter, but I work from home so ...
1
vote
0
answers
68
views
Configuring Delphi MVC Framework as DLL for Apache
I am having issues configuring my Delphi project as .dll library for Apache webserver.
I am using Delphi MVC Framework component for Delphi 12.0.
I am able to generate .dll and configure Apache to use ...
0
votes
0
answers
12
views
ReactJS App Resources Not Loading Correctly When Accessed Via Link in Another App
I have two websites, both developed with ReactJS. Let's call them "homepage" and "samplecompanysite01".
I built the "homepage" site and copied its files into /opt/lampp/...
0
votes
1
answer
36
views
Custom 500 page not shown in apache docker
I am trying to use php/apache in docker and I want to have a custom 500 page. I am trying it out on localhost and it never shows the page.
Dockerfile
FROM php:7.4-apache
COPY . /var/www/html/
COPY php....
0
votes
1
answer
39
views
Laravel project inside a legacy one
I'm trying to make a laravel project work inside a legacy site while we work on modernizing the entire code base. I've been able to make it work in my dev computer using valet creating a custom valet ...
0
votes
0
answers
16
views
How do I use .htaccess to redirect a page only when it has a particular query string?
I want to setup a redirect for a page on my e-commerce site, which relies on query strings to display pages. I want to point a particular brand page to a new URL. Currently, the URL is:
https://...
-3
votes
0
answers
26
views
How to disable Status code 301 Redirect when PHP application running in xampp localhost [closed]
I installed Xampp (version 5.6.31) on my window. When I run my empty application folder (there are no files in this folder) on localhost (like https://localhost/schemes_Dashboard3) and see it in the ...
0
votes
0
answers
24
views
Using apache proxy to Next.js app running in Docker container
I'm sure there's a simple answer to this... I've got a Next.js v14 app running in a container which is exposed on port 6502. I can reach it using http://localhost:6502 and everything works. Now I want ...