Linux?
yum install httpd
yum install php-common php-mbstring
yum install openssl mod_ssl
AuthUserFile /var/honya/honya/.htpasswd AuthGroupFile /dev/null AuthName "Please Input! UserName & Password(^^)" AuthType Basic require valid-user
<Directory /> AllowOverride All Options Indexes FollowSymLinks </Directory>
htpasswd -c /var/honya/honya/.htpasswd (username)
htpasswd /var/honya/honya/.htpasswd (username)
echo "umask 002" >> /etc/sysconfig/httpd /etc/init.d/httpd restart
/etc/apache2/envvars
<Directory /> # Options FollowSymLinks # AllowOverride None Redirect / https://www.tar3.net/ </Directory>
<IfModule prefork.c> StartServers 10 MinSpareServers 10 MaxSpareServers 10 ServerLimit 100 MaxClients 100 MaxRequestsPerChild 1000 </IfModule>
Timeout 60 KeepAlive Off
HostnameLookups Off