[ https://issues.apache.org/jira/browse/KAFKA-13882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17536742#comment-17536742 ]
ASF GitHub Bot commented on KAFKA-13882: ---------------------------------------- qingwei91 commented on PR #410: URL: https://github.com/apache/kafka-site/pull/410#issuecomment-1126221013 Hi @mimaison sorry for the back and forth, after some fiddling, I realize the problem is that when requesting `localhost:8080/path`, httpd tries to find a file named`path`, which does not exists, and what we really want is to resolve `path` to `path.html` in project root. I ended solving this by adding a rewrite rule in `.htaccess` file, but I don't know how is it solved in the real website deployment, is `.htaccess` actually used in production? > Dockerfile for previewing website > --------------------------------- > > Key: KAFKA-13882 > URL: https://issues.apache.org/jira/browse/KAFKA-13882 > Project: Kafka > Issue Type: Task > Components: docs, website > Reporter: Tom Bentley > Assignee: Lim Qing Wei > Priority: Trivial > Labels: newbie > > Previewing changes to the website/documentation is rather difficult because > you either have to [hack with the > HTML|https://cwiki.apache.org/confluence/display/KAFKA/Contributing+Website+Documentation+Changes#ContributingWebsiteDocumentationChanges-KafkaWebsiteRepository] > or [install > httpd|https://cwiki.apache.org/confluence/display/KAFKA/Setup+Kafka+Website+on+Local+Apache+Server]. > This is a barrier to contribution. > Having a Dockerfile for previewing the Kafka website (i.e. with httpd > properly set up) would make it easier for people to contribute website/docs > changes. -- This message was sent by Atlassian Jira (v8.20.7#820007)