MAMP 更改 httpd.conf 以使用通配符

问题描述

添加ServerAlias *.MAMP_VirtualHost_ServerName_MAMP ~^(.*).MAMP_VirtualHost_ServerName_MAMP$ 以使用通配符。我有多租户系统,可以创建子域。

MAMP 文档的通配符信息为零。我看到他们使用这个服务器别名的帖子。 我的错误日志>

Sun Dec 27 13:14:12 2020] [warn] pid file E:/MAMP/bin/apache/logs/httpd.pid overwritten -- Unclean shutdown of prevIoUs Apache run?
[Sun Dec 27 13:14:12 2020] [notice] Digest: generating secret for digest authentication ...
[Sun Dec 27 13:14:12 2020] [notice] Digest: done
[Sun Dec 27 13:14:13 2020] [notice] Apache/2.2.31 (Win32) DAV/2 mod_ssl/2.2.31 OpenSSL/1.0.2h mod_fcgid/2.3.9 mod_wsgi/3.4 Python/2.7.6 mod_perl/2.0.8 Perl/v5.16.3 configured -- resuming normal operations
[Sun Dec 27 13:14:13 2020] [notice] Server built: May  6 2016 10:19:53
[Sun Dec 27 13:14:13 2020] [notice] Parent: Created child process 1820
[Sun Dec 27 13:14:14 2020] [notice] Digest: generating secret for digest authentication ...
[Sun Dec 27 13:14:14 2020] [notice] Digest: done
[Sun Dec 27 13:14:15 2020] [notice] Child 1820: Child process is running
[Sun Dec 27 13:14:15 2020] [notice] Child 1820: Acquired the start mutex.
[Sun Dec 27 13:14:15 2020] [notice] Child 1820: Starting 64 worker threads.
[Sun Dec 27 13:14:15 2020] [notice] Child 1820: Starting thread to listen on port 80.
[Sun Dec 27 13:19:02 2020] [error] [client 127.0.0.1] File does not exist: E:/MAMP/htdocs/wpad.dat
[Sun Dec 27 13:29:02 2020] [error] [client 127.0.0.1] File does not exist: E:/MAMP/htdocs/wpad.dat
[Sun Dec 27 13:39:02 2020] [error] [client 127.0.0.1] File does not exist: E:/MAMP/htdocs/wpad.dat
[Sun Dec 27 13:49:02 2020] [error] [client 127.0.0.1] File does not exist: E:/MAMP/htdocs/wpad.dat
[Sun Dec 27 13:55:07 2020] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Sun Dec 27 13:55:07 2020] [notice] Child 1820: Exit event signaled. Child process is ending.
[Sun Dec 27 13:55:08 2020] [notice] Child 1820: Released the start mutex
[Sun Dec 27 13:55:09 2020] [notice] Child 1820: All worker threads have exited.
[Sun Dec 27 13:55:09 2020] [notice] Child 1820: Child process is exiting
[Sun Dec 27 13:55:17 2020] [error] FastCGI process 8848 still did not exit,terminating forcefully
[Sun Dec 27 13:55:17 2020] [error] FastCGI process 3364 still did not exit,terminating forcefully
[Sun Dec 27 13:55:18 2020] [notice] Parent: Child process exited successfully.

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...