Questions tagged [apache-2.4]

Version 2.4 of the Apache HTTPd Server. When asking questions about virtualhosts, please include the output of the following command: "apache2ctl -S" (or "httpd -S" depending on your OS)

Filter by
Sorted by
Tagged with
0 votes
0 answers
67 views

Apache 2.4 Can't Header Unset mod_session_dbd Set-Cookie

Apache 2.4, using mod_session{,_dbd,_crypto}. Something (SessionDBDCookieName?) adds Set-Cookie to most/all responses. I can Header (always) unset in LocationMatch, to remove Set-Cookie on anything ...
robut's user avatar
  • 111
0 votes
0 answers
217 views

Apache SSL not working - server took too long to respond

I am trying to get Apache (2.4.41, Ubuntu) to work with SSL and am not having luck. Whenever I visit the site in my browser, I get the error "This site can't be reached: my-domain took too long ...
Jeff's user avatar
  • 135
0 votes
0 answers
78 views

Purchase a ssl cert for a domain without a webserver

My company has a legacy web application where there is a link to help documents. The link is https://help.example.com. The Apache server for the domain https://www.example.com decommissioned so only ...
BioRod's user avatar
  • 303
0 votes
1 answer
120 views

apache "Options Indexes" working localhost but not with public DNS name

I have a Kubernetes cluster and a very basic container. I am trying to access it through the internet and the task is very simple, I just need to list the index of the directory. Here is my basic ...
Yousuf's user avatar
  • 35
0 votes
0 answers
23 views

Log data of http status 200 in user directory with Apache2.4

I want to log http status 200 data in my user directory with Apache2.4. the current SetEnvIf Request_URI "~data” ssl_datalog nolog CustomLog ${APACHE_LOG_DIR}/ssl_data_log combined env= ...
kumanote's user avatar
0 votes
0 answers
30 views

Tx-Variable does not increment in modSecure

I use Apache2.4 and mod_security 2. SecRuleEngine On SecRule REQUEST_METHOD "@streq put" "id:12345,phase:1,pass,log,t:lowercase,chain,logdata:'TX:PUT_COUNT=%{tx.put_count}'" ...
Paflow's user avatar
  • 187
0 votes
0 answers
111 views

Best practices to configure multiple websites managed by multiple users on Apache

I am setting up a RedHat server with an Apache service to host multiple Wordpress websites. We work with a few different companies which develop those websites. I'm having trouble with the access ...
Lord Pou's user avatar
0 votes
0 answers
103 views

Block access to xmlrpc symlink file with htaccess

I have a WordPress site I am versioning with the help of symbolic links on an Apache/2.4.52 (Ubuntu) server with Nginx as a reverse proxy. The directory structure is as follows: example.com wp-admin ...
dctech's user avatar
  • 1
0 votes
0 answers
28 views

Restrict location to just one IP in vhosts not working

I am trying to restrict the access to a specific location for just one IP address in the vhosts file but for some reason it is not working. This for apache 2.4.29. Here is my vhosts file: <IfModule ...
BradG's user avatar
  • 101
0 votes
1 answer
809 views

Forwarding apache logs from k8s Pod to Syslog server

I am new to Kubernetes, I know there are multiple ways to log collection. but I am specifically asking about my scenario. we have a Syslog xyz.com port 8090. now we want our pods to send logs to our ...
Yousuf's user avatar
  • 35
1 vote
1 answer
96 views

httpd redirect one port number to another

We are trying to redirect requests on port 8555 to port 8443. In our httpd.conf file, we have the following: <VirtualHost *:8555> SSLEngine on # SSL configuration that is irrelevant to this ...
user1207177's user avatar
0 votes
0 answers
287 views

Apache Redirect HTTP To HTTPS Not Working

I am trying to force redirecting all HTTP traffic to HTTPS using my httpd.conf file on my Apache server. Expected behaviour: When users visit http://example.com, they should get redirected to https://...
gakshat's user avatar
  • 11
0 votes
0 answers
31 views

