Alias /backup5 "/backup"
<VirtualHost *:80>
ServerAdmin webmaster@phylab.fudan.edu.cn
# DocumentRoot /var/www/phylab
# DocumentRoot /backup/phylab
DocumentRoot /home/whyx/phylab
ServerName phylab.fudan.edu.cn
# <LocationMatch "/(data|conf|bin|inc)/">
# Order allow,deny
# Deny from all
# Satisfy All
# </LocationMatch>
ErrorLog logs/host.phylab-error_log
CustomLog logs/host.phylab-access_log common
</VirtualHost>
/* general headline setup */
div.dokuwiki h1,
div.dokuwiki h2,
div.dokuwiki h3,
div.dokuwiki h4,
div.dokuwiki h5 {
color: __text__;
background-color: inherit;
font-size: 100%;
font-weight: normal;
margin: 0 0 1em 0;
padding: 0.5em 0 0 0;
border-bottom: 1px solid __border__;
clear: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: bold;
; padding: 0;
line-height: 1.2;
padding: 0.5em 0 0 0;
border-bottom: 1px solid __border__;
clear: left; /* ideally 'both', but problems with toc */
}
padding: 0.5em 0 0 0;
border-bottom: 1px solid __border__;
[whyx@localhost dokuwiki]$ vi tpl_header.php
<div class="headings group">
<ul class="a11y skip">
<li><a href="#dokuwiki__content"><?php echo $lang['skip_to_content']; ?></a></li>
</ul>
<h1><?php
// get logo either out of the template images folder or data/media folder
$logoSize = array();
// $logo = tpl_getMediaFile(array(':wiki:logo.png', ':logo.png', 'images/logo.png'), false, $logoSize);
// display logo and wiki title in a link to the home page
tpl_link(
wl(),
'<img src="'.$logo.'" '.$logoSize[3].' alt="" /> <span>'.$conf['title'].'</span>',
'accesskey="h" title="[H]"'
);
?></h1>