[Résolu] [ Apache2 / Suse10 ] Problème d'accès à distance

Problème d'accès à distance [Résolu] [ Apache2 / Suse10 ] - Linux et OS Alternatifs

Marsh Posté le 14-02-2006 à 16:21:34    

Bonjour,
 
Je viens d'installer avec "succès" apache2 via Yast.
J'ai reconfiguré "default-server.conf".
 

Code :
  1. #
  2. # Global configuration that will be applicable for all virtual hosts, unless
  3. # deleted here, or overriden elswhere.
  4. #
  5. DocumentRoot "/srv/www/html"
  6. #
  7. # Configure the DocumentRoot
  8. #
  9. <Directory "/srv/www/html">
  10.      # Possible values for the Options directive are "None", "All",
  11. # or any combination of:
  12. #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
  13. #
  14. # Note that "MultiViews" must be named *explicitly* --- "Options All"
  15. # doesn't give it to you.
  16. #
  17. # The Options directive is both complicated and important.  Please see
  18. # http://httpd.apache.org/docs-2.0/mod/core.html#options
  19. # for more information.
  20. Options None
  21.      # AllowOverride controls what directives may be placed in .htaccess files.
  22. # It can be "All", "None", or any combination of the keywords:
  23. #   Options FileInfo AuthConfig Limit
  24. AllowOverride None
  25.      # Controls who can get stuff from this server.
  26. Order allow,deny
  27. Allow from all
  28. </Directory>
  29. # Aliases: aliases can be added as needed (with no limit). The format is
  30. # Alias fakename realname
  31. #
  32. # Note that if you include a trailing / on fakename then the server will
  33. # require it to be present in the URL.  So "/icons" isn't aliased in this
  34. # example, only "/icons/".  If the fakename is slash-terminated, then the
  35. # realname must also be slash terminated, and if the fakename omits the
  36. # trailing slash, the realname must also omit it.
  37. #
  38. # We include the /icons/ alias for FancyIndexed directory listings.  If you
  39. # do not use FancyIndexing, you may comment this out.
  40. #
  41. Alias /icons/ "/usr/share/apache2/icons/"
  42. <Directory "/usr/share/apache2/icons">
  43. Options Indexes MultiViews
  44. AllowOverride None
  45. Order allow,deny
  46. Allow from all
  47. </Directory>
  48. # ScriptAlias: This controls which directories contain server scripts.
  49. # ScriptAliases are essentially the same as Aliases, except that
  50. # documents in the realname directory are treated as applications and
  51. # run by the server when requested rather than as documents sent to the client.
  52. # The same rules about trailing "/" apply to ScriptAlias directives as to
  53. # Alias.
  54. #
  55. ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/"
  56. # "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased
  57. # CGI directory exists, if you have that configured.
  58. #
  59. <Directory "/srv/www/cgi-bin">
  60. AllowOverride None
  61. Options +ExecCGI -Includes
  62. Order allow,deny
  63. Allow from all
  64. </Directory>
  65. # Include all *.conf files from /etc/apache2/conf.d/.
  66. #
  67. # This is mostly meant as a place for other RPM packages to drop in their
  68. # configuration snippet.
  69. #
  70. # You can comment this out here if you want those bits include only in a
  71. # certain virtual host, but not here.
  72. #
  73. Include /etc/apache2/conf.d/*.conf
  74. # The manual... if it is installed ('?' means it won't complain)
  75. Include /etc/apache2/conf.d/apache2-manual?conf
  76. ServerName linux
  77. ServerAdmin root@linux


 
J'ai copié mon fichier index.html à la racine de /srv/www/html.
Sur le serveur, http://127.0.0.1 ou http://192.168.0.1 m'affiche mon index.html correctement.
 
A distance, sur un autre poste, http://192.168.0.1/index.html m'affiche également la page mais http://192.168.0.1 me jette sur la page d'apache par défaut  :heink: ("Vous voyez cette page au lieu du site attendu ?" )
 
Qu'aie-je loupé ? Je cherche en vain ...
Merci :jap:


Message édité par jeoff le 14-02-2006 à 16:51:50
Reply

Marsh Posté le 14-02-2006 à 16:21:34   

Reply

Marsh Posté le 14-02-2006 à 16:50:57    

Raaaa les boules !!! fallait vider le cache du navigateur, ca fait 2H que je cherche !!! Desolé pour la pollution !


Message édité par jeoff le 14-02-2006 à 16:51:28
Reply

Sujets relatifs:

Leave a Replay

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