91,699 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-3
votes
0
answers
50
views
Windows Apache Server access issue [closed]
Ok I hope I can explain this. I have 6 windows webservers all working in a round robin setup for our company's internal users. All six are running the same versions of Apache (2.4.65) and php (5.5....
1
vote
1
answer
64
views
How to implement a strict Content Security Policy with nonce using Apache and Angular (20.3) SSR?
I have spent the entire morning trying to implement a strict Content Security Policy (CSP) using nonces with Apache and Angular 20.3 SSR.
On the Apache side, I am able to generate a nonce correctly ...
0
votes
0
answers
57
views
Varnish Error 503 VCL failed when url path ends with %
My website gives a Error 503 VCL failed when url ends with %
I have tried to disable cache, and also tried redirect, in .htaccess but without success.
Here's my current .htaccess-configuration:
<...
0
votes
1
answer
64
views
How to get Apache to rewrite to a static version of my PHP/HTML file?
I put the following in my .htaccess file:
RewriteCond %{DOCUMENT_ROOT}/index.html.static -f
RewriteRule ^index.html$ /index.html.static
But no joy. If I comment out the first line - the condition - ...
0
votes
0
answers
85
views
Apache 2 php-fpm on LMDE 7, local environment throws error "Permission denied: AH02454: FCGI: attempt to connect to Unix domain socket" (PHP 8.4)
Recently I installed Linux Mint Debian Edition 7 over my old Debian 11. So far a good choice for me, but I can’t get my local dev environment to work again.
What I want to achieve:
A local webserver ...
0
votes
1
answer
109
views
502 error with NGINX and Cloudflare - 2 servers [closed]
I've tried much of the advice I've found on here, and it hasn't worked so far.
Here's my network flow:
HTTPS -> Cloudflare -> NGINX (server 1) -> Apache (server 2) -> WordPress
Here are my ...
1
vote
1
answer
95
views
How can I make WordPress handle .php URLs instead of returning a 404 error?
I have a WordPress website hosted on a server (Apache or Nginx). I am facing an issue where .php URLs (e.g., https://example.com/page/test.php) return a 404 error page from the hosting server, not the ...
Advice
1
vote
8
replies
65
views
Changes to the XAMPP httpd main server config file to alter home path for PHP files
I'm not sure if this is possible or not, but I would like to use the same files locally in XAMPP that I use for a shared hosting account without changing the local files themselves. I have it working ...
3
votes
0
answers
115
views
Numpy importing error in mod_wsgi app on Fedora 43
I'm getting an error when importing numpy from an Apache mod_wsgi application on Fedora 43 and 42. It does not happen in Rocky Linux 9, the production server.
app.wsgi:
import sys
sys.path.insert(0, '/...
0
votes
1
answer
128
views
Cannot run my PHP Apache PHP-FPM website locally on MacOS because of weird ObjectiveC error: objc[1495]: +[NSPlaceholderString initialize]
This issue recently popped up after a macOS update probably Tahoe 26 but when I try to request a page of my website that uses Homebrew Apache PHP-FPM Memcached with PostgreSQL and PHP 8.4 files on OSX ...
Best practices
0
votes
2
replies
63
views
How to install SSL for your domain by XAMPP on windows machine
You will got these files by your ssl provider :
certificate.crt
server.key
ca_bundle.crt
Configuration SSL by xampp server in windows servers.
SSLCertificateKeyFile : "F:/xampp/apache/conf/ssl....
0
votes
1
answer
35
views
apache auth-kerb and a user list to allow doesnt work
I guess the solution is quite easy, but I just dont see the point:
We had a kerb auth working, but s'one destroyed it quite a while ago.
Now I dont get it working again:
kerb authentication works and ...
0
votes
0
answers
93
views
Weird behavior, htaccess work in both ways?
Request https://example.com/ , htacces file :
RewriteEngine On
RewriteRule ^$ /one
RewriteRule ^/one /two [R]
result I get https://example.com/two, remove the slash in the second RewriteRule
...
Best practices
0
votes
0
replies
36
views
Apache mpm_event + SSL: Now more performant than mpm_worker?
The last time I had to choose between using mpm_worker and mpm_event, it was my understanding that mpm_event was functionally equivalent to just using mpm_worker if SSL was enabled and so it couldn't ...
-2
votes
1
answer
86
views
CORS Error: "Access-Control-Allow-Origin does not match ‘http://localhost:5173’" [duplicate]
I'm getting a CORS error when trying to fetch data from my local PHP backend:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://localhost/login.php.
...