private void lireConfig() throws Exception
    {  
        String ligne ="";
        boolean fini = false;
        File config = new File("FichierServeur/config.txt");
        try
        {           
           BufferedReader reader = new BufferedReader(new FileReader(config));
           while(!fini)
           {
               ligne = reader.readLine();
               if (ligne != null)
               {
                   String[] param = ligne.trim().split("=");
                   if ((param[0]).equals("port"))
                   {
                        maConf.setPort(param[1]);                        
                   }
                   else if ((param[0]).equals("racine"))
                   {
                        maConf.setRacine(param[1]);
                   }
                   else if ((param[0]).equals("index"))
                   {
                        maConf.setIndex(param[1]);
                   }
                   else if ((param[0]).equals("listage"))
                   {
                         maConf.setListage(param[1]);
                   }
               }
               else 
               {
                   fini = true;
               }
           }
           reader.close();
        }
        catch(IOException e) { e.printStackTrace(); }        
    }