Howdy, Stranger!

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

Try Vanilla Forums Cloud product

htacces.dit or htaccess?

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.

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. ;-)

  • @donovanb a dit :
    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)

  • R_JR_J Cheerleader & Troubleshooter Munich Moderator

    If you already have an existing .htaccess file keep that and don't care about that htaccess.dist

  • @R_J a dit :
    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.

Sign In or Register to comment.