Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
23 views

Can't get Django-CMS to work with Apache and mod_wsgi

I am trying to get django-cms to run with apache wsgi. I am using Python 3.12 and the latest version of all software (a fresh bare metal install of ubuntu 24.04). Django-cms runs with runserver. My ...
user1045680's user avatar
0 votes
1 answer
28 views

apache2.4 + rsyslog sending logs to the remote server + unnecessary systemd logging

I have a following configuration in my Apache2.4 environment (Debian OS): CustomLog "|/usr/bin/logger -t S06_access_log -p local6.info" combined ErrorLog "|/usr/bin/logger -t ...
Markus's user avatar
  • 31
0 votes
0 answers
4 views

Apache2 - Cache-Control configured twice

I have tested an Apache2 with testssl and was informed that Cache-Control should be configured twice. I was able to confirm the same in another test. It is an Apache2 2.4 On the one hand, the old ...
deleted's user avatar
0 votes
0 answers
11 views

Apache/2.4.60 (Unix) - competing location Matches

I need to define two seperate locationMatches in apache, where the first location captures a subset of the second location. However, it is crucial that once the first location match applies, the ...
Lokomotywa's user avatar
  • 2,824
1 vote
1 answer
54 views

How to Allow Access to Only Specific URLs and Rewrite Them Using Apache .htaccess?

I'm working with Apache and want to use .htaccess to achieve the following: Rewrite /api/get to get.php Rewrite /api/report to report.php Only allow access to these URLs/scripts Essentially, I want ...
Pre1l's user avatar
  • 13
0 votes
0 answers
21 views

Restrict access to single IP for directory within DigitalOcean Droplet

I'm trying to restrict access to a particular directory within my DigitalOcean Droplet and I'm unsure how to get it working. I've never had to do anything like this before so I'm googling all options ...
Jo H's user avatar
  • 1,096
0 votes
0 answers
13 views

RewriteRule with multiple subdirectories in Apache 2.4

Here is the translation: I have a server that hosts an Angular application and a PHP API within it. However, within my application, I have directories for the application's localization, and inside ...
Tom's user avatar
  • 749
0 votes
0 answers
15 views

Apache 2.2 Sever was fetching the required data to show the results from a shared folder. After upgrade to Apache 2.4 is complaining of UNC path

Using Apache 2.2 Server, I have an html page which is fetching the results from the shared folder and display the same. For vulnerability issues, Started using Apache 2.4.62. The upgraded apache was ...
Krishna M.G.'s user avatar
0 votes
2 answers
37 views

Apache2.4 LDAP authentication suddenly not working

We have a web interface that configures through API calls a load balancer cluster. That web interface makes use of three (python) scripts. The first script displays the current settings of the load ...
dehulst's user avatar
  • 45
2 votes
1 answer
48 views

.htaccess 404 error not working while accessing file without extension

example.com/home.php <-- file available and Working without .php extension example.com/home <-- Working example.com/home1.php <-- File not exist showing 404 error mentioned in htaccess ...
Pranav Mankar's user avatar
0 votes
0 answers
39 views

Apache config return IPV6 instead of IPV4

htaccess file looks like this because I only want to give access to authorized ip ranges: #ErrorDocument 403 "Sorry ! You are not authorized to access this page" <IfModule mod_rewrite.c&...
ss10's user avatar
  • 101
0 votes
1 answer
48 views

Compare two backreferences in RewriteCond

This is the old URI pattern /release-(\w+)/(\w+)/(.*), where first and second regex pattern are always the same, with the following examples: /release-foo/foo/(.*) /release-bar/bar/(.*) etc They are ...
Khosrow's user avatar
  • 566
0 votes
0 answers
166 views

why am I getting: Error reading from remote server returned by /examples/

I am trying to configure Tomcat to work with Apache2 in a Ubuntu Server 24.04. I managed so far to install correctly Apache2: Apache/2.4.58 (Ubuntu) and Tomcat: Apache Tomcat/10.1.24. Both run fine - ...
carl's user avatar
  • 396
