- Open the Terminal (/Applications/Utilities/Terminal)
- Type whoami to see your username
- Then type sudo pico /etc/apache2/users/(your username)
.conf (unless it's already there) - Paste this:
</Directory><Directory "Users/(your username)/Sites/"> Options Indexes MultiViews AllowOverride All Order allow,deny Allow from all - Save and close by hitting Ctrl + O and Ctrl + X
- Create the folder /Users/
(your username)/Sites/ and drop a test HTML file in there (Terminal: cd ~ then open .) - In the Terminal enter sudo apachectl start (sudo apachectl stop to stop it)
- Open Safari and go to http://localhost/~
- it should display your test page - Open Network and check the machine's IP address
- On the iPad, open Safari and go to http://(your IP address):80/~
Friday, March 28, 2014
OS X 10: Create and host a simple HTML webpage on Apache and access from an iPad, non-Mac user friendly
You don't need Goodreader, Diet Coda, or anything fancy. Just follow the steps below.
Subscribe to:
Posts (Atom)