|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
|||||||||||||||||||||||||||||||||||||||||||||||||||
ezweb.ne.jp :[mail.example.com]
Gnus からは以下のような感じで利用できた。
(defun gnus-mime-dragdrop (event)
(interactive "e")
(set-buffer (window-buffer (posn-window (event-start event))))
(let* ((pos (posn-point (event-start event)))
(data (get-text-property pos 'gnus-data))
filename)
(goto-char pos)
(when (and data
(setq filename
(mail-content-type-get (mm-handle-disposition data)
'filename)))
(with-temp-buffer
(set-buffer-multibyte nil)
(insert-buffer-substring (mm-handle-buffer data))
(mm-decode-content-transfer-encoding (mm-handle-encoding data)
(mm-handle-media-type data))
(dropfile filename (current-buffer))))))
(eval-after-load "gnus-art"
'(define-key gnus-mime-button-map [down-mouse-1] 'gnus-mime-dragdrop))
Windows との親和性が上がって、とーっても便利になった:-)
(define-ccl-program
ccl-encode-iso8859-15-cp1252-font
'(0
((r1 = r1
[ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
160 161 162 163 128 165 138 167 154 169 170 171 172 173 174 175
176 177 178 179 142 181 182 183 158 185 186 187 140 156 159 191
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207
208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223
224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239
240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255
]))))
(w32-regist-font-encoder
'encode-iso8859-15-cp1252-font 'ccl-encode-iso8859-15-cp1252-font 1)
<VirtualHost 192.168.0.2:8080> <Location /> DAV svn SVNParentPath /home/ari/svn SVNAutoversioning on </Location> <VirtualHost>と思ったら、書き込みをしようとすると「選択したファイルのいくつかまたはすべてを コピー中に、エラーが発生しました。」と失敗…。
<VirtualHost 192.168.0.2:8080>
<Location /test>
DAV svn
SVNPath /home/ari/svn/test
SVNAutoversioning on
AuthType Basic
AuthName "Subverion repository"
AuthUserFile /etc/apache2/dav_svn.passwd
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
</LimitExcept>
</Location>
</VirtualHost>
<VirtualHost 192.168.0.2:8080> [...] <IfModule mod_encoding.c> EncodingEngine on SetServerEncoding UTF-8 DefaultClientEncoding JA-AUTO-SJIS-MS SJIS AddClientEncoding "Microsoft.*DAV" SJIS </IfModule> </VirtualHost>@IT の記事を参考にしたら、AddClientEncoding の記述が誤っていてちょっとはまった…。
# cd /etc/ssl # /usr/lib/ssl/misc/CA.sh -newca
# cd /etc/apache2/ssl # openssl genrsa -des3 1024 > server.key # openssl rsa -in server.key -out server.key # openssl req -new -days 365 -key server.key -out server.csr
# cd /etc/ssl # openssl ca -in /etc/apache2/ssl/server.csr \ -keyfile ./demoCA/private/cakey.pem -cert ./demoCA/cacert.pem \ -out /etc/apache2/ssl/server.crt
<VirtualHost *:443> SSLEngine on SSLCertificateFile /etc/apache2/ssl/server.crt SSLCertificateKeyFile /etc/apache2/ssl/server.key DocumentRoot /home/ari/dav/ <Location "/"> DAV On AuthType Basic AuthName "WebDAV" AuthUsertFile /etc/apache2/dav.passwd Require valid-user </Location> </VirtualHost>これで、Windows からネットワークプレースの追加で https://server/ を指定すると 「このサイトの証明書発行元は、信頼されていないか不明です」と言われながらも アクセスできた。