我想要的:
我想用以下网址启动Joomla:"joomla.localhost“--所有来自joomla的文件都复制在这个目录中:
C:\xampp\htdocs\joomla
在我的
C:\xampp\apache\conf\附加\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 32\drivers\etc\主机:
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中是否需要一个特定的条目?
谢谢!
发布于 2016-07-15 16:38:24
都是我的错。Joomla创建这个PHP (index.php):
<?php
if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
$uri = 'https://';
} else {
$uri = 'http://';
}
$uri .= $_SERVER['HTTP_HOST'];
header('Location: '.$uri.'/dashboard/');
exit;
?>
Something is wrong with the XAMPP installation :-(我也不知道原因。重新安装后一切都很好!
https://stackoverflow.com/questions/38400951
复制相似问题