Attempt to serve directory in apache error.log | Community
Skip to main content
manikanthar1295
New Participant
May 19, 2021
Solved

Attempt to serve directory in apache error.log

  • May 19, 2021
  • 3 replies
  • 2036 views

Hi,

 

I have setup dispatcher in my local system and when i started the apache 2.2 server and if i hit the localhost:8080

i  am getting error like  below in error.log 

[Wed May 19 16:30:12 2021] [notice] Child 6724: Acquired the start mutex.
[Wed May 19 16:30:12 2021] [notice] Child 6724: Starting 64 worker threads.
[Wed May 19 16:30:12 2021] [notice] Child 6724: Starting thread to listen on port 8080.
[Wed May 19 16:30:51 2021] [error] [client 127.0.0.1] Attempt to serve directory: C:/AEM 6.5/software/apache-2.2/htdocs/

 

can any one suggest what could be the root cause for this 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by manikanthar1295

Hi,

There is no error is dispatcher log 

just i have changed the port from 8080 to 8081 but no luck and when i am hitting the browser i am getting 404 error.

below is error.

 

Wt could be the issue 

 

not getting any idea to solve this 

 

dispatcher.log is below

 

[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] response.headers[Location] = "http://127.0.0.1:8081/libs/granite/core/content/login.html?resource=%2Ffavicon.ico&$$login$$=%24%24login%24%24&j_reason=unknown&j_reason_code=unknown"
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] response.headers[Content-Length] = "0"
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] Storing socket for later reuse: 127.0.0.1:4503
[Wed May 19 20:23:12 2021] [I] [pid 12780 (tid 724)] "GET /favicon.ico" 302 - 4ms
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] Found farm website for 127.0.0.1:8081
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] checking [/libs/granite/core/content/login.html]
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] request contains a query string: resource=%2Ffavicon.ico&$$login$$=%24%24login%24%24&j_reason=unknown&j_reason_code=unknown
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] cache-action for [/libs/granite/core/content/login.html]: NONE
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] Filter rejects: GET /libs/granite/core/content/login.html HTTP/1.1
[Wed May 19 20:23:12 2021] [I] [pid 12780 (tid 724)] "GET /libs/granite/core/content/login.html?resource=%2Ffavicon.ico&$$login$$=%24%24login%24%24&j_reason=unknown&j_reason_code=unknown" - - 1ms
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] Found farm website for localhost:8081
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] checking [/]
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] request URL has no extension: /
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] cache-action for [/]: NONE
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] Filter rejects: GET / HTTP/1.1
[Wed May 19 20:23:22 2021] [I] [pid 12780 (tid 1072)] "GET /" - - 0ms
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] Found farm website for localhost:8081
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] checking [/]
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] request URL has no extension: /
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] cache-action for [/]: NONE
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] Filter rejects: GET / HTTP/1.1
[Wed May 19 20:23:25 2021] [I] [pid 12780 (tid 1072)] "GET /" - - 0ms

 

3 replies

manikanthar1295
New Participant
May 19, 2021

Hi,

There is no error is dispatcher log 

just i have changed the port from 8080 to 8081 but no luck and when i am hitting the browser i am getting 404 error.

below is error.

 

Wt could be the issue 

 

not getting any idea to solve this 

 

 

