vy commented on code in PR #2443:
URL: https://github.com/apache/logging-log4j2/pull/2443#discussion_r1553169012


##########
src/site/resources/.htaccess:
##########
@@ -8,13 +7,16 @@
 # "License"); you may not use this file except in compliance
 # with the License.  You may obtain a copy of the License at
 #
-#    http://www.apache.org/licenses/LICENSE-2.0
+#   http://www.apache.org/licenses/LICENSE-2.0
 #
 # Unless required by applicable law or agreed to in writing,
 # software distributed under the License is distributed on an
 # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-# ----------------------------------------------------------------------------
-./mvnw spotless:apply -pl '!log4j-bom' -T2C
+#
+RewriteEngine On
+RewriteRule "^(/log4j/[23].x)/log4j-(core|api)/apidocs(.*)" "$1/javadoc/$2$3" 
[R=permanent]
+RewriteRule "^(/log4j/[23].x)/manual/scala-api.html" "/log4j/scala" 
[R=permanent]
+RewriteRule "^(/log4j/[23].x)/release-notes/index.html" 
"$1/release-notes.html" [R=permanent]

Review Comment:
   > Remark that according to Git history we never had a 
`/log4j/3.x/log4j-api/apidocs/` folder.
   
   Indeed, good catch.
   I will remove it.
   
   For the rest, [we 
agreed](https://the-asf.slack.com/archives/D0394M6GWTX/p1712304795414779) to 
keep the current simple version.



-- 
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: notifications-unsubscr...@logging.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to