Apache Custom Error Log Entry

I have a rule in my Apache config like this: <FilesMatch "xyz"> Order deny,allow Deny from all ErrorDocument 403 "Custom Response" </FilesMatch> In the error log it ...
But those new buttons though..'s user avatar
0 votes
0 answers
223 views

Running Next.JS app on Apache VPS server, can't get HTTPS to work

I have a Next.JS app running on a VPS server on port 1234. I have reversed proxied it via the Apache include for the subdomain with the following lines: SSLProxyEngine on ProxyPass /.well-known ! ...
Brady Gunn's user avatar
0 votes
1 answer
41 views

Apache HTTP Server - 2.4.5* / Is it Possible to Use Cluster Scenario for WebLogic Server Installed On 2 Different Machines Using Apache HTTP Server?

There are 2 different scenarios. Scenario-1: Let's assume that WebLogic is installed on 2 different servers. Server IPs: 192.168.0.111 and 192.168.0.112. These servers are not clustered (ie each ...
rndm_acct1's user avatar
1 vote
1 answer
313 views

Reverse-Proxy login page not works on Apache2

I'm trying to setup a reverse-proxy on a debian11 with apache2 and it works but when you access the serveur on background by the reverse at the beginning you arrive on a login page in the application ...
Madjid's user avatar
  • 11
0 votes
0 answers
285 views

Kubernetes apache pod keeps restarting

So I'm really new to kubernetes and I'm having this problem where the pods keep restarting. I've googled around a bit but not coming up with much help. All I have is a simple apache deployment, ...
Ashley's user avatar
  • 1
1 vote
1 answer
175 views

Apache Server Error After Setting Up SSL Configs

I am running an EC2 Linux 2 AMI and was following an AWS tutorial to enable HTTPS on my server. But when I try to restart Apache, error seen in the logs: Apr 10 06:56:40 <maskediphere> systemd[1]...
gakshat's user avatar
  • 11
1 vote
1 answer
349 views

Local Apache TLS Proxy error on Reverse Proxy for local services

I'm struggle now for a longer time with the following issue: [gnutls:error] [pid 1878860] [remote 127.0.0.1:8282] ssl_engine_set: mod_proxy requested TLS proxy, but not enabled for piped.[CENSORED].de:...
Johnnii360's user avatar
0 votes
0 answers
884 views

How to determine why apache gracefully shut itself down?

