I run several small websites using named virtual hosts, with Apache/mod_php. After moving to a new machine last week, I discovered that Apache/PHP-FPM had been
I'm trying to find a solution for changing root to default to subdirectory_1, but when where is no file/directory inside subdirectory_1, redirect all request to
RewriteCond %{REQUEST_URI} !^/assets/pub/pdf-docs/.*$ [NC] I need all the pdf files in the assets/pub/pdf-docs folder to have a self referencing canonical http
I have 2 domains in the same hosting, inside the folder public_html stay the folders and the index.php from the domain principal and inside the public_html have
Hey all for my website I require some .htaccess settings. Some for php and some to redirect to https from http. I don't know if they are in the right order, wil
I searched a lot of about this topic to redirect all urls to https://my-domain I want delete the www and add https. I found a lot of answers this one work good
I wish you all a good day and a nice start in the Weekend :) I set the next Headers in htaccess-file: # Security Headers <IfModule mod_headers.c> -
I am trying to make all URLS end with trailing slash on my wordpress site. I tried both these rules in htaccess: #Trailing slash RewriteEngine On RewriteCond %{
I am hosting a React application inside the public directory of a Laravel app where: /public_html/ app bootstrap config
please tell me what can I do to protect my .htaccess file ? Recently I was hacked and I noticed that I can navigate into different place of my wp-admin (Posts,
I have a problem which I'm trying to solve nor for hours. So in my root director i have a folder called plugins with some files in it. The important ones are pl
I have a wordpress site that features a .htaccess and a file called postfs.php. But when I try to delete them, they are written again. I tried
"Pretty links" is an often requested topic, but it is rarely fully explained. mod_rewrite is one way to make "pretty links", but it's complex and its syntax is
I want to check if the URL has control character code like 0x00,0x01..0x1f and 0x7f example.com/test.php?status0x01Http../ If it has need to redirect to 404 pa
we having problems with our subdomains after installing a new website on our main adress. our main adres: https://vlinderdreef.be Our subdomains: https://ouderc
Is there a simple and reliable way to block certain countries using .htaccess? Simple means no IP range block lists - they need to be updated once in a while a
the config file in the Apache site has these lines: <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/html/public/ <
I have a react application deployed successfully to a S3 bucket. I need to find a way to password protect access to the s3 url, for example if you open the url
I've been trying to 410 a pattern of a few thousands toxics URLS that got indexed by Google for one of my clients. I want every urls of the website that contain
I need to access service running at domain (example.com) from two different apps running at different ports of localhost but getting CORS error. PageURL accesse