Problème Apache

Problème Apache - PHP - Programmation

Marsh Posté le 04-11-2004 à 23:46:06    

Bonsoir,  
 
Voici mon problème, je pointe un nom de domaine chez moi www.monsite.com
et je voudrais avoir des sous domaine automatique : genre  
http://toto.monsite.com
 
J'ai lu qu'il fallait éditer le httpd.conf de mon serveur apache
 je rajoute ça :  
 
<VirtualHost 82.224.153.97>  
ServerAdmin webmaster_AT_myweby.com
DocumentRoot c:/program files/easyphp/www
ServerName www.myweby.com
ServerAlias myweby.com *.myweby.com
VirtualDocumentRoot c:/program files/easyphp/www/user/%-3.0  
UseCanonicalName off  
</virtualHost>  
 
Mais quand je lance easyphp il me met comme erreur :  
"DocumentRoot takes one argument, Root directory of the document tree"
 
Kkun pourrait m'aider please? pourtant je crois que mon document root est bon...

Reply

Marsh Posté le 04-11-2004 à 23:46:06   

Reply

Marsh Posté le 05-11-2004 à 00:02:36    

http://httpd.apache.org/docs/vhosts/
 
\o_


---------------
from here and there -- \o__________________________________ -- la révolution de la terre, en silence
Reply

Marsh Posté le 05-11-2004 à 11:38:19    

irong a écrit :

Bonsoir,  
 
Voici mon problème, je pointe un nom de domaine chez moi www.monsite.com
et je voudrais avoir des sous domaine automatique : genre  
http://toto.monsite.com
 
J'ai lu qu'il fallait éditer le httpd.conf de mon serveur apache
 je rajoute ça :  
 
<VirtualHost 82.224.153.97>  
ServerAdmin webmaster_AT_myweby.com
DocumentRoot c:/program files/easyphp/www
ServerName www.myweby.com
ServerAlias myweby.com *.myweby.com
VirtualDocumentRoot c:/program files/easyphp/www/user/%-3.0  
UseCanonicalName off  
</virtualHost>  
 
Mais quand je lance easyphp il me met comme erreur :  
"DocumentRoot takes one argument, Root directory of the document tree"
 
Kkun pourrait m'aider please? pourtant je crois que mon document root est bon...


Mets tes valeurs entre guillemets (c'est l'espace dans "program files" qui pose problème).


---------------
Mon blog
Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed