Pages : 1
#1 Le 11/06/2007, à 02:47
- lolpapa
newbie - pb configuration apache2 en local
Bonjour,
J'ai un petit soucis
J'ai installé un framework (Symfony) et xampp sur Ubuntu Feisty. J'ai lu et refais trois fois les tuto d'installation de l'un et de l'autre mais mon pb persiste.
J'ai installé Xampp et cela fonctionne bien j'arrive sur la page d'accueil en local
J'ai installé Symfony et là pareil ça marche bien.
J'ai débuté un projet avec Symfony : le tuto askeet, mais voilà, après avoir fait les changement indiqués par la documentation du projet et lancé le localhost (http://askeet) pour voir ce que cela donne, il me rajoute tout le temps /xampp ( http://askeet/xampp. ) et pointe donc sur la page de démarage de xampp plutôt que sur mon projet (http://askeet)
Je ne sais plus quoi faire.
voici le /etc/hosts
127.0.0.1 localhost askeet
127.0.1.1 geoffrey-desktop
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
et le askeet de sites-available
<Directory "/usr/share/php/data/symfony/web/sf">
AllowOverride All
Allow from All
</Directory>
<VirtualHost *>
ServerName askeet
DocumentRoot "/home/geoffrey/sfprojects/askeet/web"
DirectoryIndex index.php
Alias /sf /usr/share/php/data/symfony/web/sf
<Directory "/home/geoffrey/sfprojects/askeet/web">
AllowOverride All
Allow from All
</Directory>
</VirtualHost>
le default
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
#RedirectMatch ^/$ /apache2-default/
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
j'ai aussi ajouté ajouté NameVirtualHost askeet à la fin de apache2.conf
J'ai vérifier les chemins aux fichiers et à php et /sf mais vraiment je ne comprends pas.
Je ne sais pas où se situe mon erreur.
Pouvez-vous m'aider ?
Ce n'est pas parce que les choses sont difficiles que nous n'osons pas, c'est parce que nous n'osons pas qu'elles sont difficiles ![br]
Seneque
Hors ligne
#2 Le 12/06/2007, à 17:06
- macsim
Re : newbie - pb configuration apache2 en local
On dirait que ça viend du index.php on pourrait avoir le contenu du fichier stp ?
Some people says that if you play a Windows XP install CD backwards you will hear demon voices commanding you to worship Satan. But that's nothing. If you play it forward it will install Windows XP.
Hors ligne
Pages : 1