Skip to main content

Add line of code to Vhost?

Comments

5 comments

  • cPanelMichael
    Hello, Documentation on modifying a VirtualHost entry is available at: Modify Apache Virtual Hosts with Include Files - EasyApache 4 - cPanel Documentation Thanks!
    0
  • TonyE
    Thank you cPanelMichael Got it to work, suprise! FYI I created the folder structure /etc/apache2/conf.d/userdata/ssl/2_4 I created a file authmod.conf in this folder. authmod.conf has the following lines.
      ]
    • #No basic authentication headers were found.
    • #Nextcloud needs basic authentication headers for sync client on devices to work.
    • SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
    0
  • cPanelMichael
    I'm happy to see it's working well. Thank you for updating us with the outcome.
    0
  • G3NSVRV
    hello, Same here. The folders /etc/apache2/conf.d/userdata/ssl/2_4/ doesn't not exists. I've tried to create the same path but nothing happen before rebuildhttpdconf
    0
  • cPanelMichael
    Same here. The folders /etc/apache2/conf.d/userdata/ssl/2_4/ doesn't not exists. I've tried to create the same path but nothing happen before rebuildhttpdconf

    Could you run the "/scripts/ensure_vhost_includes --all-users" command and let us know if that helps? Thank you.
    0

Please sign in to leave a comment.