All Questions
27,294
questions
0
votes
1
answer
26
views
Run docker compose build --no-cache return error unix:///.supervisor.sock no such file
Im trying to buld a docker img with php8 and apache, but when restart apache in the line RUN service apache2 restart, return this error , this is dockerfile:
FROM webdevops/php-apache:8.2
# we need ...
1
vote
2
answers
80
views
Cannot Access Laravel Public Folder in Live Ubuntu Server
Problem:
I can't access all file in public folder, but when i'm in index.php there is no problem.
I've just provide my index.php screenshot, there is some asset(image,css,js) that's not loaded, when ...
0
votes
0
answers
20
views
httpd rewrite causing 404 loop
I have taken over an older project that is using Toro to serve routes in a PHP project, and I am having a hard time understanding exactly what it's doing. I believe my issue is in my apache mod ...
1
vote
0
answers
87
views
Images Not Displaying in PHP Application - Path and Permissions Issue
I'm working on a PHP web application and having trouble displaying images in my admin dashboard. The images are stored in the directory /var/www/html/online_shop/public/photo_product, but they are not ...
1
vote
1
answer
45
views
Php Content-Length header not send
I'm facing an issue since few days with my download file feature.
Content-Length is not set anymore and my XMLHttpRequest progress event function doesn't get lengthComputable correctly. My apache ...
-2
votes
1
answer
46
views
Problem with .htaccess redirection to my API
I have a WordPress site in which I develop a plugin. Inside this plugin, I developed a API.
In my local environment, my URL to access my site is http://localhost:81/site. I'd like requests made to ...
0
votes
1
answer
45
views
How to redirect in htaccess without blocking php api?
I have an index.php file which is located in the root directory. This outputs either HTML or JSON, depending on the URL:
<?php
require_once('./../private/Router.php');
new Router();
?>
&...
-2
votes
0
answers
28
views
Mac OS apache and php inconsistency issues, PHP unable to see or read directory
When I added this code to the apache vHost conf, the browser stopped "seeing" php files and simply says 404. The file exists and worked before.
When I try to revert the file and folder ...
0
votes
0
answers
11
views
How can I run Spatialite in XAMPP
I have downloaded the files from https://www.gaia-gis.it/gaia-sins/windows-bin-amd64/ and moved the dll files to C:\\xampp\apache\bin and added extension=mod_spatialite.dll to the php.ini file. This ...
12
votes
6
answers
2k
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 ...
1
vote
0
answers
67
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 ...
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
2
answers
50
views
Post raw HTML data via AJAX to server with ModSecurity
I have a website that uses jQuery ajax $.post to save html data to a PHP script.
The data for $.post is serialized textarea form data (where the user edits css, javascript & html).
All works well ...
0
votes
1
answer
23
views
ubuntu apache default page appears on some devices
I have completed a server move of an application (ILIAS which is a learning management system). I have changed the A Record. The application is displayed normally on most end devices. On some, ...
0
votes
1
answer
88
views
How to enable PHP on OS X Sonoma?
I have a new Mac Studio running OS X 14.5 Sonoma. I am trying to configure my Apache2 server to run PHP.
Following suggestions found in various web pages I've done the following...
I've modified /etc/...