Skip to main content

How to edit virtualhost file?

Comments

3 comments

  • Infopro
    I have used for the time being htaccess but I understand that it is better if it is in the vhosts file.

    That code is belongs in your htaccess file, IMO.
    0
  • greektranslator
    Right, I thought that by being in vhosts it means that the the system does not have to read every directory for an htaccess files, hence being more effective.
    0
  • cPanelLauren
    I do agree with @Infopro this would be best added to your .htaccess but if you want to add it to the VirtualHost conf you can do so through WHM>>Service Configuration>>Apache Configuration >> Include Editor You can read the include editor documentation here: Include Editor - Version 76 Documentation - cPanel Documentation Thanks!
    0

Please sign in to leave a comment.