Hi all,
I have deployed a freshly created dispatcher configuration on AMS but I keep getting the following error:
httpd: Syntax error on line 353 of /etc/httpd/conf/httpd.conf: Syntax error on line 35 of /etc/httpd/conf.d/dispatcher_vhost.conf: Syntax error on line 67 of /etc/httpd/conf.d/enabled_vhosts/aem_author.vhost: Could not open config directory /etc/httpd/conf.d/proxy: No such file or directory
The files are completely unaltered and produced straight from the Adobe AEM archetype. For instance line 353 has the following line:
# Load config files in the "/etc/httpd/conf.d" directory, if any.
IncludeOptional conf.d/*.conf
I can't see anything wrong with that. Could it be something to do with file formatting?
Thanks in advance
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @SamFlyn
As per the error message, the syntax issues are at
It looks like vhost files refer to a file under this directory /etc/httpd/conf.d/proxy - either directory or a file is missing.
If you're not needed proxy configs, I suggest commenting lines where Syntax errors are thrown.
Hi @SamFlyn ,
Can you please make sure that you have directory conf.d.
Also, please refer to this to verify your configs - https://experienceleague.adobe.com/docs/experience-manager-learn/ams/dispatcher/explanation-config-f...
Hi @SamFlyn ,
The files/configurations generated by Maven archetype won't work straight forward. You have make adjustments as per your machine/OS and apache/Docker.
Which machine/OS you are using. Are you using Apache or Docker ?. The way of setting up dispatcher is different of different machine. Will try to answer based your scenario.
You can follow documentation as mention in other answer.
Also, I am leaving a link of video tutorials of setting dispatcher on MAC M1/ Apache. Please have a look if you are interested.
https://www.youtube.com/watch?v=RDTTyfmeANA&list=PLEaEQSM_Y4tnHRdMB9PRXgP_AmbeUJkXG
Hi Sunil! Thanks for replying. I am using docker and I pretty much followed this tutorial here -> https://blogs.perficient.com/2021/01/05/setting-up-a-local-aem-dispatcher-with-docker/..Thanks
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies