We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
rewrite in .htaccess has no effect
rewrite in .htaccess has no effect
I have this in a .htaccess file
So that visitors trying to access that site using https are redirected to http.
However, it seems to be ignored OR Vesta (using nginx as a proxy with Apache) is intercepting the https and redirecting it elsewhere.
Any https request for a non https site ends up on my first https domain :/
for example, lets say I have 2 domains, nonsecure.net and secure.net
nonsecure.net has no https. secure.net has https.
If i try https://nonseure.net the webpage returned is actually the site under https://secure.net...
Code: Select all
RewriteCond %{ENV:HTTPS} !1
RewriteRule ^(.*)$ https://%{HTTP_HOST}/%1
However, it seems to be ignored OR Vesta (using nginx as a proxy with Apache) is intercepting the https and redirecting it elsewhere.
Any https request for a non https site ends up on my first https domain :/
for example, lets say I have 2 domains, nonsecure.net and secure.net
nonsecure.net has no https. secure.net has https.
If i try https://nonseure.net the webpage returned is actually the site under https://secure.net...
Re: rewrite in .htaccess has no effect
Ensure you have this line in your httpd.conf:
AllowOverride controls what directives may be placed in .htaccess files.
In order to test whether .htaccess is enabled or not, insert some junk text in it and see if it generated a 500 internal error or not.
Code: Select all
AllowOverride All
In order to test whether .htaccess is enabled or not, insert some junk text in it and see if it generated a 500 internal error or not.