The following are steps to properly install and test YAWS (another web server) on a Mac OSX computer:
Installation:
- Go to http://yaws.hyber.org/download/
- Get the last source - for example. 'Frambesia-X.XX.tar.gz'.
- Unzip it (for this lesson, say / Users / Name / Desktop / yaws /).
- Open a terminal (it can be found in Applications / Utilities).
- Type: 'cd / Users / Name / Desktop / yaws / yaws-X.XX /' (without quotes).
- Type: ./ configure (without quotes) and wait.
- Type: 'make' (without quotes) and wait.
- Type: 'sudo make install' (without quotes).
- Now you need to enter the administrator password, the terminal will not display anything that you are typing, so do not worry if it seems that it is not working properly and press Enter.
- Now YAWS sets, after it has finished type "sudo yaws" (without quotes) to start the web server (it may again ask for the password).
Testing:
- Open a browser.
- Go to 0.0.0.0.
- You should see the yaws homepage: Congratulations! You have installed YAWS.
To start testing your pages, just put them in '/ tmp' and just type 'localhost / pagename.yaws' in your browser.
Check this out for more information and tutorials: http://yaws.hyber.org/
source share