→ Back to the wiki root
→ Type: Type Tester
→ Graphics: cheap logo design
→ LaTeX formulas: jsMath
→ Problems with vallis.org restyling
→ Webmail: RoundCube
→ Installing DAV
→ A Wiki comparison
On a stock RedHat 9.0 Apache installation, it is enough to modify /etc/httpd/conf/httpd.conf (following instructions from webdav.org) adding something like
<Location /home/www> DAV On <Limit PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK> [AuthType, Require user, etc., etc.] </Limit> </Location>
If however you have any CGI scripts accessed by POSTing forms under /home/www, the authentication required above will be requested for those, as well. A solution (suggested by Rainer Ziller) is to make an alias of /home/www, and apply the
Location statement to that alias:
Alias /dav /home/www
In IE6/Win, the page title (#menu h1) is missing the top border. Solved by making #menu h1 absolutely positioned.
In IE6/Win, multiline .section h2 induces additional spacing above corresponding paragraph. Solved by making .section h2 absolutely positioned and adjusting position. Same for .blogsection h2.
In IE6/Win, Firefox/Win, and Firefox/Mac, strange positioning of the form login elements in the weblog, and also of the text in the colophon. Perhaps problem with the footer element? Fixed on Firefox/Mac by styling #blogfooter form's margin and #blogfooter's padding.
→ In IE6/Win, problems with the padding of the tables inside sections, including the imagegallery tables.
Python problems with the time given by Apache to the blog entries? Corrected by setting the DST flag (the last entry of the structure returned by time.strptime, converted to a list) to -1 before passing to time.mktime.
Maybe the DOI can do this, as well, but you can try to buy any book from Amazon if you know its ISBN code. Just link to http://www.amazon.com/exec/obidos/ASIN/, followed by the ISBN.
Ever wondered how to use those official-looking DOI numbers that now appear next to your abstract in all major scientific journals? Just link to http://dx.doi.org/, followed by the DOI code. For instance, this is where we get with DOI 10.1103/PhysRevLett.84.3519.
In fact, there is not much to do. We need to point some sensible URL
to the main SquirrelMail directory,
which is /usr/share/squirrelmail in the default RedHat 9.0
distribution. We do this with the
Alias directive in
Then create a directory ./attachments in /usr/share/squirrelmail, and
chmod it to apache:apache (xr for everybody else); inside
./attachments, create .htaccess with the single line
all. Also chmod /var/lib/squirrelmail/prefs to root:apache. Run
the script /usr/share/squirrelmail/config/conf.pl, and change the
Organization, the IMAP server, and the location of the attachment
Finally, SquirrelMail will run happily under https (at least if SSL is enabled in apache, as it is in the standard RedHat 9.0 distribution). An easy way to force secure connections is to close port 80 on the web server, and open port 443. Otherwise, a plugin might be available on the SquirrelMail website to force at least secure logins.
I have modified the textrite blosxom plugin to correct the behavior with <pre> blocks (so now the preceding paragraph is closed before and reopened after the block). It was a matter of adding two lines in the (sed) format
$text=~ s/_text to replace_/_replacement text_/g;
Easy! A similar rule also allows to set italics by using underscores, but this is not enabled now because underscores might be needed in code snippets. It's better to use <i>.
First, create an apache passwd file somewhere safe (but apache-readable) in the system, using
htpasswd user; then create an .htaccess file in the directory to protect, with the directives
AuthName "restricted documents on _domain_" AuthType Basic AuthUserFile _location of passwd file_ <Files "_file to protect_"> Require valid-user </Files>
you will also need to add
AllowOverride AuthConfig in the relevant
Directory section of your httpd.conf.
© M. Vallisneri 2012 — last modified on 2010/01/29
Tantum in modicis, quantum in maximis