[Apache] Probleme d'URL

Probleme d'URL [Apache] - Divers - Programmation

Marsh Posté le 22-04-2004 à 13:45:38    

Bonjour
 
J'ai un problème de configuration de mon serveur :
 
Quand je mets une adresse de type :
 
http://www.monserver.com/dossier
 
il veut pas ...
 
Alors quand on tape :
 
http://www.monserver.com/dossier/
 
ça marche.
 
 
Où configurer ceci ?

Reply

Marsh Posté le 22-04-2004 à 13:45:38   

Reply

Marsh Posté le 22-04-2004 à 13:52:05    

Code :
  1. <VirtualHost *>
  2.         ServerAdmin webmaster@localhost
  3.         ServerName www.chezmoi.com/dossier
  4.         DocumentRoot /var/www/dossier
  5.         <Directory /var/www/dossier/>
  6.                 Options Indexes FollowSymLinks MultiViews
  7.                 DirectoryIndex index.html
  8.                 AllowOverride None
  9.                 Order allow,deny
  10.                 allow from all
  11.         </Directory>
  12.         ErrorLog /var/log/apache2/error.log
  13.         # Possible values include: debug, info, notice, warn, error, crit,
  14.         # alert, emerg.
  15.         LogLevel warn
  16.         CustomLog /var/log/apache2/access.log combined
  17.         ServerSignature On
  18. </VirtualHost>


 
J'ai ça chez moi, j'ai divisé en plusieurs virtualhosts.


Message édité par chaica le 22-04-2004 à 13:52:49
Reply

Marsh Posté le 22-04-2004 à 14:01:51    

chaica a écrit :

Code :
  1. <VirtualHost *>
  2.         ServerAdmin webmaster@localhost
  3.         ServerName www.chezmoi.com/dossier
  4.         DocumentRoot /var/www/dossier
  5.         <Directory /var/www/dossier/>
  6.                 Options Indexes FollowSymLinks MultiViews
  7.                 DirectoryIndex index.html
  8.                 AllowOverride None
  9.                 Order allow,deny
  10.                 allow from all
  11.         </Directory>
  12.         ErrorLog /var/log/apache2/error.log
  13.         # Possible values include: debug, info, notice, warn, error, crit,
  14.         # alert, emerg.
  15.         LogLevel warn
  16.         CustomLog /var/log/apache2/access.log combined
  17.         ServerSignature On
  18. </VirtualHost>


 
J'ai ça chez moi, j'ai divisé en plusieurs virtualhosts.


 
ça se trouve dans quel fichier ?

Reply

Marsh Posté le 22-04-2004 à 14:08:48    

mazda3 a écrit :

ça se trouve dans quel fichier ?


 
Le fichier de conf principal. Pour moi httpd.conf j'ai compilé à partir des sources.

Reply

Marsh Posté le 22-04-2004 à 15:27:46    

Il faut relancer apache après ?

Reply

Marsh Posté le 22-04-2004 à 15:45:09    

mazda3 a écrit :

Il faut relancer apache après ?


 
ca te dirait pas d'essayer au lieu de poser ce genre de questions débiles?

Reply

Marsh Posté le 23-04-2004 à 10:33:37    

DarkLord a écrit :

ca te dirait pas d'essayer au lieu de poser ce genre de questions débiles?


 
La ferme  :o  
 
Je demande ça, car j'ai pas envie de relancer un serveur apache avec + de 50 utilisateurs connectés dessus.
 
Un Serveur Tomcat se met automatiquement à jour si tu modifie le server.xml ou le web.xml si tu le configures bien.
 
ça m'éviterai de relancer pour rien.
 
 :pfff:


Message édité par Mazda3 le 23-04-2004 à 10:35:10
Reply

Marsh Posté le 23-04-2004 à 10:44:05    

mazda3 a écrit :

La ferme  :o  


 
célébrités? [:dawa]
 
ta gueule :o [:aloy]

Reply

Marsh Posté le 23-04-2004 à 10:46:39    

DarkLord a écrit :

célébrités? [:dawa]
 
ta gueule :o [:aloy]


 
 :sarcastic:

Reply

Sujets relatifs:

Leave a Replay

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