0 votes
0 answers
18 views

Laravel + Apache 2.4 Setup Issue: Route Prefix Causing Resource Access Problems

I'm encountering an issue with my Laravel deployment on an Apache 2.4 server running on Windows Server 2019. Here's the setup: Issue: I have deployed my Laravel application on an Apache 2.4 server, ...
Muhammad Syahmi Abdul Jalil's user avatar
0 votes
0 answers
17 views

Does Apache cache virtual host files

I have a subdomain virtual host <VirtualHost *:80> ServerAdmin [email protected] ServerName demo.mydomain.com ServerAlias www.demo.mydomain.com DocumentRoot /var/www/html/dev/...
nick coder's user avatar
0 votes
0 answers
51 views

Blacklisting and whitelisting with Apache 2.4 authorization containers

I'm have a setup where I need block a few IPs and user agents as well as completely whitelist a few other IPs and URLs, regardless of what is blacklisted. My old configuration with Apache 2.2 ...
Gene Vincent's user avatar
  • 5,451
0 votes
0 answers
25 views

Expo Web Auth Session (Azure AD) Not working when deployed via Apache 2.4

I have a Expo Web project, which uses Expo AuthSession to facilitate authentication with Azure AD. This is working locally, via localhost:8081 as expected. I click on a Login button, it opens a ...
ISDr's user avatar
  • 229
0 votes
0 answers
110 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
1 answer
63 views

Apache 2.4 can't serve static content from Apache Web Server

I configured Apache web server and Tomcat.And ı have static folder that contain with in Tomcat webapps folder.The css file that in static folder changes my webpage login screen color. When ı try to ...
cbuyuk's user avatar
  • 1
0 votes
1 answer
188 views

