Salut à tous,
J'ai Fedora 20 avec Apache, PHP et MySQL
J'ai un virtual host pour un site local sous drupal: test.local
dans /etc/httpd/conf.d/test.local.conf
le /etc/hosts
maintenant quand je veux me connecter sur localhost ou sur une page placée dans /var/www/html ça me redirige vers la page d'installation de l'instance drupal http://localhost/install.php.
Par exemple j'ai placé une page info.php sous /var/www/html/
Idem ça me redirige vers
Quand je commente toutes les lignes de /etc/httpd/conf.d/test.local.conf, j'ai accès à info.php et localhost.
Merci de votre aide
J'ai Fedora 20 avec Apache, PHP et MySQL
Code:
$ httpd -v
Server version: Apache/2.4.10 (Fedora)
Server built: Jul 23 2014 10:29:44
Code:
$ mysql -V
mysql Ver 14.14 Distrib 5.5.38, for Linux (x86_64) using readline 5.1
Code:
$ php -v
PHP 5.5.19 (cli) (built: Nov 21 2014 12:01:33)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
J'ai un virtual host pour un site local sous drupal: test.local
dans /etc/httpd/conf.d/test.local.conf
Code:
<VirtualHost *:80>
ServerAdmin mon.email@gmail.com
DocumentRoot /var/www/html/drupal-7.32/
ServerName test.local
ErrorLog /var/log/httpd/test.local-error_log
CustomLog /var/log/httpd/test.local-access_log common
DirectoryIndex index.php
<Directory /var/www/html/drupal-7.32/>
Options Indexes FollowSymLinks MultiViews
Order Deny,Allow
Deny from All
Allow from 127.0.0.1
Allow from ::1
AllowOverride All
</Directory>
</VirtualHost>
le /etc/hosts
Code:
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
127.0.0.1 test.local
maintenant quand je veux me connecter sur localhost ou sur une page placée dans /var/www/html ça me redirige vers la page d'installation de l'instance drupal http://localhost/install.php.
Par exemple j'ai placé une page info.php sous /var/www/html/
PHP:
<?php
print phpinfo();
?>
Idem ça me redirige vers
Vous devez être connecté pour voir les liens.
Quand je commente toutes les lignes de /etc/httpd/conf.d/test.local.conf, j'ai accès à info.php et localhost.
Merci de votre aide