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 server gets started and when i am hitting localhost:80/index.html it works and displays as
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.
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...
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/
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.
DIspatcher module is called out properly. Since Dispatcher log is empty Apache not able to recognize you added disp module as recommended ...
DIspatcher module is called out properly.
I have added the following file into modules folder.
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
Please comment Vhost config and run the plain Httpd.conf .
Double check with the below URL :
Make sure to setup dispatcher log to debug mode.
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.
it'a already commented.