Aria Stewart (aredridel) wrote,
Aria Stewart
aredridel

(more) Literate URLs for Swiki

I’ve been working with a fellow from Portland on getting his Swiki setup, where you can get a business card page for $25/year into some sanity. That means co-existing with everything else on the server, not taking over port 80, having sane URLs that you’d be proud to put on a business card, and being easy to administer. In addition, hiding the “list of Swikis” is important.

It turns out to be fairly easy. Start up the Swiki on port 8000 or what have you, get it running. Then set up Apache, which runs on port 80, thus: <VirtualHost *:80>
DocumentRoot /somewhere
ServerName yoursitename
RewriteEngine On
RewriteRule ^/(admin|schemes)(.*)$ http://localhost:8000/$1$2 [P]
RewriteRule ^/$ http://localhost:8000/MainSwikiPage [P]
RewriteRule ^/(.+)$ http://localhost:8000/$1 [P]
</VirtualHost>

Subscribe

  • rpc.statd goes wild!

    I came in to work today to find my mac workstation spinning running rpc.statd at 100% CPU. A quick dtruss -n rpc.statc showed that it was looping…

  • Useful Javascript

    I just created a drop-down menu with an option to add your own entries. Feel free to use. The skinny. Demo.

  • (no subject)

    I just asked my OpenSRS/Tucows domain reseller rep about AAAA (IPv6) glue records: They are planning to support them soon! In the mean time, they…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments