2016-07-15 3 views
1

를 찾을 수 없습니다 "joomla.localhost" 로 Joomla에서 모든 파일을이 디렉토리에 복사됩니다 :XAMPP 줌라 가상 호스트 - 대시 보드는 내가 원하는 무엇

C

내가이 URL로 줌라를 시작하려면 : \ XAMPP \ htdocs를 \로 Joomla 내

C에서

: \ XAMPP \ 아파치 \ conf의 \ 추가 \ h를 ttpd-vhosts.conf

<VirtualHost *:80> 
    ServerName joomla.localhost 
    ServerAlias joomla.localhost 
    DocumentRoot "C:/xampp/htdocs/joomla" 
</VirtualHost> 

그리고 내

C에서

: 내

에서 \ XAMPP \ 아파치 \ 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 \ driver 의 \ 등 \ 호스트 : 나는 http://joomla.localhost/installation 모든로 이동하면 괜찮

127.0.0.1  joomla.localhost 

. 나는 joomla를 설치할 수 있습니다. 모두 괜찮습니다. 설치 후 설치 폴더를 삭제합니다. 하지만 http://joomla.localhost 줌라가 http://joomla.localhost/dashboard로 리디렉션됩니다 때 - 그래 인해

header('Location: '.$uri.'/dashboard/'); 

을의 index.php에서. 하지만 - 내가 찾을 수없는 개체가 있는데 ... 무엇이 잘못 되었나요? 내 아파치에 특정 항목이 필요합니까?

감사합니다.

답변

0

내 잘못이었습니다.

<?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 :-(

나는 이유를 알고하지 않습니다 줌라이 PHP (의 index.php)를 생성한다. 다시 설치 한 후에는 문제가 없습니다!