PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.win > How to hide http service?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.win Web servers for MS Windows and NT.

How to hide http service?

Réponse
 
LinkBack Outils de la discussion
Vieux 10/12/2005, 02h36   #1 (permalink)
userdear@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut How to hide http service?

I want my Apache server to refuse all connections except localhost ,
and make http service invisible to other machine in case to be hacked.

Can anyon me ? Thanks in advance!

  Réponse avec citation
Vieux 10/12/2005, 12h20   #2 (permalink)
Kees Nuyt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to hide http service?

On 9 Dec 2005 18:36:52 -0800, userdear@gmail.com wrote:

>I want my Apache server to refuse all connections except localhost ,
>and make http service invisible to other machine in case to be hacked.
>
>Can anyon me ? Thanks in advance!


Listen 127.0.0.1:80

and define for the webroot directory:

Deny From All
Allow From 127.0.0.1
--
( Kees
)
c[_] A friend: someone who likes you even after they know you. (#285)
  Réponse avec citation
Vieux 10/12/2005, 19h27   #3 (permalink)
Kees Nuyt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to hide http service?

On Sat, 10 Dec 2005 13:20:37 +0100, Kees Nuyt
<k.nuyt@nospam.demon.nl> wrote:

>On 9 Dec 2005 18:36:52 -0800, userdear@gmail.com wrote:
>
>>I want my Apache server to refuse all connections except localhost ,
>>and make http service invisible to other machine in case to be hacked.
>>
>>Can anyon me ? Thanks in advance!

>
>Listen 127.0.0.1:80
>
>and define for the webroot directory:
>
>Deny From All
>Allow From 127.0.0.1


To be a bit more explicit, make that:

#
# DocumentRoot: The directory out of which you will serve
# your documents. By default, all requests are taken from
# this directory, but symbolic links and aliases may be
# used to point to other locations.
#
# Default at installation
# DocumentRoot "installdrive:/installpath/htdocs"
DocumentRoot "yourdrive:/yourdocumentroot"
:
:
#
# First, we configure the "default" to
# be a very restrictive set of features.
# This lets no one in.
#
<Directory />
Options FollowSymLinks
AllowOverride None
Order Deny,Allow
Deny from all
</Directory>
:
:
# Later we can use more specific
# settings per directory served.
# It doesn't harm to repeat the
# Options and Deny directives.
#
<Directory "yourdrive:/yourdocumentroot">
AllowOverride None
Options None
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
#
# you may want to be less restrictive
# for other specific directories.
#
<Directory "yourdrive:/yourdocumentroot/public">
Order Allow,Deny
Allow from All
Deny from blacklisted.domain.com
Deny from msn.com aol.net
</Directory>
....

See also:
http://httpd.apache.org/docs/2.0/mod/mod_access.html

Hope this s.
--
( Kees
)
c[_] What's the point in running when the light at
the end of the tunnel iz just another train... (#261)
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 23h12.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08325 seconds with 11 queries