Setting Up a local web server on MacOS Ventura

Installing local web server on perfectly clean new install of OS Ventura. I followed Etresoft's outstanding directions. Everything works except one little thing.. When I navigate to http://localhost/~donaldduck/ I do not get the "My Site Works" web page, rather I get a directory listing which includes the file: index.html.en I can click on the index.html.en file, and get the "My Site Works" page. I suspect the user .conf file, but I've carefully examined the fie and it looks perfect. Can you offer any ideas to troubleshoot?


Thank you

MacBook Air 13″, macOS 13.4

Posted on Jun 9, 2023 9:37 AM

Reply
Question marked as Top-ranking reply

Posted on Jun 9, 2023 3:41 PM

It sounds like the MultiViews module isn't enabled either for Apache or inside your config file. That is what serves the "index.html.en" file, instead of "index.html", when you request an index for a directory.


MultiViews is problematic in many ways. It's handy for easily building a multilingual website, but it can cause problems if you don't know how it works. I don't actually use it any more for any production websites. I do those on AWS and handle the localization differently.

Similar questions

2 replies
Question marked as Top-ranking reply

Jun 9, 2023 3:41 PM in response to gregoryfromfullerton

It sounds like the MultiViews module isn't enabled either for Apache or inside your config file. That is what serves the "index.html.en" file, instead of "index.html", when you request an index for a directory.


MultiViews is problematic in many ways. It's handy for easily building a multilingual website, but it can cause problems if you don't know how it works. I don't actually use it any more for any production websites. I do those on AWS and handle the localization differently.

Jun 9, 2023 2:49 PM in response to gregoryfromfullerton

gregoryfromfullerton wrote:

Installing local web server on perfectly clean new install of OS Ventura. I followed Etresoft's outstanding directions. Everything works except one little thing.. When I navigate to http://localhost/~donaldduck/ I do not get the "My Site Works" web page, rather I get a directory listing which includes the file: index.html.en I can click on the index.html.en file, and get the "My Site Works" page. I suspect the user .conf file, but I've carefully examined the fie and it looks perfect. Can you offer any ideas to troubleshoot?

Thank you

Change the file index.html.en to index.html

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Setting Up a local web server on MacOS Ventura

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.