How to handle urls correctly with a reverse proxy (.net core views/home/* location 404 error)

I am currently using PHP web service on this domain. (ex) www.mydomain.com I am also making an English site and making it .net core web service, but I am planning to replace it with .net core instead ...
manseaza's user avatar
0 votes
1 answer
107 views

Site throws ERR_SSL_PROTOCOL_ERROR [closed]

I found a lot of similar questions, but no solution works here. https://pmadmin.qno.de/index.html:443 shows in the browser: Diese Website kann keine sichere Verbindung bereitstellen pmadmin.qno.de hat ...
Christian H. Kuhn's user avatar
3 votes
0 answers
301 views

How do I get the Apache2 PHP 8.3 error logs to be one line per error_log() function call as it used to be in previous versions?

How do I get the Apache2 PHP 8.3 error logs to be one line per error_log() function call as it used to be in previous versions? Environment: Ubuntu 22.04.4 Apache/2.4.54 (Ubuntu) (/usr/sbin/apache2) ...
Jambu Atchison's user avatar
0 votes
0 answers
30 views

apr_crypto_shutdown error restarting apache, attempting to update OpenSSL for website

Issue: I am working on my Raspberry Pi for a home lab project. When I run curl on my website, it shows the old OpenSSL version still: Server: Apache/2.4.58 (Unix) OpenSSL/3.0.11. Yet, I see I have 3.2....
GruntCoder's user avatar
1 vote
1 answer
77 views

Why does Directory work with RewriteRule, but DirectoryMatch fail?

The DirectoryMatch directive generally works fine for me. However, when combined with RewriteRule, it can fail. And I don't understand why. Now, I'm not asking for a workaround which would avoid the ...
MarkDBlackwell's user avatar
0 votes
1 answer
265 views

Get localhost to load website in directory not in /var/www/html

I am not an experienced Apache coder/developer. I've edited .conf files before, but it's been a minute or several. I have Apache/2.4.52 on my Ubuntu 22.04 machine. For what it's worth, I use PHP8.1.2 ...
John Cowan's user avatar
  • 1,654
1 vote
0 answers
245 views

Cannot load C:/server/php/php-8.2.13/php8apache2_4.dll into server: The specified module could not be found

I am trying to install apache 2.4.58 with php 8.2.13 version. Below are steps I have done for installtion Extracted apache 2.4.58 from https://www.apachelounge.com/download/ Extracted php 8.2.13(tar....
Amruta Ranade's user avatar
3 votes
2 answers
208 views

Custom 503 messages based on conditions in .htaccess

Okay - the logic of my brain is far from the logic of how code in a .htaccess file gets processed... to bad as it get frustrating sometimes when you try to achieve something "logical". I ...
golabs's user avatar
  • 331
1 vote
1 answer
151 views

Rewrite Rule not working within <If>-block in .htaccess on Apache 2.4

I'm lost. My Rewrite Rule does work fine till the moment that I place it within an <If>-block. When I search here for answers, via google, and via ChatGPT, I do get a mixed image of whether this ...
golabs's user avatar
  • 331
0 votes
1 answer
88 views

Nginx map conversion to Apache2

I'm struggling to find an answer, is it possible de convert an Nginx map like below to Apache2 (2.4) equivalent ? server { [...] location ~* ^(/_matrix|/_synapse) { proxy_pass http://$...
Aurélien Grimpard's user avatar
0 votes
0 answers
169 views

Getting apache2 303 error while installing Moodle

I try installing Moodle 3.11 on Alt Linux. I run install.php, configure the DB configs, and get 303 error from apache2 access_log. Apache2 access_log screenshot. The DB on the other virtual machine, ...
Keima's user avatar
  • 1
-1 votes
1 answer
79 views

PHP file won't upload large file

I have a php file upload script that our company uses to upload files to an imaging server. Most of those files are PDFs, TIF, and sometimes image files. I am trying to upload a 16MB file using ...
Samuel Brown's user avatar
0 votes
2 answers
333 views

Apache - Some PNG images aren't showing

I have a web server with Apache that I use to show images. You can access those images directly through a URL, ex: image.com/ad.png. This works for 106 of our images but not for the last 4. The ones ...
Zeta's user avatar
  • 3
0 votes
1 answer
242 views

My apache 2.4 reverse proxy is crashing after running for sometime

I have a reverse proxy configuration on windows and it is running on apache 2.4. There are some configuration settings are done in apache but after sometime it stops reporting few servers and throws ...
Manas Dixit's user avatar
0 votes
1 answer
2k views

Apache 2.4 GeoIP Country Block Issue while using geoip/maxminddb modules

We recently migrated my Apache server from 2.2 to 2.4. We now trying to block traffic from specific countries using MaxMindDB and GeoIP. We have tried using the old geoip modules and configuration, as ...
Rushit Chandegara's user avatar
0 votes
0 answers
156 views

Apache 2.4 | Problem with @ in my UNIQUE_ID : ZJq5XcCoAcgAAGIGQ@gAAAAC

Recently I'm trying to match the security standards. So I'm using CSP lvl 3 which requires the use of a nonce. It works very well except sometimes in the UNIQUE_ID generated I have an @. As soon as it ...
David's user avatar
  • 3
0 votes
1 answer
80 views

Identify a code or url that consumes a lot memory in wordpress

I have wordpress 6.2.2 on my LAMP server with php-fpm. I want to identify a code or a url that consumes a lot of memory. How can identify this? I use watch 'ps -e --format="cmd sz %mem %cpu time&...
Tahina Ramahazomanana's user avatar
0 votes
0 answers
70 views

using PHP urldecode function not working: Trying to Display the URL Encoded String in Human Readable Presentation, which I Read from a File

my problem is PHP's built-in urldecode() function but I don't know why this is not working for me. I'm using: XAMPP Server API Apache 2.0 Handler Apache Version Apache/2.4.56 (Win64) OpenSSL/1....
Qazi Salman Ahmad's user avatar
-1 votes
1 answer
76 views

PHP apache2 LAMP After enabling mod php stopped working

PHP was working fine before enabling mods. I was trying to use rewrite mods. I enabled mods with- sudo a2enmod rewrite sudo systemctl restart apache2 Also restarted apache also restarted computer. ...
Rohit S's user avatar
  • 538
1 vote
1 answer
22 views

Why can't I see the list of .dem files in my /demo directory on Apache2 server?

I'm trying to link all .dem files inside /demo Alias /demo /home/reyz/server/cstrike <Directory "/home/reyz/server/cstrike"> Options Indexes <FilesMatch "\.dem$"&...
ReyZ's user avatar
  • 11
1 vote
0 answers
60 views

Apache 2.4.6 redirect some pages to new domain, some pages served from original server

I have followed every link I can find on google on how to do this I am in the process of moving my domain, I have a couple of links out there that I need to redirect, some can stay on the server ...
James Connigan's user avatar
0 votes
1 answer
48 views

How to set sha1 hash in cookie on redirect?

I need to set a sha1 hash in a cookie on redirect that I can check on every further request. As far as I can see I can only set a Cookie on redirect with a RewriteRule: RewriteRule ^(needCheck)$ /...
hf409's user avatar
  • 1
0 votes
2 answers
515 views

Only allow Apache 2.4 directory access from php script only- How?

I have a Windows Apache Webserver that has a mapped drive to my Linux imaging server. The Linux imaging has a directory that stores pdf files in a certain directory that we access via a PHP script. ...
Samuel Brown's user avatar
0 votes
0 answers
879 views

PHP can't find php.ini configuration file

I am running a webserver with Apache2.4 and have added the following lines in the httpd configuration file to setup php with Apache: # PHP8 module PHPIniDir "c:/php" LoadModule php_module &...
Lmabear's user avatar
0 votes
2 answers
580 views

Jupyter Docker Image Kernel Disconnected 400 Apache Proxy

I have a Jupiter notebook running on an Ubuntu server in AWS. docker run -d -p 8880:8888 jupyter/all-spark-notebook I am able to see the web interface just fine, and I've bashed into the container ...
Adam Winter's user avatar
  • 1,894
0 votes
0 answers
153 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
  • 740
0 votes
0 answers
69 views

why Apache returns 200ok for malformed app response like b'404 NOT FOUND'

I have a sample python app running as docker container and configured with apache2.4 and openssl (python-server.py): PORT_NUMBER = 80 class myHandler(BaseHTTPRequestHandler): def do_GET(self): ...
Shashank Hirematt's user avatar
1 vote
0 answers
1k views

Symfony - prod server : polyfill-mbstring/bootstrap.php): Failed to open stream: Permission denied

I'm trying to deploy my symfony 6.2 project on my prod server with apache2. My prod server already have older symfony projects, so i use ondrej php and installed php8.2 and mods. Server version: ...
mysterty's user avatar
2 votes
2 answers
949 views

How to prevent cloudflare from setting "x-content-type-options: nosniff"?

According to cloudflare docs this header is configured in the HSTS settings, but I have HSTS disabled. I tried enabling HSTS and specifically deactivating the x-content-type-options header but the ...
ccpizza's user avatar
  • 31.4k
1 vote
1 answer
473 views

Apache issue? Default WordPress .htaccess rewrites causes redirect to the AlmaLinux (9.1) default page

I could really do with some help here please. I think this is an Apache issue rather than a WordPress issue. If I allow .htaccess to process rewrites on my Wordpress sites by adding AllowOverride ...
J O's user avatar
  • 11
1 vote
1 answer
63 views

block ip via htaccess require all denied not working at public_html

I have a file structure that look like this: /public_html .htaccess index.php /country index.php /item index.php in .htaccess: <RequireAll> Require all denied Require ip 123.456....
beavis11111's user avatar

1
2 3 4 5
19