Config appache pour intranet et internet
dudux2
Messages postés
1
Statut
Membre
-
dudux2 -
dudux2 -
Bonjour,
Je souhaite hebergé mon site sur mon server. Mon but est de pouvoir visualisé mon site en local et à l'exterieur par le net.
j'aimerais accedé à la console d'administration par le reseau seulement.
Pour cela j'utilise easyphp sous windows xp.
J'ai ouvert le port 80 en tcp sur la freebox pour l'adresse 192.168.0.3 (le server).
Et le pc du reseau qui doit pouvoir avoir acces à la console d'administration est le 192.168.0.5
Pouriez vous me dire si ma configuration de mon http.conf est bonne?
Listen 127.0.0.1:80 192.168.0.5
ServerName localhost
#
# 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.
#
DocumentRoot "${path}/www"
#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Satisfy all
</Directory>
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "${path}/www">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
==> Deuxieme question à quoi sert cette parti ci-dessous creer par la console d'administration de easyphp? Car elle 'a aucun effet!
### Alias EasyPHP
# !!! DO NOT REMOVE !!!
# ========================================
#alias
Alias "/lewebadudu" "D:/serverweb/lewebadudu/"
<Directory "D:/serverweb/lewebadudu">
Options FollowSymLinks Indexes
AllowOverride None
Order deny,allow
Allow from all
</Directory>
#alias
# ========================================
### Alias End
Je souhaite hebergé mon site sur mon server. Mon but est de pouvoir visualisé mon site en local et à l'exterieur par le net.
j'aimerais accedé à la console d'administration par le reseau seulement.
Pour cela j'utilise easyphp sous windows xp.
J'ai ouvert le port 80 en tcp sur la freebox pour l'adresse 192.168.0.3 (le server).
Et le pc du reseau qui doit pouvoir avoir acces à la console d'administration est le 192.168.0.5
Pouriez vous me dire si ma configuration de mon http.conf est bonne?
Listen 127.0.0.1:80 192.168.0.5
ServerName localhost
#
# 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.
#
DocumentRoot "${path}/www"
#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Satisfy all
</Directory>
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "${path}/www">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>
==> Deuxieme question à quoi sert cette parti ci-dessous creer par la console d'administration de easyphp? Car elle 'a aucun effet!
### Alias EasyPHP
# !!! DO NOT REMOVE !!!
# ========================================
#alias
Alias "/lewebadudu" "D:/serverweb/lewebadudu/"
<Directory "D:/serverweb/lewebadudu">
Options FollowSymLinks Indexes
AllowOverride None
Order deny,allow
Allow from all
</Directory>
#alias
# ========================================
### Alias End
A voir également:
- Config appache pour intranet et internet
- Connaitre sa config pc - Guide
- Gps sans internet - Guide
- Internet explorer - Guide
- Mon pc rame sur internet - Guide
- Complete internet repair - Télécharger - Web & Internet