[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Sarge 3.1] Apache 2.0.55 en tar.gz



Dominique Claver KOUAME a écrit :
Bjr à tous,
J'ai installé apache 2.0.55 (package tar.gz) avec
default  root /usr/local/apache2.
Je veux maintenant configurer des virtualhosts sur ce
serveur.
Quelqu'un peut-il m'aider ?

Merci à tous.

============================ 
Dominique Claver KOUAME, 
Ingénieur Systèmes - Réseaux & Télécoms 
Arobase Telecom S.A 
skype : kdclaver 
+255-05960024 (mobile) 
+255-22409832 (bureau)
+225-22409834 (fax)
25 BP 1464 Abidjan 25




	

	
		
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com


  
Salut
Mon dossier /etc/apache2 contient 2 sous dossier : "sites-enable" et "sites-available".
sites-enabled contient un lien symbolique "000-default" vers /etc/apache2/sites-available" et
sites-available contient 000-default. Il s'agit du fichier de config par défaut pour les VHosts. Mon ordi s'appelle cerbere (ip 172.16.113.222)
voici 000-default

NameVirtualHost cerbere
<VirtualHost cerbere>
    ServerAdmin abilyg@apinc.org
   
    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
                # Commented out for Debian
                #RedirectMatch ^/$ /apache2-default/
    </Directory>

    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
    <Directory "/usr/lib/cgi-bin">
        AllowOverride None
        Options ExecCGI MultiViews FollowSymLinks
        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>


Je crois bien que c'est suffisant... Bonne chance.
Cordialement, Guillaume.

Reply to: