kentwood
-
2 juil. 2004 à 15:13
asevere
Messages postés13089Date d'inscriptionlundi 28 janvier 2002StatutWebmasterDernière intervention 3 février 2022
-
3 juil. 2004 à 18:09
slt voila j ai installé apache 1.3 sur mon serveur linux, le fichier mis en ligne par apache est /var/www/html/ et je veux mettre plusieur site ds ce dossier donc au final j ai /var/www/html/avril_site et /var/www/html/ayu_site. Ayant une ip dynamic j ai souscrit un compte sur dyndns.org afin de spécifier un dns dynamic pr mon ip. j ai donc comme dns: kentwood.dyndns.org qui cible donc sur /var/www/html/ Pour fiinir j utilise un script avec ez-ipdate pr mettre regulierement a jour mon ip vis a vis de dyndns.org
Mon probleme c est que mes pages web sont dispônibles uniquement sur mon resau local (dyndns.org cible sur http://ip_local) dc en gros il y a que moi qui y ai acces alors que je voudrais mettre ces pages sur internet pour que tt le monde puisse les voir.
J en ai dedeuis que ca venait de mon httpd.conf
merci pr votre aide
httpd.conf:
### Main Configuration Section
### You really shouldn't change these settings unless you're a guru
###
ServerType standalone
ServerRoot /etc/httpd
ServerAdmin kentwood@club-internet.fr
ServerName www.dyndns.org #LockFile /etc/httpd/httpd.lock
PidFile /var/run/httpd.pid
ScoreBoardFile /etc/httpd/httpd.scoreboard
ErrorLog logs/error_log
LogLevel warn
#ResourceConfig /dev/null
#AccessConfig /dev/null
DocumentRoot /var/www/html
UseCanonicalName On
DefaultType application/octet-stream
HostNameLookups off
ServerSignature off
<Directory /var/www/html>
Options FollowSymlinks
AllowOverride None
Order allow,deny
allow from all
</Directory>
###
### Global Configuration
###
# We now support multiple apache configurations on the same server. In
# common.conf, we put all directives that are common to all implementations
# (httpd, httpd-perl, etc.)
Include conf/commonhttpd.conf
###
### IP Address/Port and Proxied configuration section
###
# The APACHEPROXIED setting can be set in /etc/rc.d/init.d/httpd if you
# are using a proxy or accelerator, like the Apache-SGI or khttpd, so that
# the fast web server serves static content while Apache handles the
# cgi or php files
#BindAddress *
<IfDefine APACHEPROXIED>
Port 8080
Listen 8080
</IfDefine>
<IfDefine !APACHEPROXIED>
Port 80
Listen 80
</IfDefine>
# Likewise, we can set apache as the server by default and send perl
# requests via ProxyPass to apache-mod_perl. It increases performance
# since the perl interpreter is only used for perl and the standard apache
# does all the html and image files, with a smaller footprint.
#
# If you install apache and apache-mod_perl, this is the default config.
# If you don't want two web servers to use perl, uninstall apache, and
# apache-mod_perl will not be proxied.
#Single logfile with access, agent and referer information
#This is the default, if vlogs are not defined for the main server
CustomLog logs/access_log combined env=!VLOG
#If VLOG is defined in conf/vhosts/Vhost.conf, we use this entry
CustomLog "|/usr/sbin/advxsplitlogfile" vhost env=VLOG
###
### Virtual Hosts
###
# We include different templates for Virtual Hosting. Have a look in the
# vhosts directory and modify to suit your needs.
Include conf/vhosts/Vhosts.conf
#Include conf/vhosts/DynamicVhosts.conf
#Include conf/vhosts/VirtualHomePages.conf
###
### Performance settings Section
###
#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300
#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
KeepAlive On
#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
MaxKeepAliveRequests 100
#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
KeepAliveTimeout 15
#
# Server-pool size regulation. Rather than making you guess how many
# server processes you need, Apache dynamically adapts to the load it
# sees --- that is, it tries to maintain enough server processes to
# handle the current load, plus a few spare servers to handle transient
# load spikes (e.g., multiple simultaneous requests from a single
# Netscape browser).
#
# It does this by periodically checking how many servers are waiting
# for a request. If there are fewer than MinSpareServers, it creates
# a new spare. If there are more than MaxSpareServers, some of the
# spares die off. The default values are probably OK for most sites.
#
MinSpareServers 5
MaxSpareServers 10
#
# Number of servers to start initially --- should be a reasonable ballpark
# figure.
#
StartServers 5
#
# Limit on total number of servers running, i.e., limit on the number
# of clients who can simultaneously connect --- if this limit is ever
# reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW.
# It is intended mainly as a brake to keep a runaway server from taking
# the system with it as it spirals down...
#
MaxClients 150
#
# MaxRequestsPerChild: the number of requests each child process is
# allowed to process before the child dies. The child will exit so
# as to avoid problems after prolonged use when Apache (and maybe the
# libraries it uses) leak memory or other resources. On most systems, this
# isn't really needed, but a few (such as Solaris) do have notable leaks
# in the libraries. For these platforms, set to something like 10000
# or so; a setting of 0 means unlimited.
#
# NOTE: This value does not include keepalive requests after the initial
# request per connection. For example, if a child process handles
# an initial request and 10 subsequent "keptalive" requests, it
# would only count as 1 request towards this limit.
#
MaxRequestsPerChild 500
asevere
Messages postés13089Date d'inscriptionlundi 28 janvier 2002StatutWebmasterDernière intervention 3 février 2022425 3 juil. 2004 à 18:09
Salut :)
C'est ton script ez-ipdate qui doit etre mal foutu...
Si je cherche kentwood.dyndns.org, je trouve l'ip 192.168.2.2 qui ne peut-etre qu'une ip sur ton réseau local..., donc injoignable, tant que ce n'est pas ton ip publique qui est liée à kentwood.dyndns.org, personne ne pourra y acceder en dehors de ceux etant sur ton LAN :)