Dispatcher Serves the Cached content only
I am trying to access the Geometrixx URL from the Dispatcher Server
When I make the first request to the page
http://localhost:8087/content/geometrixx-outdoors/en.html I see the page and HTML is cached.
When I delete the cached copy and try to hit http://localhost:8087/ I get:
The requested URL /content/geometrixx-outdoors/en.html was not found on this server.
So unless the /en.html copy is cached, I cannot see the page.
Following are the Rewrite URL and dispatcher settings I am using:
<VirtualHost *:8087>
DocumentRoot /Library/WebServer/Documents
RewriteEngine On
RewriteRule ^/$ /content/geometrixx-outdoors/en.html [PT]
RewriteCond %{REQUEST_URI} !^/apps/(.*) [NC]
RewriteCond %{REQUEST_URI} !^/etc(.*) [NC]
RewriteCond %{REQUEST_URI} !^/libs(.*) [NC]
RewriteCond %{REQUEST_URI} !^/content(.*) [NC]
RewriteCond %{REQUEST_URI} !^/system(.*) [NC]
RewriteCond %{REQUEST_URI} !^/dam(.*) [NC]
RewriteCond %{REQUEST_URI} !^/searchservice(.*) [NC]
RewriteCond %{REQUEST_URI} !^/store(.*) [NC]
RewriteCond %{REQUEST_URI} !^/services(.*) [NC]
RewriteRule ^/(.*) /content/corp/en_us/$1 [PT]
</VirtualHost>
/0023 { /type "allow" /url "/content*" } # disable this rule to allow mapped content only
On the Dispatcher log : when I try to access en.html which is not cached , I see
request URL has no extension: /
cache-action for [/]: NONE
Filter rejects: GET / HTTP/1.1
I could not understand if dispatcher rejects the request (http://localhost:8087/) when page is not cached, why or how would it serve the page when it is cached?