내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

How to config redirect to maintenance page?

Avatar

Level 4

Hi all,

In AEM, I created two page content/myapp/en/maintenance.html and content/myapp/fr/maintenance.html

I want create the rule in httpd.conf for maintenance for auto redirect to maintenance page.

Example:

RewriteRule ^/ /maintenance.html [PT,L]

When a user go to myapp.com/content/myapp/en/any_page.html . It will redirect to myapp.com/content/myapp/en/maintenance.html

When a user go to myapp.com/content/myapp/fr/any_page.html . It will redirect to myapp.com/content/myapp/fr/maintenance.html

Please help me,

How to do that?

Thank you so much,

BienHV

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Employee

Please see the following link to Apache mod_rewrite where you can define you re-write rules:

Redirecting and Remapping with mod_rewrite - Apache HTTP Server Version 2.4

원본 게시물의 솔루션 보기

1 답변 개

Avatar

정확한 답변 작성자:
Employee

Please see the following link to Apache mod_rewrite where you can define you re-write rules:

Redirecting and Remapping with mod_rewrite - Apache HTTP Server Version 2.4