I am trying to set up a webserver on my Mac so that I can access my folder through http://localhost:8085/test.html.
How do I set this up?
|
I am trying to set up a webserver on my Mac so that I can access my folder through http://localhost:8085/test.html. How do I set this up? |
||||
|
|
|
This tutorial should have what you need. See "Solution to #2: Port based virtual hosts": |
||||
|
|
|
Just answered this at another question. If your goal is a one-off sharing, you might try the HTTP server built into the Python SimpleHTTPServer module for exposing a directory tree to the web. |
|||
|
|
XAMPP is one of the most popular packages for localhost servers but the question is...what languages do you want this server to support? Because the .html files can be seen on browsers without any server...XAMPP on the other hand supports Perl and PHP.There are also other servers for different languages...good luck |
|||
|
|