Dispatcher reverse proxy is returning blank page | Community
Skip to main content
Level 2
February 27, 2025

Dispatcher reverse proxy is returning blank page

  • February 27, 2025
  • 2 replies
  • 477 views

Hi everyone,

 

I´m working in an AEM cloud project. I have configured my dispatcher to work as a reverse proxy following the next documentation:  https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/content-delivery/pipeline-free-url-redirects

 

so my dispatcher config looks like this: 

<IfModule mod_rewrite.c>
RewriteEngine on

# Reverse proxy managed by AEM DAM Map
RewriteMap proxyRules dbm=sdbm:/tmp/rewrites/proxy.map

RewriteCond ${proxyRules:$1} !=""
RewriteRule ^(.*)$ ${proxyRules:$1} [P,L]

# standard rewrite rules
Include conf.d/rewrites/rewrite.rules

# Rewrite index page internally, pass through (PT)
RewriteRule "^(/?)$" "/index.html" [PT]
</IfModule>

It seems to be working almost fine, it is reading my map from a dam file and appling it correctly as I show next:

 

I´m requesting <publish> /autonomos and in the response headers Location is retuning: <publish> /autonomos/fibra-optica. it is status 200.

This makes sense to me as I have configured in the rewriteMap this association, however my page is always displayed in blank and it shouldn´t be like that as my /autonomos/fibra-optica has content inside:

 

Has anyone faced something similar? am I missing something?

 

Thank you all in advance 🙂

 

2 replies

Tethich
Community Advisor
Community Advisor
February 27, 2025

Hi @developer_anon 

 

Could you check the cloud logs ?

Also, is your project pom file using the same SDK version that is configured on cloud ? Please check this as well. I believe it might cause blank pages.

kautuk_sahni
Community Manager
Community Manager
June 26, 2025

@developer_anon Just checking in — were you able to resolve your issue?
We’d love to hear how things worked out. If the suggestions above helped, marking a response as correct can guide others with similar questions. And if you found another solution, feel free to share it — your insights could really benefit the community. Thanks again for being part of the conversation!

Kautuk Sahni