Syntax Check with custom httpd config (SKINS)

Version 1.44

Feature
Finished

Syntax check will be displayed at the bottom of the page: Admin Level -> Custom Httpd Config -> domain.com booscript called: apache: service httpd configtest /etc/init.d/httpd configtest /usr/local/etc/rc.d/httpd configtest nginx, all OSs: /usr/sbin/nginx -t -c /etc/nginx/nginx.conf ================================== SKINS: admin/custom_httpd_domain.html Near the top, just before the custom entry textarea table: |*if CONFIG_ERROR="1"| <center> <br><br><b>Configuration Syntax Error - See below for details</b><br><br><br> </center> |*endif| Near the bottom, after the httpd.conf display: <table class=list> <tr> <td class=listtitle> Configuration Check </td> </tr> <tr> <td class=list align=center> <textarea cols=120 rows=5 wrap=off readonly>|CONFIG_TEST|</textarea> </td> </tr> </table>

Interested to try DirectAdmin? Get a 30-day Free Trial!