@ArpitVarshney,
Thanks for the reply.
Please find below info on your queries.
I am trying to access dispatcher :http://localhost:8089/content/we-retail.html
since i exposed port 8089 while creating docker container.
- What exactly web server is displaying when you are trying to access?
- I can see request are coming and please find the below access_log statements.172.17.0.1 - - [02/Jan/2020:20:53:14 +0000] "GET /content/we-retail.html HTTP/1.1" 404 220 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
172.17.0.1 - - [02/Jan/2020:20:53:20 +0000] "GET / HTTP/1.1" 302 228 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
172.17.0.1 - - [02/Jan/2020:20:53:20 +0000] "GET /content/we-retail.html HTTP/1.1" 404 220 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
172.17.0.1 - - [02/Jan/2020:20:53:24 +0000] "GET / HTTP/1.1" 302 228 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
172.17.0.1 - - [02/Jan/2020:20:53:24 +0000] "GET /content/we-retail.html HTTP/1.1" 404 220 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
172.17.0.1 - - [02/Jan/2020:20:53:29 +0000] "GET / HTTP/1.1" 302 228 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36"
172.17.0.1 - - [02/Jan/2020:20:53:29 +0000] "GET /content/we-retail.html HTTP/1.1" 404 220 "-" "Mozil
Httpd configuration :
<VirtualHost *:8089>
ServerName localhost
DocumentRoot /var/www/html
RewriteEngine on
RewriteRule ^/(.*)\.html$ /content/we-retail/$1.html [PT]
<Directory />
<IfModule disp_apache2.c>
SetHandler dispatcher-handler
ModMimeUsePathInfo On
</IfModule>
Options FollowSymLinks
AllowOverride None
</Directory>
</VirtualHost>
Dispatcher.any configuration
/rend01
{
# Hostname or IP of the render
/hostname "localhost"
# Port of the render
/port "4503"
# Connect timeout in milliseconds, 0 to wait indefinitely
/timeout "0"
# always resolve hostname
#/always-resolve "${RENDERER_RESOLVE}"
# specifies the time in milliseconds that a response is allowed to take. The default is "600000", causing Dispatcher to wait for 10 Minutes. A setting of "0" eliminates the timeout completely.
# If the timeout is reached while parsing response headers, an HTTP Status of 504 (Bad Gateway) is returned. If the timeout is reached while the response body is read, the Dispatcher will return the incomplete response to the client but delete any cache file that might have been written.
/receiveTimeout "600000"
#Specifies whether Dispatcher uses the getaddrinfo function (for IPv6) or the gethostbyname function (for IPv4) for obtaining the IP address of the render.
/ipv4 "0"
}
Virtualhost:
# Entries will be compared against the "Host" request header
# and an optional request URL prefix.
#
# Examples:
#
# www.company.com
# intranet.*
# myhost:8888/mysite
"*"