Apache not resolving /Users/[myname]/Sites/ . Getting "The requested URL was not found on this server."

I followed this definitive guide to setting up Apache on Sequoia and the main local host site resolves, but it doesn't recognize the Sites directory under my user. Setting up a local web server on macOS 15… - Apple Community


I'm getting a "The requested URL was not found on this server."


I've added the /etc/apache2/users/rossblanchard.conf file and double checked the syntax. Here it is if anyone wants to triple check it.


<Directory "/Users/rossblanchard/Sites/">

AddLanguage en .en

AddHandler perl-script .pl

PerlHandler ModPerl::Registry

Options Indexes MultiViews FollowSymLinks ExecCGI

AllowOverride None

Require host localhost

</Directory>


Has anyone any ideas or are others having this same challenge of using a personal site directory? Thanks in advance.

MacBook Pro 16″, macOS 15.2

Posted on Jan 20, 2025 10:11 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 20, 2025 10:24 PM

So dumb. Everything is set up properly. I failed to notice that you need a tilde (~) in the URL for the personal site. Added that before my site name and it works fine now. http://localhost/~[your user name]


Just a note about the tutorial linked above -- it's very clear and thorough for anyone who wants to setup a basic Apache server on their Mac.

Similar questions

1 reply
Question marked as Top-ranking reply

Jan 20, 2025 10:24 PM in response to RB-PDX

So dumb. Everything is set up properly. I failed to notice that you need a tilde (~) in the URL for the personal site. Added that before my site name and it works fine now. http://localhost/~[your user name]


Just a note about the tutorial linked above -- it's very clear and thorough for anyone who wants to setup a basic Apache server on their Mac.

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.

Apache not resolving /Users/[myname]/Sites/ . Getting "The requested URL was not found on this server."

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