ulimit -u 2048
apache sofr nproc 2048 apache hard nproc 2048
<Directory "/var/www/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all AddHandler text/css .css ★追加 AddHandler text/javascript .js ★追加 </Directory>
AddHandler <ハンドラ> <拡張子>
shishimaru@v-cent65% sudo service httpd start Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using 192.168.3.65 for ServerName [ OK ]
vi /etc/httpd/conf/httpd.conf ServerName v-cent65:80
htpasswd <パスワードファイルパス> <ユーザ名>
htpasswd -c <パスワードファイルパス> <ユーザ名>
<LocationMatch "^/git"> AuthType Basic AuthName "git repository" Require valid-user AuthUserFile /etc/apache2/htpasswd </LocationMatch>
ScriptAlias /cgi-bin/ "/home/apache/my-cgi-bin/"