Skip to main content

Build apache conf script ignoring Virtual Host Server Alias userdata

Comments

8 comments

  • cPanelMichael
    Hello :) Could you elaborate further on the specific change you want to make? Is it within a VirtualHost? Thank you.
    0
  • jdraxler
    I want a VHost to have have several serveralias values (parked domains) for example: ... ServerName example.com ServerAlias example.com example2.com example.org ...
    0
  • cPanelMichael
    The following document should help guide you on making that change: Modify Virtualhost Containers With Include Files Thank you.
    0
  • jdraxler
    I already did all of those steps in the link you provided but the server does not direct me to the expected VirtualHost (as though the included file is ignored). And yes the line in the httpd.conf is uncommented.
    0
  • cPanelMichael
    We can not assist with custom rules/entries, but we can setup an example/test entry to make sure that method is working as intended. Feel free to open a support ticket using the link in my signature so we can check that for you. You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • jdraxler
    Well the issue that I need assistance with is that I should be able to make direct edits to the httpd.conf file then run the distill script which should store the httpd.conf direct edits in the userdata (which it does) but when I run the build_apache_conf or rebuildhttpdconf the values in the userdata do get used. I used the information/instructions found here: [url=http://docs.cpanel.net/twiki/bin/view/EasyApache3/InsideVHost]Changes Contained within a VirtualHost Directive
    0
  • jdraxler
    I meant to say that "...when I run the build_apache_conf or rebuildhttpdconf the values in the userdata do NOT get used"
    0
  • cPanelMichael
    At this point it's likely better to open a support ticket so we can take a closer look at the custom entries you have configured. Thank you.
    0

Please sign in to leave a comment.