New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
【.htaccess】【proxy】Could not rewrite to subfolder
Hi everyone,
I'm not good at .htaccess and I've recently created a website in a docker and I've already successfully redirect it to mydomain.tld. The problem is, I want it to be in the subfolder, just like: mydomain.tld/subfolder.
My current htaccess file:
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
REWRITERULE ^(.*)$ http://dockerghostblog/$1 [P]
Thanks
Comments
are you using nginx ?
OpenLiteSpeed
did you google?
I did, I've tried, not working