§2023-04-14

failed on utf-8 support


  1. Installation
  • archLinux
    • sudo pacman -S apache
    • `/usr/lib/systemd/system/httpd.service
    [Unit]
    Description=Apache Web Server
    After=network.target remote-fs.target nss-lookup.target
    
    [Service]
    Type=simple
    ExecStart=/usr/bin/httpd -k start -DFOREGROUND
    ExecStop=/usr/bin/httpd -k graceful-stop
    ExecReload=/usr/bin/httpd -k graceful
    PrivateTmp=true
    LimitNOFILE=infinity
    KillMode=mixed
    
    [Install]
    WantedBy=multi-user.target
    

    diff httpd.conf.ori httpd.conf

52c52,56 < Listen 80

Listen h2nas01.yushei.net:8888

AddDefaultCharset UTF-8 AddCharset UTF-8 .html .css .js .xml .json .rss .atom .md IndexOptions Charset=UTF-8 113c117 < #LoadModule charset_lite_module modules/mod_charset_lite.so


LoadModule charset_lite_module modules/mod_charset_lite.so 255,256c259,260 < DocumentRoot "/srv/http" < <Directory "/srv/http">


DocumentRoot "/opt/munetakaJupyterHub" <Directory "/opt/munetakaJupyterHub"> ```

still can not fix japanese diretories display correctory in UTF-8?

Return to Top