Pages : 1
#1 Le 10/10/2006, à 12:36
- sylux
[Résolu] Apache2 : Accès à l'index impossible
savez vous ou je peut retrouver le fichier sites-available/default ?:|
ou me corriger mes erreurs ?
voici ce que j'ai quand je redemarre mon apache2 (ou que je relie la config) :
Warning: DocumentRoot [/var/www/epl] does not exist
de plus http://localhost/epl me donne (dans une page firefox)
Not Found
The requested URL /epl was not found on this server.
Apache/2.0.55 (Ubuntu) PHP/5.1.2 Server at localhost Port 80
ca me l'a fait alors que je bidouillait le fichier : /etc/apache2/sites-available/default
je vous le met ci dessous :
NameVirtualHost *
<VirtualHost *>
ServerAdmin syluxxatgmail.com
DocumentRoot /var/www/epl<Directory /var/www/epl>
Options Indexes FollowSymLinks
AllowOverride All All
</Directory>
<Directory /var/www/epl>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# Uncomment this directive is you want to see apache2's
# default start page (in /apache2-default) when you go to /
#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 warnCustomLog /var/log/apache2/access.log combined
ServerSignature OnAlias /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>Alias /phpmyadmin "/usr/share/phpmyadmin"
<Directory "/usr/share/phpmyadmin">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>Alias /egr "/var/www/egr"
<Directory "/var/www/egr">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory></VirtualHost>
enfin phpmyadmin fonctionne correctement
merci
Dernière modification par sylux (Le 10/10/2006, à 22:42)
Hors ligne
#2 Le 10/10/2006, à 22:41
- sylux
Re : [Résolu] Apache2 : Accès à l'index impossible
clic clac on passe à l'attaque
j'ai trouvé ma bétise
au tout début : ServerAdmin syluxxatgmail.com
il faut mettre un @ au lieu de "at"
(vous pouvez supprimer le post si vous voulez)
merci au 7 lecteurs quand meme!
Hors ligne
Pages : 1