Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


【.htaccess】【proxy】Could not rewrite to subfolder
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.

【.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

Sign In or Register to comment.