Custom HTTPD Config: leave empty?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ipwsite
    Junior Member
    • Jun 2026
    • 8

    #1

    Custom HTTPD Config: leave empty?

    Hi,

    My question:
    Can I leave the Custom HTTPD Configurations field in DirectAdmin under Server Manager, empty (Please check attched file called: image1)? When I followed the instructions attched link: https://docs.espocrm.com/administrat...configuration/

    and added this configuration:
    text
    =============================
    zz0.kih0ctp0s8izz
    Apache config example:
    DocumentRoot /path_to_espo/public/
    Alias /client/ /path_to_espo/client/

    <Directory /var/www/html/>
    AllowOverride None
    </Directory>

    <Directory /path_to_espo/public/>
    AllowOverride All
    </Directory>
    =============================
    Custom HTTPD Configurations:
    cat > /etc/httpd/conf.d/crm.example.com.conf << 'EOF'
    <VirtualHost *:80>
    ServerName crm.example.com
    DocumentRoot /home/example/domains/crm.example.com/public_html/public

    <Directory /home/example/domains/crm.example.com/public_html>
    AllowOverride All
    Require all granted
    </Directory>

    <Directory /home/example/domains/crm.example.com/public_html/public>
    AllowOverride All
    Require all granted
    Options -Indexes +FollowSymLinks
    </Directory>

    Alias /client/ /home/example/domains/crm.example.com/public_html/client/

    ErrorLog /var/log/httpd/crm.example.com-error.log
    CustomLog /var/log/httpd/crm.example.com-access.log combined
    </VirtualHost>
    EOF
    =============================
    zz0.w8mxktlfk4zz
    I kept getting errors (see attached file 1.png). After leaving the field empty, I was able to successfully install EspoCRM.

    Is it safe to leave Custom HTTPD Configurations empty, or do I need to add something there for production and then restart the Apache?

    Thank you.​
    Attached Files
  • lazovic
    Super Moderator
    • Jan 2022
    • 1231

    #2
    Hi ipwsite,

    In my opinion, it's safe to leave this configuration empty if EspoCRM is working successfully.

    It's possible that this configuration overlaps with the general configuration of the server hosting your domains, causing errors.

    Comment

    Working...