【发布时间】:2016-11-18 22:47:38
【问题描述】:
我想要什么:
我想用这个 URL 启动 Joomla:“joomla.localhost” joomla 中的所有文件都复制到此目录中:
C:\xampp\htdocs\joomla
在我的
C:\xampp\apache\conf\extra\httpd-vhosts.conf
<VirtualHost *:80>
ServerName joomla.localhost
ServerAlias joomla.localhost
DocumentRoot "C:/xampp/htdocs/joomla"
</VirtualHost>
在我的
C:\xampp\apache\conf\httpd.conf
<Directory "C:/xampp/htdocs/joomla">
Options Indexes FollowSymLinks Includes ExecCGI
Order allow,deny
Allow from all
AllowOverride All
</Directory>
在我的
C:\Windows\System32\drivers\etc\hosts:
127.0.0.1 joomla.localhost
当我导航到http://joomla.localhost/installation 一切都好。我可以安装joomla。一切都很好。 安装后我删除安装文件夹。 但是当我尝试http://joomla.localhost 时,joomla 将重定向到http://joomla.localhost/dashboard - 是的,因为
header('Location: '.$uri.'/dashboard/');
在 index.php 中。 但是 - 我没有找到对象......所以出了什么问题? 我的 apache 中是否需要特定条目?
谢谢!
【问题讨论】: