Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1515 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  réseaux et sécurité

  serveur apache qui refuse toute connec de l'exterieur

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

serveur apache qui refuse toute connec de l'exterieur

n°755562
mickael de​ psagot
Posté le 24-11-2005 à 13:13:07  profilanswer
 

bonjour a tous!
 
voila:
j'ai installe un serveur apache sur une petite config mandrake (tout en CLI...)
le serveru repond parfaitement aux requetes venu du lan, mais impossible de se connecter via wan.
le router est BIEN configure, le port 80 est bien route vers le serveur!!
 
je me demande s'il y a quelquechose a modifier dans les fichier de conf du server.
 
je patate les fichiers de suite:
 
 
httpd.conf:
 

Code :
  1. ### Main Configuration Section
  2. ### You really shouldn't change these settings unless you're a guru
  3. ###
  4. ServerType standalone
  5. ServerRoot /etc/httpd
  6. ServerName mazar
  7. #LockFile /etc/httpd/httpd.lock
  8. PidFile /var/run/httpd.pid
  9. ScoreBoardFile /etc/httpd/httpd.scoreboard
  10. ErrorLog logs/error_log
  11. LogLevel warn
  12. ResourceConfig /dev/null
  13. AccessConfig /dev/null
  14. DocumentRoot /docs
  15. ### Dynamic Shared Object (DSO) Support
  16. ###
  17. ###
  18. #LoadModule mmap_static_module modules/mod_mmap_static.so
  19. LoadModule env_module         modules/mod_env.so
  20. LoadModule config_log_module  modules/mod_log_config.so
  21. LoadModule agent_log_module   modules/mod_log_agent.so
  22. LoadModule referer_log_module modules/mod_log_referer.so
  23. #LoadModule mime_magic_module  modules/mod_mime_magic.so
  24. LoadModule mime_module        modules/mod_mime.so
  25. LoadModule negotiation_module modules/mod_negotiation.so
  26. LoadModule status_module      modules/mod_status.so
  27. LoadModule info_module        modules/mod_info.so
  28. LoadModule includes_module    modules/mod_include.so
  29. LoadModule autoindex_module   modules/mod_autoindex.so
  30. LoadModule dir_module         modules/mod_dir.so
  31. LoadModule cgi_module         modules/mod_cgi.so
  32. LoadModule asis_module        modules/mod_asis.so
  33. LoadModule imap_module        modules/mod_imap.so
  34. LoadModule action_module      modules/mod_actions.so
  35. #LoadModule speling_module     modules/mod_speling.so
  36. LoadModule userdir_module     modules/mod_userdir.so
  37. LoadModule proxy_module       modules/libproxy.so
  38. LoadModule alias_module       modules/mod_alias.so
  39. LoadModule rewrite_module     modules/mod_rewrite.so
  40. LoadModule access_module      modules/mod_access.so
  41. LoadModule auth_module        modules/mod_auth.so
  42. LoadModule anon_auth_module   modules/mod_auth_anon.so
  43. #LoadModule dbm_auth_module    modules/mod_auth_dbm.so
  44. #LoadModule db_auth_module     modules/mod_auth_db.so
  45. LoadModule digest_module      modules/mod_digest.so
  46. #LoadModule cern_meta_module   modules/mod_cern_meta.so
  47. LoadModule expires_module     modules/mod_expires.so
  48. LoadModule headers_module     modules/mod_headers.so
  49. LoadModule usertrack_module   modules/mod_usertrack.so
  50. #LoadModule example_module     modules/mod_example.so
  51. #LoadModule unique_id_module   modules/mod_unique_id.so
  52. LoadModule setenvif_module    modules/mod_setenvif.so
  53. LoadModule vhost_alias_module modules/mod_vhost_alias.so
  54. #  Reconstruction of the complete module list from all available modules
  55. #  (static and shared ones) to achieve correct module execution order.
  56. #  [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]
  57. ClearModuleList
  58. #AddModule mod_mmap_static.c
  59. AddModule mod_env.c
  60. AddModule mod_log_config.c
  61. AddModule mod_log_agent.c
  62. AddModule mod_log_referer.c
  63. #AddModule mod_mime_magic.c
  64. AddModule mod_mime.c
  65. AddModule mod_negotiation.c
  66. AddModule mod_status.c
  67. AddModule mod_info.c
  68. AddModule mod_include.c
  69. AddModule mod_autoindex.c
  70. AddModule mod_dir.c
  71. AddModule mod_cgi.c
  72. AddModule mod_asis.c
  73. AddModule mod_imap.c
  74. AddModule mod_actions.c
  75. #AddModule mod_speling.c
  76. AddModule mod_userdir.c
  77. AddModule mod_proxy.c
  78. AddModule mod_alias.c
  79. AddModule mod_rewrite.c
  80. AddModule mod_access.c
  81. AddModule mod_auth.c
  82. AddModule mod_auth_anon.c
  83. #AddModule mod_auth_dbm.c
  84. #AddModule mod_auth_db.c
  85. AddModule mod_digest.c
  86. #AddModule mod_cern_meta.c
  87. AddModule mod_expires.c
  88. AddModule mod_headers.c
  89. AddModule mod_usertrack.c
  90. #AddModule mod_example.c
  91. #AddModule mod_unique_id.c
  92. AddModule mod_so.c
  93. AddModule mod_setenvif.c
  94. AddModule mod_vhost_alias.c
  95. ###
  96. ### Global Configuration
  97. ###
  98. # We now support multiple apache configurations on the same server. In
  99. # common.conf, we put all directives that are common to all implementations
  100. # (httpd, httpd-perl, etc.)
  101. Include /etc/httpd/conf/commonhttpd.conf
  102. ###
  103. ### IP Address/Port and Proxied configuration section
  104. ###
  105. # The APACHEPROXIED setting can be set in /etc/rc.d/init.d/httpd if you
  106. # are using a proxy or accelerator, like the Apache-SGI or khttpd, so that
  107. # the fast web server serves static content while Apache handles the
  108. # cgi or php files
  109. #BindAddress *
  110. <IfDefine APACHEPROXIED>
  111.     Port 8080
  112.     Listen 8080
  113. </IfDefine>
  114. <IfDefine !APACHEPROXIED>
  115.     Port 80
  116.     Listen 80
  117. </IfDefine>
  118. # Likewise, we can set apache as the server by default and send perl
  119. # requests via ProxyPass to apache-mod_perl. It increases performance
  120. # since the perl interpreter is only used for perl and the standard apache
  121. # does all the html and image files, with a smaller footprint.
  122. #
  123. # If you install apache and apache-mod_perl, this is the default config.
  124. # If you don't want two web servers to use perl, uninstall apache, and
  125. # apache-mod_perl will not be proxied.
  126. <IfDefine PERLPROXIED>
  127.     RewriteEngine on
  128.     RewriteRule ^proxy:.*  -  [F]
  129.     RewriteRule ^(.*\/perl\/.*)$  http://%{HTTP_HOST}:8200$1 [P]
  130.     RewriteRule ^(.*\/cgi-perl\/.*)$  http://%{HTTP_HOST}:8200$1 [P]
  131. </IfDefine>
  132. ###
  133. ### Log configuration Section
  134. ###
  135. #Single logfile with access, agent and referer information
  136. #This is the default, if vlogs are not defined for the main server
  137. CustomLog logs/access_log combined env=!VLOG
  138. #If VLOG is defined in conf/vhosts/Vhost.conf, we use this entry
  139. CustomLog "|/usr/sbin/advxsplitlogfile" vhost env=VLOG
  140. ###
  141. ### Virtual Hosts
  142. ###
  143. # We include different templates for Virtual Hosting. Have a look in the
  144. # vhosts directory and modify to suit your needs.
  145. Include conf/vhosts/Vhosts.conf
  146. #Include conf/vhosts/DynamicVhosts.conf
  147. #Include conf/vhosts/VirtualHomePages.conf
  148. ###
  149. ### Performance settings Section
  150. ###
  151. #
  152. # Timeout: The number of seconds before receives and sends time out.
  153. #
  154. Timeout 300
  155. #
  156. # KeepAlive: Whether or not to allow persistent connections (more than
  157. # one request per connection). Set to "Off" to deactivate.
  158. #
  159. KeepAlive On
  160. #
  161. # MaxKeepAliveRequests: The maximum number of requests to allow
  162. # during a persistent connection. Set to 0 to allow an unlimited amount.
  163. # We recommend you leave this number high, for maximum performance.
  164. #
  165. MaxKeepAliveRequests 100
  166. #
  167. # KeepAliveTimeout: Number of seconds to wait for the next request from the
  168. # same client on the same connection.
  169. #
  170. KeepAliveTimeout 15
  171. #
  172. # Server-pool size regulation.  Rather than making you guess how many
  173. # server processes you need, Apache dynamically adapts to the load it
  174. # sees --- that is, it tries to maintain enough server processes to
  175. # handle the current load, plus a few spare servers to handle transient
  176. # load spikes (e.g., multiple simultaneous requests from a single
  177. # Netscape browser).
  178. #
  179. # It does this by periodically checking how many servers are waiting
  180. # for a request.  If there are fewer than MinSpareServers, it creates
  181. # a new spare.  If there are more than MaxSpareServers, some of the
  182. # spares die off.  The default values are probably OK for most sites.
  183. #
  184. MinSpareServers 4
  185. MaxSpareServers 10
  186. #
  187. # Number of servers to start initially --- should be a reasonable ballpark
  188. # figure.
  189. #
  190. StartServers 4
  191. #
  192. # Limit on total number of servers running, i.e., limit on the number
  193. # of clients who can simultaneously connect --- if this limit is ever
  194. # reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW.
  195. # It is intended mainly as a brake to keep a runaway server from taking
  196. # the system with it as it spirals down...
  197. #
  198. MaxClients 150
  199. #
  200. # MaxRequestsPerChild: the number of requests each child process is
  201. # allowed to process before the child dies.  The child will exit so
  202. # as to avoid problems after prolonged use when Apache (and maybe the
  203. # libraries it uses) leak memory or other resources.  On most systems, this
  204. # isn't really needed, but a few (such as Solaris) do have notable leaks
  205. # in the libraries. For these platforms, set to something like 10000
  206. # or so; a setting of 0 means unlimited.
  207. #
  208. # NOTE: This value does not include keepalive requests after the initial
  209. #       request per connection. For example, if a child process handles
  210. #       an initial request and 10 subsequent "keptalive" requests, it
  211. #       would only count as 1 request towards this limit.
  212. #
  213. MaxRequestsPerChild 500


 
 
 
