Highlighted

Why publish port 4503 url is not connecting to Apache server in Dispatcher ??

sumank23986652

21-07-2019

When i am trying  to connect the apache server with the publish 4503 for dispatcher. when i am hitting localhost:80/content/we-retail/us/en.html after starting publish instance . then i am getting  this 404 error .

apache.PNG

Apache server gets started and when i am hitting localhost:80/index.html it works and displays as

It works!

But i am not able to connect apache server with my publisher. And i am not able to cache publish resources in my htdocs files under apache server.

Please help me.

Replies

Highlighted

Himanshu_Singhal

MVP

22-07-2019

Please check your dispatcher logs and make sure that AEM Dispatcher settings are correct. Or if you're getting any specific error, please share it...

Highlighted

sumank23986652

22-07-2019

Dispatcher log is empty.

However i am getting the below in error.log

[Mon Jul 22 11:38:25 2019] [warn] Dispatcher set as handler, but not configured in server [01HW466704.India.domain.com].

[Mon Jul 22 11:38:25 2019] [error] [client ::1] Attempt to serve directory: C:/Tool/httpd-2.2.34-win32/Apache2/htdocs/

Highlighted

Himanshu_Singhal

MVP

22-07-2019

Hi,

Please follow the link: https://www.aemquickstart.in/2016/12/configure-dispatcher-for-aem.html

Make sure you've all the configuration correct. Check port number specifically and Webserver cache directory and /docroot path should be same.

Highlighted

Gokul2011

22-07-2019

Hi Sumak,

DIspatcher module is called out properly. Since Dispatcher log is empty Apache not able to recognize you added disp module as recommended ...

Highlighted

sumank23986652

22-07-2019

DIspatcher module is called out properly.

I have added the following file into modules folder.

disp_apache2.2.dll

And i included this below file into httpd.conf

LoadModule dispatcher_module  modules/disp_apache2.2.dll

but still i get  the same error as mentioned above.

Please help me

Highlighted
Highlighted

aemmarc

Employee

22-07-2019

Dispatcher on Apache in a Windows environment is not supported.

Dispatcher will only work on a Linux distro

If you're using a Windows Server you need to use IIS.