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

Avatar

Avatar
Give Back 5
Level 2
sumank23986652
Level 2

Likes

3 likes

Total Posts

7 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Boost 3
View profile

Avatar
Give Back 5
Level 2
sumank23986652
Level 2

Likes

3 likes

Total Posts

7 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Boost 3
View profile
sumank23986652
Level 2

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

Avatar

Avatar
Validate 25
MVP
Himanshu_Singhal
MVP

Likes

65 likes

Total Posts

206 posts

Correct reply

23 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give Back 5
Give Back 3
View profile

Avatar
Validate 25
MVP
Himanshu_Singhal
MVP

Likes

65 likes

Total Posts

206 posts

Correct reply

23 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give Back 5
Give Back 3
View profile
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...

Avatar

Avatar
Give Back 5
Level 2
sumank23986652
Level 2

Likes

3 likes

Total Posts

7 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Boost 3
View profile

Avatar
Give Back 5
Level 2
sumank23986652
Level 2

Likes

3 likes

Total Posts

7 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Boost 3
View profile
sumank23986652
Level 2

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/

Avatar

Avatar
Validate 25
MVP
Himanshu_Singhal
MVP

Likes

65 likes

Total Posts

206 posts

Correct reply

23 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give Back 5
Give Back 3
View profile

Avatar
Validate 25
MVP
Himanshu_Singhal
MVP

Likes

65 likes

Total Posts

206 posts

Correct reply

23 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give Back 5
Give Back 3
View profile
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.

Avatar

Avatar
Validate 25
Level 4
Gokul2011
Level 4

Likes

27 likes

Total Posts

200 posts

Correct reply

8 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile

Avatar
Validate 25
Level 4
Gokul2011
Level 4

Likes

27 likes

Total Posts

200 posts

Correct reply

8 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Gokul2011
Level 4

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

Avatar

Avatar
Give Back 5
Level 2
sumank23986652
Level 2

Likes

3 likes

Total Posts

7 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Boost 3
View profile

Avatar
Give Back 5
Level 2
sumank23986652
Level 2

Likes

3 likes

Total Posts

7 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Boost 3
View profile
sumank23986652
Level 2

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

Avatar

Avatar
Validate 25
Level 4
Gokul2011
Level 4

Likes

27 likes

Total Posts

200 posts

Correct reply

8 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile

Avatar
Validate 25
Level 4
Gokul2011
Level 4

Likes

27 likes

Total Posts

200 posts

Correct reply

8 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Gokul2011
Level 4

22-07-2019

Please comment Vhost config and run the plain Httpd.conf  .

Double check with the below URL :

http://www.aemcq5tutorials.com/tutorials/set-up-dispatcher-in-aem/

Make sure to setup dispatcher log to debug mode. 

Avatar

Avatar
Ignite 1
Employee
aemmarc
Employee

Likes

184 likes

Total Posts

243 posts

Correct reply

92 solutions
Top badges earned
Ignite 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Ignite 1
Employee
aemmarc
Employee

Likes

184 likes

Total Posts

243 posts

Correct reply

92 solutions
Top badges earned
Ignite 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
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.

Avatar

Avatar
Validate 25
Level 4
Gokul2011
Level 4

Likes

27 likes

Total Posts

200 posts

Correct reply

8 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile

Avatar
Validate 25
Level 4
Gokul2011
Level 4

Likes

27 likes

Total Posts

200 posts

Correct reply

8 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Boost 5
Boost 3
View profile
Gokul2011
Level 4

22-07-2019

Hi Aemmarc,

We can tweek and install Apache on windows machine. 

How to Install Apache Web Server on Windows — SitePoint

Avatar

Avatar
Give Back 5
Level 2
sumank23986652
Level 2

Likes

3 likes

Total Posts

7 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Boost 3
View profile

Avatar
Give Back 5
Level 2
sumank23986652
Level 2

Likes

3 likes

Total Posts

7 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
Boost 3
View profile
sumank23986652
Level 2

25-07-2019

it'a already commented.