dispatcher.log is below

 

Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] response.headers[Location] = "http://127.0.0.1:8081/libs/granite/core/content/login.html?resource=%2Ffavicon.ico&$$login$$=%24%24login%24%24&j_reason=unknown&j_reason_code=unknown"
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] response.headers[Content-Length] = "0"
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] Storing socket for later reuse: 127.0.0.1:4503
[Wed May 19 20:23:12 2021] [I] [pid 12780 (tid 724)] "GET /favicon.ico" 302 - 4ms
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] Found farm website for 127.0.0.1:8081
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] checking [/libs/granite/core/content/login.html]
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] request contains a query string: resource=%2Ffavicon.ico&$$login$$=%24%24login%24%24&j_reason=unknown&j_reason_code=unknown
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] cache-action for [/libs/granite/core/content/login.html]: NONE
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] Filter rejects: GET /libs/granite/core/content/login.html HTTP/1.1
[Wed May 19 20:23:12 2021] [I] [pid 12780 (tid 724)] "GET /libs/granite/core/content/login.html?resource=%2Ffavicon.ico&$$login$$=%24%24login%24%24&j_reason=unknown&j_reason_code=unknown" - - 1ms
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] Found farm website for localhost:8081
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] checking [/]
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] request URL has no extension: /
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] cache-action for [/]: NONE
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] Filter rejects: GET / HTTP/1.1
[Wed May 19 20:23:22 2021] [I] [pid 12780 (tid 1072)] "GET /" - - 0ms
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] Found farm website for localhost:8081
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] checking [/]
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] request URL has no extension: /
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] cache-action for [/]: NONE
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] Filter rejects: GET / HTTP/1.1
[Wed May 19 20:23:25 2021] [I] [pid 12780 (tid 1072)] "GET /" - - 0ms

manikanthar1295
manikanthar1295AuthorAccepted solution
New Participant
May 19, 2021

Hi,

There is no error is dispatcher log 

just i have changed the port from 8080 to 8081 but no luck and when i am hitting the browser i am getting 404 error.

below is error.

 

Wt could be the issue 

 

not getting any idea to solve this 

 

dispatcher.log is below

 

[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] response.headers[Location] = "http://127.0.0.1:8081/libs/granite/core/content/login.html?resource=%2Ffavicon.ico&$$login$$=%24%24login%24%24&j_reason=unknown&j_reason_code=unknown"
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] response.headers[Content-Length] = "0"
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] Storing socket for later reuse: 127.0.0.1:4503
[Wed May 19 20:23:12 2021] [I] [pid 12780 (tid 724)] "GET /favicon.ico" 302 - 4ms
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] Found farm website for 127.0.0.1:8081
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] checking [/libs/granite/core/content/login.html]
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] request contains a query string: resource=%2Ffavicon.ico&$$login$$=%24%24login%24%24&j_reason=unknown&j_reason_code=unknown
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] cache-action for [/libs/granite/core/content/login.html]: NONE
[Wed May 19 20:23:12 2021] [D] [pid 12780 (tid 724)] Filter rejects: GET /libs/granite/core/content/login.html HTTP/1.1
[Wed May 19 20:23:12 2021] [I] [pid 12780 (tid 724)] "GET /libs/granite/core/content/login.html?resource=%2Ffavicon.ico&$$login$$=%24%24login%24%24&j_reason=unknown&j_reason_code=unknown" - - 1ms
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] Found farm website for localhost:8081
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] checking [/]
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] request URL has no extension: /
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] cache-action for [/]: NONE
[Wed May 19 20:23:22 2021] [D] [pid 12780 (tid 1072)] Filter rejects: GET / HTTP/1.1
[Wed May 19 20:23:22 2021] [I] [pid 12780 (tid 1072)] "GET /" - - 0ms
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] Found farm website for localhost:8081
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] checking [/]
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] request URL has no extension: /
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] cache-action for [/]: NONE
[Wed May 19 20:23:25 2021] [D] [pid 12780 (tid 1072)] Filter rejects: GET / HTTP/1.1
[Wed May 19 20:23:25 2021] [I] [pid 12780 (tid 1072)] "GET /" - - 0ms

 

Ritesh_Mittal
New Participant
May 19, 2021

Hi @manikanthar1295 ,

 

I do not see any issue in the error logs, do you see any error in dispatcher logs.

manikanthar1295
New Participant
May 19, 2021

Hi,

There is no error is dispatcher log 

just i have changed the port from 8080 to 8081 but no luck and when i am hitting the browser i am getting 404 error.

below is error.

 

Wt could be the issue 

 

not getting any idea to solve this