I'm happy to join you in this laragon project and quit wamp. I'm very impressed of the ease to use Laragon and I want to continue to use this. So thank you so much for this tools !
I come to you because I have a problem with this tools (no problem is no funny).
In my projet, I have a redirection SSL in htaccess. It's work in wamp and in production server but not with laragon :
I see this post that looks like my problem : https://forum.laragon.org/topic/1358/laragon-apache-htaccess-is-being-ignored
I have apache 2.4 (httpd-2.4.46-win32-VS16) and in httpd.conf file I change AllowOverride ("AllowOverride All") in line 273. I reload laragon but problem is still there.
So can you help me to fix this problem please ?
@pierre-wac : Did you try other version of Apache?
Yes I try with httpd-2.4.35-win64-VC15 and httpd-2.4.46-win32-VS16. I must try with another ?
If I write "test" to the top of my file .htaccess, I don't have an error. So th.htaccess is not call.
@pierre-wac : Can you check if httpd.conf has this line:
@leokhoa Before there was "AllowOverride None", but I change this by "AllowOverride All" in <Directory "C:/laragon/www">XXX</Directory>.
I restart Apache but I don't have any change.
@pierre-wac : That's the issue. Please find all
AllowOverride Noneand change them to
AllowOverride All. Restart your computer if necessary.
I restart all and .htaccess is launch because when I write "test" on the top of the file, I have an error.
So thanks for this point. But I still have a problem.
My SSL redirection doesn't work. I don't understand because it's work in production server :
If in my htaccess I write "RewriteRule ^(.*)$ https://google.fr [R=301,L]", I have the same problem
In my httpd.conf, this line is uncommented :
LoadModule rewrite_module modules/mod_rewrite.so