Main

This is my (Zach Dwiel's) wiki. I am currently experimenting with various methods of organizing my thoughts, ideas, current projects, etc.

Projects:


blog?:

Sep20 - Xavante web server running as a normal user on port 80

I made a few changes to this wiki to make it a bit more secure and easier to update.

It had previously been running as root which is a bit unecessary. It turns out that you have to have root privileges to be running on port 80. So instead, it is running on port 8080. To get it to look like it is on port 80, I ran the following line:

sudo iptables -t nat -A PREROUTING -i eth+ -p tcp --dport 80 -j REDIRECT --to-port 8080

It routes all incoming traffic from port 8080 to 80. This exact line in from the Caucho installation FAQ but I found supporting evidence and similar lines at linux.org and rifers.org.

Later I came back and wanted to get rid of this rule. I did so by typing

sudo iptables -t nat -D PREROUTING -i eth+ -p tcp --dport 80 -j REDIRECT --to-port 8080

which is the exact same command that I used to add the rule but with a -D rather than a -A.


Sep17

my del.icio.us bookmarks

my last.fm page


Sep12

So I just typed explination of rdf into google. The top result is this - my own tags at del.icio.us of rdf, complete with a page tagged with both explination and rdf. Maybe I should learn to spell better... Maybe I should come up with all my own spellings...