Pages : 1
#1 Le 20/12/2007, à 00:50
- camalitée
serveur apache qui refuse de tourner sur le portable
bonjour
avec la patience et l'aide de dexmon j'ai pu faire tourné mon premier serveur apache qui héberge le site de l'asso
partant bosser en saison j'ai voulu tout transférer sur mon portable
à l'heure actuel apache du portable travaille sur le port 8080--- la redirection livebok est ok
j'ai repris tous mes ancien post et verifier les configs
le portable à exactement la même arborescence que le pc maison
et rie a faire ça ne tourne pas
Citation:
fichier log erreur
Wed Dec 19 15:59:28 2007] [notice] Apache/2.2.4 (Ubuntu) configured -- resuming normal operations
[Wed Dec 19 16:33:51 2007] [notice] caught SIGWINCH, shutting down gracefully
[Wed Dec 19 16:34:01 2007] [notice] Apache/2.2.4 (Ubuntu) configured -- resuming normal operations
[Wed Dec 19 16:38:54 2007] [notice] SIGUSR1 received. Doing graceful restart
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
[Wed Dec 19 16:38:54 2007] [notice] Apache/2.2.4 (Ubuntu) configured -- resuming normal operations
[Wed Dec 19 16:39:07 2007] [notice] caught SIGWINCH, shutting down gracefully
[Wed Dec 19 16:39:17 2007] [notice] Apache/2.2.4 (Ubuntu) configured -- resuming normal operations
[Wed Dec 19 16:39:27 2007] [error] [client 127.0.1.1] File does not exist: /htdocs
[Wed Dec 19 16:41:59 2007] [notice] caught SIGWINCH, shutting down gracefully
[Wed Dec 19 16:42:09 2007] [notice] Apache/2.2.4 (Ubuntu) configured -- resuming normal operations
[Wed Dec 19 16:49:29 2007] [notice] caught SIGWINCH, shutting down gracefully
[Wed Dec 19 16:49:39 2007] [notice] Apache/2.2.4 (Ubuntu) configured -- resuming normal operations
Citation:
le fichier site-available
NameVirtualHost *:8080
<VirtualHost *:8080>
DirectoryIndex index.html index.htm default.html default.htm
ServerName cha-scout.no-ip.biz
ServerAdmin webmaster@localhost
DocumentRoot /home/apcs/site_challenger/
<Directory /home/apcs/site_challenger/>
<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>
Citation:
port.conf est bien configurer
Code:
listen 8080
ai je oublier quelque chose ??
merci à vous
#2 Le 26/12/2007, à 11:43
- Mr. FX
Re : serveur apache qui refuse de tourner sur le portable
Salut
as tu besoin des virtualhost ?
Tu supprime les configs que tu a fait est tu mes le contenu dans /var/www san oublier de donner les permission a ton utilisateur en créant un groupe webadmin qui a le droit d'écriture au dossier et en ajoutant ton utilisateur dedans puis un petit lien vers ton dossier perso.
Je suis en qwerty tqpew pqs sur mes qccents :-)
Hors ligne