間違いだらけの備忘録

このページの内容は無保証でありこのページの内容によって直接、または間接に損害を受けられたとしても私は責任を取りません。

pound

https://calomel.org/pound.html

CheckURL "(^\/|\.html|\.css|\.jpg|favicon\.ico|robots\.txt|\.png)$" matches the incoming request. If a request fails to match than this service will be skipped and next one tried. If all services fail to match Pound returns an error. The example URL string specifies the file types we expect a client to want to retrieve. If the client tries to get any file other than those listed the request will fail. The dollar sign ($) says that all the strings listed must be located at the end of the request URL. This line will allow:

    * ^\/ allows the root request http://your_host.com/ to be accepted. / is expanded into /index.html by the web server
    * \.html HTML page files
    * \.css Cascading Style Sheets
    * \.jpg JPG pictures
    * favicon\.ico is the only .ico file
    * robots\.txt is the only text file
    * \.png PNG pictures
    * $ says that each of these strings have to be located at the end of the line

めも
未検証

このページにはhatena以外のサービスからのコンテンツが埋め込まれています。 hatenaによりGoogle AdSense 広告が埋め込まれています。