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

  • (no subject)

    You do occasionally visit Boston Public Library, yes? If not, get on it! You were raised in and on libraries. They are in your blood! You…

  • (no subject)

    "I had never been in a room of people who were going to say 'yes' to me before." My friend and I crammed into a rush hour crowded train…

  • Recipe: Storm in the Garden

    Recipe: Storm in the Garden Ingredients 10 ml lavender vodka 10 ml orange vodka 10 ml hibiscus vodka 200 ml ginger ale ice…

  • 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