DocumentRoot "E:/phpstudy/WWW/nextplus"
ServerName local-main.com
ServerAlias
SSLEngine on
SSLCertificateFile "E:/phpstudy/Extensions/Apache2.4.39/conf/ssl/local-nextplus.nextmedia.com.crt"
SSLCertificateKeyFile "E:/phpstudy/Extensions/Apache2.4.39/conf/ssl/local-nextplus.nextmedia.com.key"
FcgidInitialEnv PHPRC "E:/phpstudy/Extensions/php/php7.2.9nts"
AddHandler fcgid-script .php
FcgidWrapper "E:/phpstudy/Extensions/php/php7.2.9nts/php-cgi.exe" .php
Options FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
DirectoryIndex index.php index.html
Alias /archive "E:/phpstudy/WWW/nextplus-archive/public"
Alias /archive-static "E:/phpstudy/WWW/nextplus-archive/public/archive-static"
Options FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
DirectoryIndex index.php index.html
Alias /api "E:/phpstudy/WWW/nextplus-archive-api/public"
Options FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
DirectoryIndex index.php index.html
该博客内容涉及配置Apache服务器,包括设置DocumentRoot、ServerName、ServerAlias等,启用了SSLEngine,并指定了SSL证书文件和密钥文件路径。此外,还配置了PHP环境变量,处理.php文件的FCGI模块,以及定义了多个目录的访问权限和索引文件。

2459

被折叠的 条评论
为什么被折叠?



