Forum How do I...?

private wiki

kaaret
How do I run prince on a private wiki?
I tried the http-user and http-password options, but they don't seem to work. I get a nice pdf of the Login Required page.
mikeday
Perhaps the wiki does not use HTTP authentication, but a login form followed by cookies?

This is a bit complicated, as you need to login by making a HTTP POST request to the page, then get the cookies back and pass those to Prince. You can do that with curl and some scripting, or other ways depending on your environment.

Another possibility is to run Prince on the server side and call it from within the wiki code itself, so that authentication is not required.