I have apache httpd 2.4.6 running on RHEL 7.9 Yesterday the service was shut down, and the only information I am getting from /etc/httpd/error_log-DATE is from the last line of the file: [mpm_prefork:...
demiglace's user avatar
  • 101
0 votes
2 answers
197 views

apache remove wget for better security

Im no expert at IT or apache but I have used linux for years. Ive done my best to harden/secure my server online which I use for a mobile app which needs to serve up its content etc. Ive noticed some ...
Tim's user avatar
  • 203
0 votes
0 answers
226 views

unable to find django error when running django app through apache2

I am trying to get a django app running on a apache2 server both on a raspberry pi for a project of mine. The appache server is running but I can't pull up the web page as I just get an "Internal ...
907VigiL's user avatar
0 votes
0 answers
100 views

Apache 2.4 ErrorDocument 401 breaks basic authentification

I got an issue with the basic authentication, when I add ErrorDocument 401 /var/www/rainbow/static/401.html you can click on cancel on auth prompt and you got access without auth 😫. Here is my site ...
Eloïse's user avatar
0 votes
0 answers
290 views

Board cannot download a specific file from Apache HTTP server

In my company, I have to program boards that run on embedded Linux. We have a test sequence that opens an HTTP Apache server on port 80. It hosts 7 files that the board downloads. The board uses wget ...
Caenem's user avatar
  • 1
0 votes
0 answers
38 views

mod-security replace characters in POST body

I want to replace all the non-alphanumerical characters in the request body (not in the parameters themselves, but their values) with nothing using mod-security. For example: # Initial request param-1=...
Kavishka Gihan's user avatar
0 votes
0 answers
150 views

REQENV and SETIF If statement isn't evaluating correctly

....or it is and I've missed something. So I have a website that can only be accessed via certain IPs. A new development is that I want some of the pages on the site to be open and freely available to ...
Richard Askew's user avatar
0 votes
0 answers
283 views

Can't enable ssl on windows apache24

So, i've already sucessfully installed ssl certificates in apache virtual hosts (2 websites) but i'm unable to access them because every time I activate SSL in httpd.conf apache service wont start <...
totabank's user avatar
2 votes
1 answer
68 views

apache2.4 (debian11): access of /.htm or /.html sites lead to 403 (and not 404)

If I install apache2 on debian 11 and access one of the following urls: http://localhost/.htm http://localhost/.html I don't get the expected HTTP status-code 404, I get a HTTP-status code 403 instead!...
byteunit's user avatar
  • 123
0 votes
0 answers
157 views

reverse proxy between apache

I need to set up a reverse proxy between two Apaches. My setup looks like the following, but it's not working. <Location "/example/"> ProxyPass http://example.com/ ProxyPassReverse ...
Félix's user avatar
  • 1
0 votes
1 answer
65 views

How can I verify if file uploads are compressed?

I need to upload big files to a server (Debian 4.19, Apache 2.4, PHP) and want to make sure that compression is applied for the transport. Data is compressed from the server to clients but I cannot ...
chris_cm's user avatar
1 vote
0 answers
104 views

wordpress 403, forbidden on home page

I know numerous folks have asked similar question ... wordpress is in the root folder. I have restored a Wordpress site mtp and get a 403 error for the home page and also wp-admin. I can access the ...
Michael T's user avatar
  • 121
0 votes
0 answers
45 views

How to investigate apache server becoming unresponsive

I'm running a Debian 11 Server with an Apache 2.4.56 server that only serves to redirect URLs to a memos docker container and the element frontend of my matrix instancee. Unfortunately, the server ...
Shade's user avatar
  • 1
0 votes
0 answers
874 views

Apache/httpd not loading php-zts.so after PHP upgrade to 8

After an upgrade to PHP 8, I can only use non-threaded PHP instead of threaded (ZTS) PHP. The server is CentOS 7, running Apache. The Server API is Apache 2.0 Handler. I used Remi's RMP Repository ...
SMich's user avatar
  • 1
0 votes
0 answers
132 views

How to use Apache's mod_rewrite to change the HTTP version in a request?

I have an old system sending a POST to an old version of Apache(2.4.9) that is not sending the HTTP version. The old system has no issue but I want to update Apache to the latest. When I do, Apache ...
Scott Kirkpatrick's user avatar
0 votes
1 answer
354 views

Apache 2.4 AH00687: Negotiation: discovered file(s) matching request: (None could be negotiated)

Apache 2.4 on Windows 11, thus localhost. I'm running a Wordpress site and Apache serves all URLs correctly except for one. One URL 404s. The Apache error log contains this error: AH00687: ...
Karl's user avatar
  • 99
0 votes
1 answer
893 views

Apache2.4 returns 403/Forbidden error on symlinks after Ubuntu upgrade

I just upgraded my development workstation from Kubuntu 18.04 to Kubuntu 22.04.2 LTS. For context, I keep /home on a separate disk from /. The previous / is still present at /mnt/sdc5. Kubuntu 18.04 ...
Marty Vance's user avatar
1 vote
1 answer
160 views

Apache 2.4 expr - how to load a html file via RewriteRule?

On Apache 2.4, Having a bunch of mixed SEO friendly and dynamic URLs on an ecom site I want to implement a simple caching system for my blog posts and product pages. First I want to have md5(...
nikis's user avatar
  • 11
1 vote
1 answer
454 views

Default WordPress .htaccess rewrites causes default server page to load due to no default index page present for the root URL

I could really do with some help here please. I know this is a WordPress issue now through testing. If I allow .htaccess to process rewrites on my Wordpress sites by adding AllowOverride FileInfo to ...
J O's user avatar
  • 21
0 votes
1 answer
826 views

Enable TLSv1.1 on httpd 2.4.56 running on Docker

I am trying to modernize the infrastructure of a HTTP web service. I want to update the web server to something more recent and secure, but I have to maintain compatibility with some legacy devices in ...
Marco Benetti's user avatar
1 vote
1 answer
234 views

Restrict access to specific http_host with apache 2.4.x .htaccess

I'm wondering if anyone knows how to approach this predicament I am facing using .htaccess. I have a website that is accessible using 2 different domains. For one of the domains, I only want the ...
Jim Smith's user avatar
0 votes
2 answers
443 views

Need help troubleshooting Apache2 MPM Worker on Ubuntu, system keeps crashing?

I am on Ubuntu Server 22.04 using Apache2 2.4.56. I have PHP FPM 8.1 installed, and should be using MPM Worker enabled via module: a2query -m setenvif (enabled by maintainer script) dir (enabled by ...
surfrock66's user avatar
0 votes
1 answer
180 views

Does SuexecUserGroup work with Virtualhost in Apache 2.4

I'm trying to set up a virtualhost that uses CGI scripts that run as a particular user and group. I'm using the SuexecUserGroup directive, but that doesn't seem to work. Basic setup. User "Bob&...
Scott Anderson's user avatar
1 vote
0 answers
85 views

High RAM usage when providing large file on apache

I'm using Apache 2.4 on AlmaLinux 8. When I publicate a hundreds GB file and if someone starts downloading it, Apache RAM usage (especially VIRT) becomes bigger and bigger, starts swapping and ...
NON's user avatar
  • 23
0 votes
1 answer
178 views

Apache2 mod_autoindex IndexStyleSheet Directive not applying CSS within mod_userdir directories

I am using mod_userdir to share files using mod_autoindex to generate a directory index for people to browse and access them, and due to the retina burning nature of the default CSS I wish to rework ...
squirrel_killer-'s user avatar
0 votes
0 answers
144 views

RPMBUILD Apache with mod_ssl - Not seeing/using new version of openssl

I am having issues attempting to get Apache with mod_ssl to see/use the new version of openssl which is 3.1.0. In my httpd.spec file I have specified --with-ssl=/opt/openssl/openssl3.1.0. rpmbuild -ba ...
Hosting wiz's user avatar
1 vote
0 answers
140 views

SOAPUI What causes "error in msg parsing: xml was empty, didn't parse!"

Currently, I have a structure which takes a SOAP request, fires the request at a reverse proxy (a script written in Lua) which takes a copy of the SOAP request and then passes that to the webserver, ...
codinator's user avatar
0 votes
0 answers
177 views

Pass on SOAP request body through a reverse proxy

Im trying to implement a reverse proxy which takes in a SOAP request, saves the SOAP body message (Envelope, header, body etc.). I would then like to change some of the content of the SOAP request and ...
codinator's user avatar
0 votes
1 answer
910 views

Apache reverse proxy mTLS only between client and proxy, regular TLS between proxy and backends

am trying to create an apache reverse proxy (for webservices) where i need Imutual authentication (mTLS) between clients and the proxy itself, but i don't need mTLS between the proxy & the ...
olivierg's user avatar
  • 524
1 vote
1 answer
282 views

mod_rewrite rules on subdirectory not woring due to parent rules

My application lives in one directory and is served from a public folder, and I have an API endpoint in a sub-directory of public, both of which are redirected to their own respective index.php files. ...
oucil's user avatar
  • 587
0 votes
1 answer
275 views

Prevent Apache from showing first virtual host if domain does not exist?

Not sure when but WHM/cPanel and/or Apache have changed how they handle requests for domains that do not exist. Previously it would redirect to http://requested-domain.tld/cgi-sys/defaultwebpage.cgi ...
Gavin's user avatar
  • 101

1
3 4
5
6 7
120