chia7712 commented on code in PR #665:
URL: https://github.com/apache/kafka-site/pull/665#discussion_r1984962603
##########
Dockerfile:
##########
@@ -9,14 +9,14 @@ RUN sed -i \
AddType text/html .html\n\
AddHandler server-parsed .html\n\
Redirect 301 /design.html /documentation#design\n\
- RewriteRule ^/?(\d+)/generated/ - [S=4]\n\
- RewriteRule ^/?(\d+)/documentation(\.html)? - [S=3]\n\
- RewriteRule ^/?(\d+)/javadoc - [S=2]\n\
- RewriteRule ^/?(\d+)/images/ - [S=1]\n\
+ RewriteRule ^/?(\\\d+)/generated/ - [S=4]\n\
+ RewriteRule ^/?(\\\d+)/documentation(\\.html)? - [S=3]\n\
+ RewriteRule ^/?(\\\d+)/javadoc - [S=2]\n\
+ RewriteRule ^/?(\\\d+)/images/ - [S=1]\n\
RewriteCond $2 !=protocol\n\
- RewriteRule ^/?(\d+)/([a-z]+)(\.html)? /$1/documentation#$2
[R=302,L,NE]\n\
+ RewriteRule ^/?(\\\d+)/([a-z]+)(\\.html)? /$1/documentation#$2
[R=302,L,NE]\n\
RewriteCond %{REQUEST_FILENAME}.html -f\n\
Review Comment:
Please remove this condition to match the production.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]