我有3个php应用程序在一台服务器上。我不能修改任何apache文件。如何将.htaccess设置为从url中删除web/文件夹?
192.168.45.54/app1/
192.168.45.54/app2/
192.168.45.54/app3/web - I want to change it to 192.168.45.54/app3/
在地址192.168.45.54/app3/web/ fine上工作正常。但是如何从url中删除web/呢?
我创建了.htaccess文件:
RewriteEngine On
RewriteBase /app3
RewriteCond %{REQU
我是一台带有Apache2虚拟主机的Ubuntu机器。
我无法诊断此问题,因为我的错误日志似乎没有反映此问题
$ sudo /etc/init.d/apache2 start
* Starting web server apache2 [fail]
$ sudo /etc/init.d/apache2 status
Apache is NOT running.
这似乎是在我编辑了一个虚拟主机之后开始的,但我相当确定我已经修复了那个文件,现在Apache不想再启动了。