Results 1 to 5 of 5

Thread: httpd configuration: custom pre/post not shown

  1. #1
    Join Date
    Nov 2016
    Location
    Apeldoorn, Netherlands
    Posts
    40

    change httpd configuration with custom-files

    Hi,

    At first our compliments on the very nice skin and the nice features!

    Only the httpd-config is a bit less intuitive.
    It is not easy to see which custom (1-4) you are editing currently.
    The token-popup is not on the edit-page (/admin/custom-httpd/<domain>/nginx/customize/custom1).
    And the custom- pre/post files are not shown in the edit-page any more.
    And the custom-files in the token-popup are almost unreadable because it does not wrap the text but shows many '\n' and '\r'.

    We use the .pre and .post custom files to preset and use tokens.

    Example:
    custom.pre
    Code:
    |?DEBUG_LOG=#change to 1 to get nginx debug info in the error-log|
    |?DEBUG_LOG=0|
    custom.post
    Code:
    |*if DEBUG_LOG="1"|
    error_log /var/log/nginx/domains/|DOMAIN|.error.log debug;
    |*endif|
    Now first I have to search in the all-tokens popup in the previous screen(!) where I have to set my debug-log parameter to 1.

    I would help a lot if:
    - the tokens-popup is visible in the edit-page
    - the pre-/post- custom-files are shown in the edit-page (with good line-wrapping)
    - the current custom-part is better highlighted


    I hope you understand what I mean, because I find it hard to explain

    Thanks in advance,
    Lydia
    Last edited by flexjoly; 09-26-2018 at 10:08 AM. Reason: also ask about the line-wrapping of the shown custom files

  2. #2
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    8,068
    "View all available tokens" has been added. "- the current custom-part is better highlighted" - may you send us a screenshot? We'll be looking into pre-/post- custom file request soon. Thank you!
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  3. #3
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    8,068
    It's been done
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  4. #4
    Join Date
    Nov 2016
    Location
    Apeldoorn, Netherlands
    Posts
    40
    Great!!
    do you still need a screenshot?

  5. #5
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    8,068
    If you have some suggestions for the current version - yes If everything works as expected - no.
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •