在实践中,运行一个可能的VPS解决方案以替代失败的共享主机环境,我已经在我的Windows机器上的Ubuntu12.10虚拟机上安装了一个应用程序。dev环境运行正常。但之后
projectmana@ubuntu:~/www2.projectmana.org$ php app/console cache:clear --env=prod --no-debug
Clearing the cache for the prod environment with debug false
projectmana@ubuntu:~/www2.projectmana.org$ chmod -R 777 ap
我如何才能找出哪个虚拟主机网站导致的错误,而不是通过我所有的虚拟主机和更改日志级别?
Request exceeded the limit of 40 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
我能够访问主页,但其他每个页面都会出现404错误(apache 404,而不是laravel 404错误页),我不知道原因。已经安装了composer依赖项,npm也是如此。这些路线一定在某种程度上起作用,否则我根本无法访问我的索引页面。以下是我对启用站点的apache配置
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used whe
我今天为我的网站重新颁发了SSL证书,但是现在apache2将不再启动。我从service apache2 start得到的只有这个:
[....] Starting web server: apache2[Sat Apr 12 13:52:51 2014] [warn] NameVirtualHost *:80 has no VirtualHosts
Action 'start' failed.
The Apache error log may have more information.
failed!
(当apache2正在加载VirtualHost *:80个站点时,
首先,我可以从本地主机访问该网页。但是如果我要从外部机器访问它,我就无法访问该页面。
这是我在运行python manage.py runserver 0.0.0.0:8000时得到的结果
System check identified no issues (0 silenced).
September 18, 2018 - 05:45:59
Django version 2.0.6, using settings 'sage.settings'
Starting ASGI/Channels version 2.1.2 development server at http://
我试图在apache2上和站点上运行一个端口80和1998年的网站--我的配置如下所示:
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# spec
yesterday.today项目仍在工作,当我打开它时,它显示了404错误.
in /etc/apache2/sites-available/ new swap file is appeared i removed and started the apache2 server again still it is not working. When i open logs it shows: caught SIGTERM, shutting down[notice] Apache/2.2.22 (Ubuntu) PHP/5.4.9-4ubuntu2.4 configured --