commonhttpd.conf:
 

Code :
  1. ### Common server configuration
  2. #
  3. User apache
  4. Group apache
  5. #
  6. # ServerAdmin: Your address, where problems with the server should be
  7. # e-mailed.  This address appears on some server-generated pages, such
  8. # as error documents.
  9. #
  10. ServerAdmin root@localhost
  11. # DocumentRoot: The directory out of which you will serve your
  12. # documents. By default, all requests are taken from this directory, but
  13. # symbolic links and aliases may be used to point to other locations.
  14. # DO NOT MODIFY THIS ONE, USE httpd.conf and httpd-perl.conf
  15. #DocumentRoot /var/www/html
  16. #
  17. # Each directory to which Apache has access, can be configured with respect
  18. # to which services and features are allowed and/or disabled in that
  19. # directory (and its subdirectories).
  20. #
  21. # First, we configure the "default" to be a very restrictive set of
  22. # permissions. 
  23. #
  24. # Also, for security, we disable indexes globally
  25. #
  26. #<Directory />
  27. #    Options -Indexes FollowSymLinks
  28. #    AllowOverride None
  29. #</Directory>
  30. <directory />
  31. Order allow,deny
  32. Allow from all
  33. </directory>
  34. #Restricted set of options
  35. <Directory /docs/>
  36.   Options Indexes FollowSymlinks Multiviews
  37.   AllowOverride All
  38.   <IfModule mod_access.c>
  39.     Order allow,deny
  40.     Allow from all
  41.   </IfModule>
  42. </Directory>
  43. #
  44. # Note that from this point forward you must specifically allow
  45. # particular features to be enabled - so if something's not working as
  46. # you might expect, make sure that you have specifically enabled it
  47. # below.
  48. #
  49. #
  50. # UserDir: The name of the directory which is appended onto a user's home
  51. # directory if a ~user request is received.
  52. #
  53. <IfModule mod_userdir.c>
  54.     UserDir public_html
  55. </IfModule>
  56. #
  57. # DirectoryIndex: Name of the file or files to use as a pre-written HTML
  58. # directory index.  Separate multiple entries with spaces.
  59. #
  60. <IfModule mod_dir.c>
  61.     DirectoryIndex index.html index.html.var index.php index.php3 index.shtml index.cgi index.pl index.htm Default.htm default.htm index.xml
  62. </IfModule>
  63. #
  64. # AccessFileName: The name of the file to look for in each directory
  65. # for access control information.
  66. #
  67. AccessFileName .htaccess
  68. #
  69. # The following lines prevent .htaccess files from being viewed by
  70. # Web clients.  Since .htaccess files often contain authorization
  71. # information, access is disallowed for security reasons.  Comment
  72. # these lines out if you want Web visitors to see the contents of
  73. # .htaccess files.  If you change the AccessFileName directive above,
  74. # be sure to make the corresponding changes here.
  75. #
  76. # Also, folks tend to use names such as .htpasswd for password
  77. # files, so this will protect those as well.
  78. #
  79. <IfModule mod_access.c>
  80. <Files ~ "^\.ht">
  81.     Order allow,deny
  82.     Deny from all
  83. </Files>
  84. </IfModule>
  85. #
  86. # CacheNegotiatedDocs: By default, Apache sends "Pragma: no-cache" with each
  87. # document that was negotiated on the basis of content. This asks proxy
  88. # servers not to cache the document. Uncommenting the following line disables
  89. # this behavior, and proxies will be allowed to cache the documents.
  90. #
  91. #CacheNegotiatedDocs
  92. #
  93. # UseCanonicalName:  (new for 1.3)  With this setting turned on, whenever
  94. # Apache needs to construct a self-referencing URL (a URL that refers back
  95. # to the server the response is coming from) it will use ServerName and
  96. # Port to form a "canonical" name.  With this setting off, Apache will
  97. # use the hostname:port that the client supplied, when possible.  This
  98. # also affects SERVER_NAME and SERVER_PORT in CGI scripts.
  99. #
  100. UseCanonicalName On
  101. #
  102. # TypesConfig describes where the mime.types file (or equivalent) is
  103. # to be found.
  104. #
  105. <IfModule mod_mime.c>
  106.     TypesConfig conf/apache-mime.types
  107. </IfModule>
  108. #
  109. # DefaultType is the default MIME type the server will use for a document
  110. # if it cannot otherwise determine one, such as from filename extensions.
  111. # If your server contains mostly text or HTML documents, "text/plain" is
  112. # a good value.  If most of your content is binary, such as applications
  113. # or images, you may want to use "application/octet-stream" instead to
  114. # keep browsers from trying to display binary files as though they are
  115. # text.
  116. #
  117. DefaultType text/plain
  118. #
  119. # The mod_mime_magic module allows the server to use various hints from the
  120. # contents of the file itself to determine its type.  The MIMEMagicFile
  121. # directive tells the module where the hint definitions are located.
  122. # mod_mime_magic is not part of the default server (you have to add
  123. # it yourself with a LoadModule [see the DSO paragraph in the 'Global
  124. # Environment' section], or recompile the server and include mod_mime_magic
  125. # as part of the configuration), so it's enclosed in an <IfModule> container.
  126. # This means that the MIMEMagicFile directive will only be processed if the
  127. # module is part of the server.
  128. #
  129. <IfModule mod_mime_magic.c>
  130.     MIMEMagicFile conf/magic
  131. </IfModule>
  132. #
  133. # HostnameLookups: Log the names of clients or just their IP addresses
  134. # e.g., www.apache.org (on) or 204.62.129.132 (off).
  135. # The default is off because it'd be overall better for the net if people
  136. # had to knowingly turn this feature on, since enabling it means that
  137. # each client request will result in AT LEAST one lookup request to the
  138. # nameserver.
  139. #
  140. HostnameLookups Off
  141. # EnableMMAP: Control whether memory-mapping is used to deliver
  142. # files (assuming that the underlying OS supports it).
  143. # The default is on; turn this off if you serve from NFS-mounted
  144. # filesystems.  On some systems, turning it off (regardless of
  145. # filesystem) can improve performance; for details, please see
  146. # http://httpd.apache.org/docs-2.0/m [...] enablemmap
  147. #
  148. # EnableMMAP off
  149. #
  150. # EnableSendfile: Control whether the sendfile kernel support is
  151. # used  to deliver files (assuming that the OS supports it).
  152. # The default is on; turn this off if you serve from NFS-mounted
  153. # filesystems.  Please see
  154. # http://httpd.apache.org/docs-2.0/m [...] lesendfile
  155. #
  156. #EnableSendfile off
  157. # The following directives define some format nicknames for use with
  158. # a CustomLog directive (see below).
  159. #
  160. <IfModule mod_log_config.c>
  161. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
  162. LogFormat "%h %l %u %t \"%r\" %>s %b" common
  163. LogFormat "%{Referer}i -> %U" referer
  164. LogFormat "%{User-agent}i" agent
  165. LogFormat "%v %h %l %u %t \"%r\" %>s %b %T" script
  166. LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" VLOG=%{VLOG}e" vhost
  167.     <IfModule mod_logio.c>
  168.     # You need to enable mod_logio.c to use %I and %O
  169.     #LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
  170.     </IfModule>
  171. #
  172. # The location and format of the access logfile (Common Logfile Format).
  173. #CustomLog logs/access_log common
  174. #
  175. # If you would like to have agent and referer logfiles, uncomment the
  176. # following directives.
  177. #
  178. #CustomLog logs/referer_log referer
  179. #CustomLog logs/agent_log agent
  180. #
  181. # If you prefer a single logfile with access, agent, and referer information
  182. # (Combined Logfile Format) you can use the following directive.
  183. #
  184. #CustomLog logs/access_log combined
  185. </IfModule>
  186. #
  187. # ServerTokens
  188. # This directive configures what you return as the Server HTTP response
  189. # Header. The default is 'Full' which sends information about the OS-Type
  190. # and compiled in modules.
  191. # Set to one of:  Full | OS | Minor | Minimal | Major | Prod
  192. # where Full conveys the most information, and Prod the least.
  193. #
  194. ServerTokens Full
  195. #
  196. # Optionally add a line containing the server version and virtual host
  197. # name to server-generated pages (error documents, FTP directory listings,
  198. # mod_status and mod_info output etc., but not CGI generated documents).
  199. # Set to "EMail" to also include a mailto: link to the ServerAdmin.
  200. # Set to one of:  On | Off | EMail
  201. #
  202. ServerSignature On
  203. #
  204. # Aliases: Add here as many aliases as you need (with no limit). The format is
  205. # Alias fakename realname
  206. #
  207. <IfModule mod_alias.c>
  208.     #
  209.     # Note that if you include a trailing / on fakename then the server will
  210.     # require it to be present in the URL.  So "/icons" isn't aliased in this
  211.     # example, only "/icons/"..
  212.     #
  213.     Alias /icons/ /var/www/icons/
  214.     Alias /doc /usr/share/doc
  215.     #
  216.     # ScriptAlias: This controls which directories contain server scripts.
  217.     # ScriptAliases are essentially the same as Aliases, except that
  218.     # documents in the realname directory are treated as applications and
  219.     # run by the server when requested rather than as documents sent to the client.
  220.     # The same rules about trailing "/" apply to ScriptAlias directives as to
  221.     # Alias.
  222.     #
  223.     ScriptAlias /cgi-bin/ /var/www/cgi-bin/
  224.     ScriptAlias /protected-cgi-bin/ /var/www/protected-cgi-bin/
  225.     <IfModule mod_perl.c>
  226. #Provide two aliases to the same cgi-bin directory,
  227. #to see the effects of the 2 different mod_perl modes
  228. #for Apache::Registry Mode
  229. Alias /perl/ /var/www/perl/
  230. #for Apache::Perlrun Mode
  231. Alias /cgi-perl/ /var/www/perl/
  232.     </IfModule>
  233. </IfModule>
  234. # End of aliases.
  235. #
  236. # Redirect allows you to tell clients about documents which used to exist in
  237. # your server's namespace, but do not anymore. This allows you to tell the
  238. # clients where to look for the relocated document.
  239. # Format: Redirect old-URI new-URL
  240. #
  241. #
  242. # Directives controlling the display of server-generated directory listings.
  243. #
  244. <IfModule mod_autoindex.c>
  245.     #
  246.     # FancyIndexing is whether you want fancy directory indexing or standard
  247.     #
  248.     <IfDefine !APACHE2>
  249.       IndexOptions FancyIndexing NameWidth=*
  250.     </IfDefine>
  251.     <IfDefine APACHE2>
  252.       IndexOptions FancyIndexing VersionSort NameWidth=*
  253.     </IfDefine>
  254.     #
  255.     # AddIcon* directives tell the server which icon to show for different
  256.     # files or filename extensions.  These are only displayed for
  257.     # FancyIndexed directories.
  258.     #
  259.     AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
  260.     AddIconByType (TXT,/icons/text.png) text/*
  261.     AddIconByType (IMG,/icons/image2.png) image/*
  262.     AddIconByType (SND,/icons/sound2.png) audio/*
  263.     AddIconByType (VID,/icons/movie.png) video/*
  264.     AddIcon /icons/binary.png .bin .exe
  265.     AddIcon /icons/binhex.png .hqx
  266.     AddIcon /icons/tar.png .tar
  267.     AddIcon /icons/world2.png .wrl .wrl.gz .vrml .vrm .iv
  268.     AddIcon /icons/compressed.png .Z .z .tgz .gz .zip .bz2
  269.     AddIcon /icons/a.png .ps .ai .eps
  270.     AddIcon /icons/layout.png .html .shtml .htm .pdf
  271.     AddIcon /icons/text.png .txt
  272.     AddIcon /icons/c.png .c
  273.     AddIcon /icons/p.png .pl .py .php .php3
  274.     AddIcon /icons/f.png .for
  275.     AddIcon /icons/dvi.png .dvi
  276.     AddIcon /icons/uuencoded.png .uu
  277.     AddIcon /icons/script.png .conf .sh .shar .csh .ksh .tcl
  278.     AddIcon /icons/tex.png .tex
  279.     AddIcon /icons/bomb.png core
  280.     AddIcon /icons/back.png ..
  281.     AddIcon /icons/hand.right.png README
  282.     AddIcon /icons/folder.png ^^DIRECTORY^^
  283.     AddIcon /icons/blank.png ^^BLANKICON^^
  284.     #
  285.     # DefaultIcon is which icon to show for files which do not have an icon
  286.     # explicitly set.
  287.     #
  288.     DefaultIcon /icons/unknown.png
  289.     #
  290.     # AddDescription allows you to place a short description after a file in
  291.     # server-generated indexes.  These are only displayed for FancyIndexed
  292.     # directories.
  293.     # Format: AddDescription "description" filename
  294.     #
  295.     #AddDescription "GZIP compressed document" .gz
  296.     #AddDescription "tar archive" .tar
  297.     #AddDescription "GZIP compressed tar archive" .tgz
  298.     #
  299.     # ReadmeName is the name of the README file the server will look for by
  300.     # default, and append to directory listings.
  301.     #
  302.     # HeaderName is the name of a file which should be prepended to
  303.     # directory indexes.  
  304.     #
  305.     # If MultiViews are amongst the Options in effect, the server will
  306.     # first look for name.html and include it if found.  If name.html
  307.     # doesn't exist, the server will then look for name.txt and include
  308.     # it as plaintext if found.
  309.     #
  310.     ReadmeName README.html
  311.     HeaderName HEADER.html
  312.     #
  313.     # IndexIgnore is a set of filenames which directory indexing should ignore
  314.     # and not include in the listing.  Shell-style wildcarding is permitted.
  315.     #
  316.     IndexIgnore .??* *~ *# HEADER* RCS CVS *,v *,t
  317. </IfModule>
  318. # End of indexing directives.
  319. #
  320. # Document types.
  321. #
  322. <IfModule mod_mime.c>
  323.     #
  324.     # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
  325.     # information on the fly. Note: Not all browsers support this.
  326.     # Despite the name similarity, the following Add* directives have nothing
  327.     # to do with the FancyIndexing customization directives above.
  328.     #
  329.     AddEncoding x-compress Z
  330.     AddEncoding x-gzip gz tgz
  331.     #
  332.     # AddLanguage allows you to specify the language of a document. You can
  333.     # then use content negotiation to give a browser a file in a language
  334.     # it can understand.   
  335.     #
  336.     # Note 1: The suffix does not have to be the same as the language  
  337.     # keyword --- those with documents in Polish (whose net-standard  
  338.     # language code is pl) may wish to use "AddLanguage pl .po" to  
  339.     # avoid the ambiguity with the common suffix for perl scripts.
  340.     #
  341.     # Note 2: The example entries below illustrate that in quite
  342.     # some cases the two character 'Language' abbreviation is not
  343.     # identical to the two character 'Country' code for its country,
  344.     # E.g. 'Danmark/dk' versus 'Danish/da'.
  345.     #
  346.     # Note 3: In the case of 'ltz' we violate the RFC by using a three char  
  347.     # specifier. But there is 'work in progress' to fix this and get  
  348.     # the reference data for rfc1766 cleaned up.
  349.     #
  350.     # Danish (da) - Dutch (nl) - English (en) - Estonian (ee)
  351.     # French (fr) - German (de) - Greek-Modern (el)
  352.     # Italian (it) - Korean (kr) - Norwegian (no)
  353.     # Portugese (pt) - Luxembourgeois* (ltz)
  354.     # Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cz)
  355.     # Polish (pl) - Brazilian Portuguese (pt-br) - Japanese (ja)
  356.     # Russian (ru)
  357.     #
  358.     AddLanguage ca .ca
  359.     AddLanguage cs .cz .cs
  360.     AddLanguage da .dk
  361.     AddLanguage de .de
  362.     AddLanguage el .el
  363.     AddLanguage en .en
  364.     AddLanguage eo .eo
  365.     AddLanguage es .es
  366.     AddLanguage et .ee
  367.     AddLanguage fr .fr
  368.     AddLanguage he .he
  369.     AddLanguage hr .hr
  370.     AddLanguage it .it
  371.     AddLanguage ja .ja
  372.     AddLanguage ko .ko
  373.     AddLanguage kr .kr
  374.     AddLanguage ltz .ltz
  375.     AddLanguage ltz .lu
  376.     AddLanguage nl .nl
  377.     AddLanguage nn .nn
  378.     AddLanguage no .no
  379.     AddLanguage pl .po
  380.     AddLanguage pt-br .pt-br
  381.     AddLanguage pt .pt
  382.     AddLanguage ru .ru
  383.     AddLanguage sv .sv
  384.     AddLanguage zh-TW .zh-tw
  385.     AddLanguage eo .eo
  386.     #
  387.     # Specify a default charset for all pages sent out. This is
  388.     # always a good idea and opens the door for future internationalisation
  389.     # of your web site, should you ever want it. Specifying it as
  390.     # a default does little harm; as the standard dictates that a page
  391.     # is in iso-8859-1 (latin1) unless specified otherwise i.e. you
  392.     # are merely stating the obvious. There are also some security
  393.     # reasons in browsers, related to javascript and URL parsing
  394.     # which encourage you to always set a default char set.
  395.     #
  396.     #AddDefaultCharset ISO-8859-1
  397.     # JMD 2003/09/15 Change to off, since it overrides the META tags
  398.     AddDefaultCharset Off
  399.     # LanguagePriority allows you to give precedence to some languages
  400.     # in case of a tie during content negotiation.
  401.     #
  402.     # Just list the languages in decreasing order of preference. We have
  403.     # more or less alphabetized them here. You probably want to change this.
  404.     #
  405.     <IfModule mod_negotiation.c>
  406.         LanguagePriority en cs de es fr it da nl et el ja kr no pl pt pt-br ru ltz ca sv tw ro
  407. # ForceLanguagePriority Prefer Fallback
  408.     </IfModule>
  409.     #
  410.     # ForceLanguagePriority allows you to serve a result page rather than
  411.     # MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)
  412.     # [in case no accepted languages matched the available variants]
  413.     #
  414.     <IfModule mod_negotiation.c>
  415. #FUK      ForceLanguagePriority Prefer Fallback
  416.     </IfModule>
  417.     #
  418.     # Commonly used filename extensions to character sets. You probably
  419.     # want to avoid clashes with the language extensions, unless you
  420.     # are good at carefully testing your setup after each change.
  421.     # See http://www.iana.org/assignments/character-sets for the
  422.     # official list of charset names and their respective RFCs.
  423.     #
  424.     AddCharset ISO-8859-1  .iso8859-1  .latin1
  425.     AddCharset ISO-8859-2  .iso8859-2  .latin2 .cen
  426.     AddCharset ISO-8859-3  .iso8859-3  .latin3
  427.     AddCharset ISO-8859-4  .iso8859-4  .latin4
  428.     AddCharset ISO-8859-5  .iso8859-5  .latin5 .cyr .iso-ru
  429.     AddCharset ISO-8859-6  .iso8859-6  .latin6 .arb
  430.     AddCharset ISO-8859-7  .iso8859-7  .latin7 .grk
  431.     AddCharset ISO-8859-8  .iso8859-8  .latin8 .heb
  432.     AddCharset ISO-8859-9  .iso8859-9  .latin9 .trk
  433.     AddCharset ISO-2022-JP .iso2022-jp .jis
  434.     AddCharset ISO-2022-KR .iso2022-kr .kis
  435.     AddCharset ISO-2022-CN .iso2022-cn .cis
  436.     AddCharset Big5        .Big5       .big5
  437.     # For russian, more than one charset is used (depends on client, mostly):
  438.     AddCharset WINDOWS-1251 .cp-1251   .win-1251
  439.     AddCharset CP866       .cp866
  440.     AddCharset KOI8-r      .koi8-r .koi8-ru
  441.     AddCharset KOI8-ru     .koi8-uk .ua
  442.     AddCharset ISO-10646-UCS-2 .ucs2
  443.     AddCharset ISO-10646-UCS-4 .ucs4
  444.     AddCharset UTF-8       .utf8
  445.     # The set below does not map to a specific (iso) standard
  446.     # but works on a fairly wide range of browsers. Note that
  447.     # capitalization actually matters (it should not, but it
  448.     # does for some browsers).
  449.     #
  450.     # See http://www.iana.org/assignments/character-sets
  451.     # for a list of sorts. But browsers support few.
  452.     #
  453.     AddCharset GB2312      .gb2312 .gb  
  454.     AddCharset utf-7       .utf7
  455.     AddCharset utf-8       .utf8
  456.     AddCharset big5        .big5 .b5
  457.     AddCharset EUC-TW      .euc-tw
  458.     AddCharset EUC-JP      .euc-jp
  459.     AddCharset EUC-KR      .euc-kr
  460.     AddCharset shift_jis   .sjis
  461.     #
  462.     # AddType allows you to tweak mime.types without actually editing it, or to
  463.     # make certain files to be certain types.
  464.     #
  465.     AddType application/x-tar .tgz
  466.     AddType image/x-icon .ico
  467.     #
  468.     # AddHandler allows you to map certain file extensions to "handlers",
  469.     # actions unrelated to filetype. These can be either built into the server
  470.     # or added with the Action command (see below)
  471.     #
  472.     # If you want to use server side includes, or CGI outside
  473.     # ScriptAliased directories, uncomment the following lines.
  474.     #
  475.     # To use CGI scripts:
  476.     #
  477.     AddHandler cgi-script .cgi
  478.     #
  479.     # For type maps (negotiated resources):
  480.     # (This is enabled by default to allow the Apache "It Worked" page
  481.     #  to be distributed in multiple languages.)
  482.     #
  483.     AddHandler type-map var
  484.     # Filters allow you to process content before it is sent to the client.
  485.     #
  486.     # To parse .shtml files for server-side includes (SSI):
  487.     # (You will also need to add "Includes" to the "Options" directive.)
  488.     #
  489.     AddType text/html .shtml
  490.     <IfDefine APACHE2>
  491.       AddOutputFilter INCLUDES .shtml
  492.     </IfDefine>
  493.     <IfDefine !APACHE2>
  494.       AddHandler server-parsed .shtml
  495.     </IfDefine>
  496.     #
  497.     # Uncomment the following line to enable Apache's send-asis HTTP file
  498.     # feature
  499.     #
  500.     #AddHandler send-as-is asis
  501.     #
  502.     # If you wish to use server-parsed imagemap files, use
  503.     #
  504.     AddHandler imap-file map
  505.     #
  506.     # To enable type maps, you might want to use
  507.     #
  508.     #AddHandler type-map var
  509. </IfModule>
  510. # End of document types.
  511. #
  512. # Action lets you define media types that will execute a script whenever
  513. # a matching file is called. This eliminates the need for repeated URL
  514. # pathnames for oft-used CGI file processors.
  515. # Format: Action media/type /cgi-script/location
  516. # Format: Action handler-name /cgi-script/location
  517. #
  518. #
  519. # Putting this all together, we can internationalize error responses.
  520. #
  521. # We use Alias to redirect any /error/HTTP_<error>.html.var response to
  522. # our collection of by-error message multi-language collections.  We use  
  523. # includes to substitute the appropriate text.
  524. #
  525. # You can modify the messages' appearance without changing any of the
  526. # default HTTP_<error>.html.var files by adding the line:
  527. #
  528. #   Alias /error/include/ "/your/include/path/"
  529. #
  530. # which allows you to create your own set of files by starting with the
  531. # /include/ files and copying them to /your/include/path/,  
  532. # even on a per-VirtualHost basis.  The default include files will display
  533. # your Apache version number and your ServerAdmin email address regardless
  534. # of the setting of ServerSignature.
  535. #
  536. # The internationalized error documents require mod_alias, mod_include
  537. # and mod_negotiation.  To activate them, uncomment the following 30 lines.
  538. #    Alias /error/ "/var/www/error"
  539. #
  540. #    <Directory "/var/www/error">
  541. #        AllowOverride None
  542. #        Options IncludesNoExec
  543. #        AddOutputFilter Includes html
  544. #        AddHandler type-map var
  545. #        Order allow,deny
  546. #        Allow from all
  547. #        LanguagePriority en es de fr sv
  548. #        ForceLanguagePriority Prefer Fallback
  549. #    </Directory>
  550. #
  551. #    ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
  552. #    ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
  553. #    ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
  554. #    ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
  555. #    ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
  556. #    ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
  557. #    ErrorDocument 410 /error/HTTP_GONE.html.var
  558. #    ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
  559. #    ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
  560. #    ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
  561. #    ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
  562. #    ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
  563. #    ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
  564. #    ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
  565. #    ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
  566. #    ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
  567. #    ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
  568. # Customizable error responses come in three flavors:
  569. #
  570. #    1) plain text
  571. #ErrorDocument 500 "The server made a boo boo."
  572. #
  573. #    2) local redirects
  574. #ErrorDocument 404 /missing.html
  575. #  to redirect to local URL /missing.html
  576. #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
  577. #  N.B.: You can redirect to a script or a document using server-side-includes.
  578. #
  579. #    3) external redirects
  580. #ErrorDocument 402 http://www.example.com/subscription_info.html
  581. #  N.B.: Many of the environment variables associated with the original
  582. #  request will *not* be available to such a script.
  583. ## This should be changed to the ServerRoot/manual/.  The alias provides
  584. ## the manual, even if you choose to move your DocumentRoot.  You may comment
  585. ## this out if you do not care for the documentation.
  586. ##
  587. #AliasMatch ^/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ "/var/www/manual$1"
  588. #
  589. #<Directory "/var/www/manual">
  590. #    Options Indexes
  591. #    AllowOverride None
  592. #    Order allow,deny
  593. #    Allow from all
  594. #
  595. #    <Files *.html>
  596. #        SetHandler type-map
  597. #    </Files>
  598. #
  599. #    SetEnvIf Request_URI ^/manual/de/ prefer-language=de
  600. #    SetEnvIf Request_URI ^/manual/en/ prefer-language=en
  601. #    SetEnvIf Request_URI ^/manual/fr/ prefer-language=fr
  602. #    SetEnvIf Request_URI ^/manual/ja/ prefer-language=ja
  603. #    SetEnvIf Request_URI ^/manual/ko/ prefer-language=ko
  604. #    SetEnvIf Request_URI ^/manual/ru/ prefer-language=ru
  605. #    RedirectMatch 301 ^/manual(?:/(de|en|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2
  606. #</Directory>
  607. #
  608. # ScriptAlias: This controls which directories contain server scripts.
  609. <Location /manual>
  610. Options Multiviews
  611. ErrorDocument 404 "The document you requested has not been installed on your system. Please install either apache-manual or apache2-manual RPMs.
  612. </Location>
  613. <Location /manual-2.0>
  614. Options Multiviews
  615. ErrorDocument 404 "The document you requested has not been installed on your system. Please install the apache2-manual package.
  616. </Location>
  617. <Location /manual-1.3>
  618. Options Multiviews
  619. ErrorDocument 404 "The document you requested has not been installed on your system. Please install the apache-manual package.
  620. </Location>
  621. #
  622. # Customize behaviour based on the browser
  623. #
  624. <IfModule mod_setenvif.c>
  625.     #
  626.     # The following directives modify normal HTTP response behavior to
  627.     # handle known problems with browser implementations.
  628.     #
  629.     BrowserMatch "Mozilla/2" nokeepalive
  630.     BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
  631.     BrowserMatch "RealPlayer 4\.0" force-response-1.0
  632.     BrowserMatch "Java/1\.0" force-response-1.0
  633.     BrowserMatch "JDK/1\.0" force-response-1.0
  634.      
  635.     #
  636.     # The following directive disables redirects on non-GET requests for
  637.     # a directory that does not include the trailing slash.  This fixes a
  638.     # problem with Microsoft WebFolders which does not appropriately handle
  639.     # redirects for folders with DAV methods.
  640.     #
  641.     BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carfully
  642.     BrowserMatch "^WebDrive" redirect-carefully
  643.     BrowserMatch "^gnome-vfs" redirect-carefully
  644. </IfModule>
  645. # End of browser customization directives
  646. #
  647. # Allow server status reports, with the URL of http://servername/server-status
  648. # Change the ".your_domain.com" to match your domain to enable.
  649. #
  650. <IfModule mod_status.c>
  651.     <Location /server-status>
  652.         SetHandler server-status
  653.         <IfModule mod_access.c>
  654.           Order deny,allow
  655.           Deny from all
  656.           allow from 127.0.0.1
  657.           #Allow from .your_domain.com
  658.         </IfModule>
  659.     </Location>
  660. #
  661. # ExtendedStatus controls whether Apache will generate "full" status
  662. # information (ExtendedStatus On) or just basic information (ExtendedStatus
  663. # Off) when the "server-status" handler is called. The default is Off.
  664. #
  665. #ExtendedStatus On
  666. </IfModule>
  667. #
  668. # Allow remote server configuration reports, with the URL of
  669. # http://servername/server-info (requires that mod_info.c be loaded).
  670. # Change the ".your_domain.com" to match your domain to enable.
  671. #
  672. <IfModule mod_info.c>
  673.     <Location /server-info>
  674. SetHandler server-info
  675.         <IfModule mod_access.c>
  676.      Order deny,allow
  677.   Deny from all
  678.           allow from 127.0.0.1
  679. #   Allow from .your_domain.com
  680.         </IfModule>
  681.     </Location>
  682. </IfModule>
  683. <IfModule mod_perl.c>
  684.     <Location /perl-status>
  685. SetHandler perl-script
  686. <IfDefine !APACHE2>
  687.   PerlHandler Apache::Status
  688. </IfDefine>
  689. <IfDefine APACHE2>
  690.   PerlResponseHandler Apache::Status
  691. </IfDefine>
  692.         <IfModule mod_access.c>
  693.   Order deny,allow
  694.   Deny from all
  695.   Allow from 127.0.0.1
  696.         </IfModule>
  697.     </Location>
  698. </IfModule>
  699. #
  700. # There have been reports of people trying to abuse an old bug from pre-1.1
  701. # days.  This bug involved a CGI script distributed as a part of Apache.
  702. # By uncommenting these lines you can redirect these attacks to a logging  
  703. # script on phf.apache.org.  Or, you can record them yourself, using the script
  704. # support/phf_abuse_log.cgi.
  705. #
  706. #<Location /cgi-bin/phf*>
  707. #    Deny from all
  708. #    ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi
  709. #</Location>
  710. <IfModule mod_include.c>
  711. #    XBitHack on
  712. </IfModule>
  713. #
  714. # This should be changed to whatever you set DocumentRoot to.
  715. #
  716. <Directory /var/www/html>
  717. #
  718. # This may also be "None", "All", or any combination of "Indexes",
  719. # "Includes", "FollowSymLinks", "SymLinksifOwnerMatch", "ExecCGI", or "MultiViews".
  720. #
  721. # Note that "MultiViews" must be named *explicitly* --- "Options All"
  722. # doesn't give it to you.
  723. #
  724.     Options -Indexes FollowSymLinks MultiViews
  725. #
  726. # This controls which options the .htaccess files in directories can
  727. # override. Can also be "All", or any combination of "Options", "FileInfo",  
  728. # "AuthConfig", and "Limit"
  729. #
  730.     AllowOverride All
  731. #
  732. # Controls who can get stuff from this server.
  733. #
  734.     <IfModule mod_access.c>
  735.       Order allow,deny
  736.       Allow from all
  737.     </IfModule>
  738. </Directory>
  739. <Directory /var/www/perl>
  740.     AllowOverride All
  741.     Options -Indexes FollowSymLinks MultiViews ExecCGI
  742.     <IfModule mod_access.c>
  743.       Order allow,deny
  744.       Allow from all
  745.     </IfModule>
  746. </Directory>
  747. <IfModule mod_cgid.c>
  748. #
  749. # Additional to mod_cgid.c settings, mod_cgid has Scriptsock <path>
  750. # for setting UNIX socket for communicating with cgid.
  751. #
  752. #Scriptsock            /cgisock
  753. </IfModule>
  754. <Directory /var/www/cgi-bin>
  755.     AllowOverride All
  756.     Options ExecCGI
  757.     <IfModule mod_access.c>
  758.       Order allow,deny
  759.       Allow from all
  760.     </IfModule>
  761. </Directory>
  762. <Directory /var/www/protected-cgi-bin>
  763.     AllowOverride All
  764.     Options ExecCGI
  765.     <IfModule mod_access.c>
  766.       Order deny,allow
  767.       Deny from all
  768.       Allow from 127.0.0.1
  769.       #allow from .your_domain.com
  770.     </IfModule>
  771. </Directory>
  772. #
  773. # Control access to UserDir directories.  The following is an example
  774. # for a site where these directories are restricted to read-only.
  775. #
  776. #<Directory /home/*/public_html>
  777. #    AllowOverride FileInfo AuthConfig Limit
  778. #    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
  779. #    <Limit GET POST OPTIONS PROPFIND>
  780. #        Order allow,deny
  781. #        Allow from all
  782. #    </Limit>
  783. #    <LimitExcept GET POST OPTIONS PROPFIND>
  784. #        Order deny,allow
  785. #        Deny from all
  786. #    </LimitExcept>
  787. #</Directory>
  788. # These settings are pretty flexible, and allow for Frontpage and XSSI
  789. <Directory /home/*/public_html>
  790.     AllowOverride All
  791.     Options MultiViews -Indexes Includes FollowSymLinks
  792.     <IfModule mod_access.c>
  793.       Order allow,deny
  794.       Allow from all
  795.     </IfModule>
  796. </Directory>
  797. <Directory /home/*/public_html/cgi-bin>
  798.     Options +ExecCGI -Includes -Indexes
  799.     SetHandler cgi-script
  800.     <IfModule mod_access.c>
  801.       Order allow,deny
  802.       Allow from all
  803.     </IfModule>
  804. </Directory>
  805. <IfModule mod_perl.c>
  806.     <Directory /home/*/public_html/perl>
  807. SetHandler perl-script
  808. <IfDefine !APACHE2>
  809.   PerlHandler Apache::PerlRun
  810. </IfDefine>
  811. <IfDefine APACHE2>
  812.   PerlResponseHandler ModPerl::PerlRun
  813. </IfDefine>
  814. Options -Indexes ExecCGI
  815. PerlSendHeader On
  816.        <IfModule mod_access.c>
  817.          Order allow,deny
  818.          Allow from all
  819.        </IfModule>
  820.     </Directory>
  821. </IfModule>
  822. <Directory /var/www/icons>
  823.     Options -Indexes MultiViews
  824.     AllowOverride None
  825.     <IfModule mod_access.c>
  826.       Order allow,deny
  827.       Allow from all
  828.     </IfModule>
  829. </Directory>
  830. <Directory /usr/share/doc>
  831.     Options Indexes FollowSymLinks
  832.     <IfModule mod_access.c>
  833.       Order deny,allow
  834.       Deny from all
  835.       Allow from 127.0.0.1
  836.       #allow from .your_domain.com
  837.     </IfModule>
  838. </Directory>
  839. <Directory /var/www/html/addon-modules>
  840.     Options Indexes FollowSymLinks
  841. </Directory>
  842. <Location /index.shtml>
  843.     Options +Includes
  844. </Location>
  845. <IfModule mod_perl.c>
  846.     <IfDefine !APACHE2>
  847.       PerlModule Apache::Registry
  848.     </IfDefine>
  849.      
  850.     #set Apache::Registry Mode for /perl Alias
  851.     <Location /perl/*.pl>
  852. SetHandler perl-script
  853. <IfDefine !APACHE2>
  854.   PerlHandler Apache::Registry
  855. </IfDefine>
  856. <IfDefine APACHE2>
  857.   PerlResponseHandler ModPerl::Registry
  858. </IfDefine>
  859. Options -Indexes ExecCGI
  860. PerlSendHeader On
  861.     </Location>
  862.     #set Apache::PerlRun Mode for /cgi-perl Alias
  863.     <Location /cgi-perl/*.pl>
  864. SetHandler perl-script
  865. <IfDefine !APACHE2>
  866.   PerlHandler Apache::PerlRun
  867. </IfDefine>
  868. <IfDefine APACHE2>
  869.   PerlResponseHandler ModPerl::PerlRun
  870. </IfDefine>
  871. Options -Indexes ExecCGI
  872. PerlSendHeader On
  873.     </Location>
  874. </IfModule>


 
y a t'il un pb avec mes fichiers????
 
si qqun me trouve la solution, je  lui en serai vraiment redevable!!!!!!
 
 
merci a tous!!!!!!!!


---------------
"afin de prolonger tes jours sur cette terre que l'eternel ton D-ieu te donne."
mood
Publicité
Posté le 24-11-2005 à 13:13:07  profilanswer
 

n°755564
mikala
Souviens toi du 5 Novembre...
Posté le 24-11-2005 à 13:16:30  profilanswer
 

est il possible de sortir du réseau a partir de la machine sous laquelle tourne ton serveur apache ?
(note je doute que la configuration de ton serveur apache soit en cause , c'est la configuration de ton réseau qui est a revoir a mon avis.)

n°755576
memaster
ki a volé mon 62?
Posté le 24-11-2005 à 13:48:02  profilanswer
 

un p'ti ifconfig et route seraient les bienvenus
ainsi que netstat histoire de verifier sur quoi ecoute ton httpd.
verifie aussi la config dns ==> /etc/resolv.conf et l'ip de ta gateway (passerelle).

n°755579
l0ky
Posté le 24-11-2005 à 13:51:56  profilanswer
 

netstat -laptn pour vérifier que httpd écoute sur le bon port et sur les bonnes interfaces
iptables -L -n -v pour vérifier que netfilter ne bloque rien sur le serveur
revérifier le NAT sur le routeur
revérifier l'ouverture du port 80 depuis internet vers ton serveur sur le routeur/firewall
vérifier les routes sur le serveur


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  réseaux et sécurité

  serveur apache qui refuse toute connec de l'exterieur

 

Sujets relatifs
Apache : bloquer l'accès par adresse IPServeur qui rame au bout de quelques heures
lien symbolique dans un serveur ftpdebian : je peux pas lancer le serveur X
[Serveur VSFTP] VSFTP + SSL - HelpServeur virtuel et distribution
Pb ApacheServeur de License pour Cluster
Script php sur la charge du serveurInstallion Mandriva Apache
Plus de sujets relatifs à : serveur apache qui refuse toute connec de l'exterieur


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR