doc:syno_tools

Ceci est une ancienne révision du document !


  • keywords : ~/.bashrc /etc/profile ~/.bash_profile ~/.bash_login ~/.profile

# this file is located /root/.ssh/environment
BASH_ENV=/root/.bashrc

# this file is located /root/.bashrc
JEFF="~/.bashrc"
PATH=$PATH:/opt/bin:/opt/sbin
#in /root/.ssh/environment : BASH_ENV=/root/.bashrc

# this file is located /etc/ssh/sshd_config
PermitUserEnvironment yes

    # jeff  php-cgi  ### trick to send php to /opt/bin/php-cgi
    # from https://openwrt.org/docs/guide-user/services/webserver/http.apache
    #
<IfModule cgi_module>
    ScriptAlias /php/     "/opt/bin/"
    <Directory "/opt/bin/">
        Require all denied
        <Files php-cgi>
           Require all granted
        </Files>
    </Directory>
    AddHandler application/x-httpd-php   .php
    Action     application/x-httpd-php   "/php/php-cgi"
</IfModule>

; jeff php-cgi ---- commented doc_root = "/opt/share/www"
line_endings = Off

; jeff php-cgi
force_cgi_redirect = 0
cgi.force_redirect = 0
; /jeff

  • doc/syno_tools.1655718665.txt
  • Dernière modification : 2022/06/20 11:51
  • de admin