Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1484 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs

  virtualhosts / mdk8

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

virtualhosts / mdk8

n°26532
nicymiki
Posté le 28-08-2001 à 14:08:01  profilanswer
 

faut-il imperativement creer un serveur DNS pour installer  des virtualhosts car je n'arrive à les configurer.
la 1ere page du serveur ok les autres non

mood
Publicité
Posté le 28-08-2001 à 14:08:01  profilanswer
 

n°26535
nicotine
Posté le 28-08-2001 à 14:43:03  profilanswer
 

non .
 
fais voir ton <virtualhosts>


---------------
Do androïds dream of electric sheep ?
n°26536
nicymiki
Posté le 28-08-2001 à 14:56:27  profilanswer
 

Voici mon virtualhost, configurer pour les pages perso  d'un utilisateur (pascal)
 
 
################# Vhosts.conf
#This is where we store the VirtualHosts configuration.
#
#Since Apache 1.3.19, we modified the setup to include some nice tricks:
#
#- We added the User and Group directives so VirtualHosts now work with
#  suexec directive. If set, Apache will run all cgi scripts under that
#  user and group (provided the uid and gid are > 100 for security). The
#  directories and cgi files *must* belong to that user/group for the
#  feature to work
#- We added the Setenv VLOG directive. This works in conjunction with
#  the CustomLog in common.conf. When Setenv VLOG is set, apache will
#  create a /var/log/httpd/VLOG-YYYY-MM-<ServerName>.log instead of logging
#  to access_log. Use this instead of defining a special logfile for
#  each vhost, otherwise you eat up file descriptors.
#- You can also specify a path for the VLOG for each Vhost, for example,
#  to place the logs in each user's directory. However, if you want to
#  use the file for accounting, place it in a directory owned by root,
#  otherwise the user will be able to erase it.
#- I suggest only including the ErrorLog *only* if the vhost will use
#  cgi scripts. Again, it saves file descriptors!
#- We added the Rewrite directives so vhosts will work with the
#  PERLPROXIED configuration
 
################# IP-based Virtual Hosts
#<VirtualHost 172.16.2.69:80>
#User olivier
#Group smbusers
#DocumentRoot /home/olivier
#ServerName olivier
#Setenv VLOG /home/jmdault/logs
#ErrorLogs /home/jmdault/test2-error_log
#ewriteEngine On
#RewriteOptions inherit
#</VirtualHost>
 
################# Named VirtualHosts
 
 
NameVirtualHost 172.16.2.69
 
 
<VirtualHost pascal.com>
    DocumentRoot home/pascal/www
    ServerName pascal.com
    CustomLog /var/log/httpd/pascal-access_log common
</VirtualHost>
 
 
merci

n°26538
nicymiki
Posté le 28-08-2001 à 15:35:11  profilanswer
 

Pas d'idées????????????????????HELP

n°26539
Graphistne​t
Posté le 28-08-2001 à 15:39:30  profilanswer
 

je mettrai :
<VirtualHost 172.16.2.69:80>
        DocumentRoot /home/pascal/www
        ServerName pascal.com
        ErrorLog /var/log/httpd/pascal-error_log
        Customlog /var/log/httpd/pascal-access_log common
</VirtualHost>
 
 
 
et ne pas oublier de redémarrer apache apres chaque changement  ;)

 

[edtdd]--Message édité par graphistnet--[/edtdd]


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs

  virtualhosts / mdk8

 

Sujets relatifs
PC (mdk8) ne boote pas sur Abit HotRod 66 avec un dur 40 go IBMdriver Fasttrack66 pour Mdk8 ???????????
Nessus sur Mdk8 ---> prb <---newbieConnection internet et mdk8 ?
Multiboot 2000-MDK8 avec Boot magic.mdk8 + drivers Nvidia = pas d'acceleration !!!
[MDK8] créer un serveur ftp avec proftpd?[MDK8] où s'installe apache sur la mandrake 8 ?
Dualboot 2000 et MDK8Encore besoin d'aide pour MDK8 !! (Iso CD = OK)
Plus de sujets relatifs à : virtualhosts / mdk8


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR