2016-07-15 5 views
1

Ce que je veux:XAMPP Joomla Vhost - Tableau de bord ne se trouve pas

Je veux commencer Joomla cette URL: "joomla.localhost" Tous les fichiers sont copiés à partir joomla dans ce répertoire:

C : \ xampp \ htdocs \ joomla

Dans mon

C: \ xampp \ apache \ conf \ supplémentaire \ h ttpd-vhosts.conf

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

Et dans mon

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> 

Dans mon

C: \ Windows \ System32 \ driver s \ etc \ hosts:

127.0.0.1  joomla.localhost 

Quand je navigue à http://joomla.localhost/installation tout est ok. Je peux installer joomla. Tout est bon. Après l'installation, je supprime le dossier d'installation. Mais quand j'essaie http://joomla.localhost joomla redirigera à http://joomla.localhost/dashboard - ouais à cause de

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

dans le index.php. Mais - J'ai trouvé un objet introuvable ... alors qu'est-ce qui ne va pas? Existe-t-il une entrée spécifique dans mon apache?

Merci!

Répondre

0

C'était de ma faute. Joomla crée cette 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 :-(

Je ne sais pas pourquoi. Après réinstaller tout va bien!