<VirtualHost *:443>
    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
	<Directory "E:/phpstudy/WWW/nextplus">
		Options FollowSymLinks ExecCGI
		AllowOverride All
		Order allow,deny
		Allow from all
		Require all granted
		DirectoryIndex index.php index.html
	</Directory>
	
	Alias /archive "E:/phpstudy/WWW/nextplus-archive/public"
  	Alias /archive-static "E:/phpstudy/WWW/nextplus-archive/public/archive-static"
	<Directory "E:/phpstudy/WWW/nextplus-archive/public">
		Options FollowSymLinks ExecCGI
		AllowOverride All
		Order allow,deny
		Allow from all
		Require all granted
		DirectoryIndex index.php index.html
	</Directory>
	
	
	Alias /api "E:/phpstudy/WWW/nextplus-archive-api/public"
	<Directory "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
	</Directory>
</VirtualHost>


相关文章:

  • 2022-01-23
  • 2023-02-26
  • 2022-12-23
  • 2021-10-21
  • 2021-06-06
  • 2021-10-10
  • 2021-07-08
  • 2021-07-30
猜你喜欢
  • 2022-12-23
  • 2021-12-30
  • 2022-12-23
  • 2022-01-17
  • 2022-12-23
  • 2021-12-07
  • 2022-12-23
相关资源
相似解决方案