oui
j'ai cree l'user et le groupe httpd et j'ai modifie aussi commonhttpd.conf
(user et groupe sous le quel tourne apache)
 ls -l
total 1
drwx--x--x   14 httpd    httpd         393 sep 20 03:13 httpd/
dans httpd il y a le dossier suivant
drwxrwxr-x    7 httpd    httpd         564 sep 19 18:30 solid/
dans le quel il y a mes fichieres
[root@server solid]# ls -l
total 103
-rwxr--r--    1 httpd    httpd        4874 sep 20 18:18 activite1.htm*
-rwxr--r--    1 httpd    httpd        2634 sep 20 18:19 activite2.htm*
-rwxr--r--    1 httpd    httpd        8761 sep 20 18:21 activite3.htm*
-rwxr--r--    1 httpd    httpd        5234 sep 20 18:22 contact.htm*
-rwxr--r--    1 httpd    httpd        9102 sep 20 18:26 demande.htm*
-rwxr--r--    1 httpd    httpd         114 f�v 25  2000 desktop.ini*
-rwxr--r--    1 httpd    httpd        7606 sep 15 00:09 down.htm*
-rwxr--r--    1 httpd    httpd        1646 sep 15 00:08 form.css*
drwxr-xr-x    2 httpd    httpd          35 sep 19 18:30 images/
drwxr-xr-x    4 httpd    httpd         261 sep 19 18:30 img/
-rwxr--r--    1 httpd    httpd         583 sep 15 00:09 index1.htm*
-rwxr--r--    1 httpd    httpd         561 sep 15 00:09 index.htm*
-rwxr--r--    1 httpd    httpd         112 sep 15 00:09 left.htm*
-rwxr--r--    1 httpd    httpd        1103 sep 15 00:08 link.css*
-rwxr--r--    1 httpd    httpd        4827 sep 15 18:51 middle.htm*
drwxr-xr-x    2 httpd    httpd          35 sep 19 18:30 _private/
-rwxr--r--    1 httpd    httpd          48 sep 15 00:09 right.htm*
-rwxr--r--    1 httpd    httpd        4712 sep 20 18:28 surnous1.htm*
-rwxr--r--    1 httpd    httpd         331 sep 15 00:09 up.htm*
drwxr-xr-x    2 httpd    httpd         424 sep 19 18:30 _vti_cnf/
drwxr-xr-x    2 httpd    httpd         277 sep 19 18:30 _vti_pvt/

sous suse 7.3 sa a marche tres bien

----- Original Message -----
From: "Sebastien de Mendonca" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 30, 2002 3:41 PM
Subject: Re: [Confirme] creation dun virtual host


> Es tu sur que apache a les droits d'acces en lecture au rep?
>
> > Bonjour,
> > Je outilise mdk 8.2
> >
> > J'ai cree un virtual host dans Virtuals.conf
> > "NameVirtualHost www.solidconnex.com
> >
> > <VirtualHost  www.solidconnex.com:80>
> >     ServerName  www.solidconnex.com
> >     DocumentRoot /home/httpd/solid
> > </VirtualHost>"
> >
> >
> > J'ai comme connexion une connexion adsl (ip dynamique avec un serveur
> > dns distant sur le quel je fait nsupdate de mon ip chaque foix que il
> > change donc le nom de domaine pointe tujours vers mon serveur)
> >
> >
> > J'ai redemare apache
> > "[root@server vhosts]# apachectl restart
> > Arr�t de httpd-perl :                                           [  OK  ]
> > Arr�t de httpd :                                                [  OK  ]
> > Lancement de httpd-perl :                                       [  OK  ]
> > Lancement de httpd :                                            [  OK
> > ]"
> >
> >
> > Au moment ou je lance mon explorer avec comme url
> > httpd://www.solidconnex.com j'ai comme reponse
> >
> > "Forbidden
> > You don't have permission to access / on this server.
> >
> >
>
> --------------------------------------------------------------------------
------
> >
> > Apache-AdvancedExtranetServer/1.3.23 Server at www.solidconnex.com Port
> > 80"
> >
> >
> > et dans /var/log/http/error_log j'ai lerreur suivante apres que j'e
> > essaye d'afficher l'url www.solidconnex.com    "[Mon Sep 30 15:23:43
> > 2002] [error] [client 80.11.29.195] client denied by server
> > configuration: /home/httpd/solid"
> >
> > Veuilez m'eclarer sur cette situation svp
> > Merci d'avance.
>
>
> --
>                               www
>                               (0 o)
> ------------------.o0O--(_)--OOo.------------------
> Democracy it's to have the power to think freely.
>   Think GNU-Linux!                     www.gnu.org
>
> See:                           http://tuysav.tuxfamily.org
>                            http://smendonca.tuxfamily.org
>
>
>
>


----------------------------------------------------------------------------
----


> Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
> Rendez-vous sur "http://www.mandrakestore.com";
>


___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais !
Yahoo! Mail : http://fr.mail.yahoo.com

Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com";

Répondre à