Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
htacces.dit or htaccess?
Aldebaron
New
hello, I am with a problem of much redirection.
In my original server, I have allready a htaccess file in my root and decompress vanilla264 I have a htaccess.dist file.
I have two files that are next to each other.
Besides, I have trouble configuring the https redirection.
Question to make htaccess files and htaccess.dist?
How to configure https redirection?
Thanks for your help.
0
Comments
The .dist file is the one that comes with the package. I've always had to edit these to be honest in my environment. I believe they are environmentally specific. The idea however is just to rename that file to .htaccess. However, you may have to compare the two and cherry pick.
Regarding https redirection... google is your friend. ;-)
Thank you for your answer, I have an original file of the server htaccess. I'll have to erase it.
htaccess.dist that comes from the package.Did i to rename it?
htaccess.dist rename to htaccess?
thank
Best regards
rename to ".htaccess" (with the dot)
If you already have an existing .htaccess file keep that and don't care about that htaccess.dist
thank you very much for your answer so the htaccess.dist do not matter too much?
If I ask this question. It's just for a security issue.
The htaccess server, I called my provider who told me that I can erase his htaccess.
So if you had the choice. Would you prefer the modified htaccess.dist in htaccess vanilla package?
Thank you for helping a beginner like me
best regards
You may have to create a .htaccess file from both files. You could post the contents of the original (non .dist) file here between
```
characters here if you'd like us to help decide.So I will transform the htaccess.dist racine file to >> htaccess
Best regards
Original
If you modify this file then change the above line to: # Modified
RewriteEngine On
Header set Cache-Control "max-age=315360000"
Header set Expires "31 December 2037 23:59:59 GMT"