SecureLinks

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • info
    Member
    Forum Explorer
    • Mar 2021
    • 36

    #1

    SecureLinks

    Hello, in order for SecureLinks to work, should I put "SecureLinks on" in /usr/local/apache/conf/modhostinglimits.conf ?

    Like this:

    SkipErrors Off
    AllowedHandlers cgi-script %php% fcgid-script application/x-miva-compiled
    SecureLinks On
  • clm
    Senior Member
    Forum ExplorerTechnical AssociateSolutions DeveloperInnovation Contributor
    • Mar 2021
    • 259

    #2
    What version of CloudLinux are you using ? I think that method is only for CloudLinux 5 standard kernel, with CloudLinux 6 this is the procedure :

    https://<a href="http://docs.cloudli...links.html</a>

    Comment

    • info
      Member
      Forum Explorer
      • Mar 2021
      • 36

      #3
      Im using CloudLinux 5 Hybrid and CloudLinux 6.

      So according to that link you pasted, do I need to put that into sysctl.conf or don I need to do anything?

      Comment

      • iseletsk
        Senior Member
        • Dec 2017
        • 1199

        #4
        You dont need to do anything here: /usr/local/apache/conf/modhostinglimits.conf
        You do need to set
        fs.symlinkown_gid = 99 (if you are running cPanel) in /etc/sysctl.cfg and run sysctl -p

        Comment

        • info
          Member
          Forum Explorer
          • Mar 2021
          • 36

          #5
          Ok, do I need to set this too?

          fs.enforce_symlinksifowner = 1

          Or is it set by default?

          Comment

          • iseletsk
            Senior Member
            • Dec 2017
            • 1199

            #6
            It should be there already. Yet, if it is not, then yes, please, add it.

            Comment

            Working...