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.
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.

Comment