Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 71359 invoked from network); 12 Jun 2004 00:11:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 12 Jun 2004 00:11:12 -0000 Received: (qmail 84826 invoked by uid 500); 12 Jun 2004 00:11:17 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 84680 invoked by uid 500); 12 Jun 2004 00:11:16 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 84665 invoked by uid 99); 12 Jun 2004 00:11:16 -0000 Received: from [206.46.164.52] (HELO oe-im1.bizmailsrvcs.net) (206.46.164.52) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 11 Jun 2004 17:11:16 -0700 Received: from mm-ismta3.bizmailsrvcs.net ([192.168.133.28]) by oe-im1.bizmailsrvcs.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040612001049.OJHS2438.oe-im1.bizmailsrvcs.net@mm-ismta3.bizmailsrvcs.net> for ; Fri, 11 Jun 2004 19:10:49 -0500 Received: from OREDJ630Q31 ([66.15.59.86]) by mm-ismta3.bizmailsrvcs.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20040612001048.ZHQL9899.mm-ismta3.bizmailsrvcs.net@OREDJ630Q31> for ; Fri, 11 Jun 2004 19:10:48 -0500 Reply-To: From: "Michael" To: , Date: Fri, 11 Jun 2004 17:10:46 -0700 Organization: XShellR8 Message-ID: <001f01c45011$b65d4b10$563b0f42@amer.ads.autodesk.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 In-Reply-To: <40C9EA20.6090409@noos.fr> Importance: Normal X-Virus-Checked: Checked Subject: RE: [users@httpd] problem with distant vs. local acces with apache 2 X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Are you typing in the IP of the machine in order to access the page at a distance, such as http://xx.xx.xx.xx/index.html? Is it a static IP being used? Since you don't have a domain you will have to access it via an IP address as shown above. Hope this helps, Michael -----Original Message----- From: irisson jean-olivier [mailto:jo.irisson@noos.fr] Sent: June 11, 2004 9:22 AM To: users@httpd.apache.org. Subject: [users@httpd] problem with distant vs. local acces with apache 2 hi everybody, I encounter a problem that a search on google/groups/mailing list archive cannot solve. I have seen a few somehow similar posts (so my problem might not be completely unique) but no usefull solutions. I've Apache 2.0.48 set up on a Mandrake Linux 10.0 (installed with rpms: apache2-2.0.48-6mdk.rpm). All the options are the default ones. I launch the server as root by typing: > httpd2 Opening a browser on my machine I can see the content of /var/www/html/ (my DocumentRoot). I can either see the default page or any index.html page I put there (in fact I'm mounting virtually my web site directory in /var/www/html by: > mount --bind /home/me/mywebsite/ /var/www/html/ ). I can see the page either under the adress: http://localhost/ of the adress: http://my.ip.addr.ess/ The only warning I'm receiving when I launch httpd2 is: > httpd2: Could not determine the server's fully qualified domain name, using ##.##.##.### for ServerName where the numbers are my ip adress. which is predictable as I haven't set the ServerName in httpd2.conf. I'm installing this server on my personal computer at home and therefore, I don't have a domain name as I would in an organisation. But I do not think this is a problem (maybe my mistake is there...) Therfore LOCALLY everything seems to be working fine. Nevertheless when I try to see the web site from a DISTANT computer I receive a blank page and an error message saying that the browser cannot connect to the page. I don't understand why because: - I can ping my IP from the distant computer - I have an SHH and an FTP server installed and I can access them from distant machines with no problems - I do not have a firewall blocking port 80 - I cannot see any access restriction in the default httpd2.conf I'm using. any help would be welcome. I have the feeling that I'm missing something obvious but I really can't find what. thank you in advance. JiHO. PS:my httpd2.conf (if any other material is needeed I will send it): ### Main Configuration Section ### You really shouldn't change these settings unless you're a guru ### ServerRoot /etc/httpd/2.0 #ServerName localhost #LockFile /etc/httpd/httpd.lock PidFile /var/run/httpd.pid ErrorLog logs/error_log LogLevel warn DocumentRoot /var/www/html ### Dynamic Shared Object (DSO) Support ### ### You should always leave those three, as they are needed for ### normal use. ### mod_access (Order, Allow, etc..) ### mod_log_config (Transferlog, etc..) ### mod_mime (AddType, etc...) LoadModule access_module modules/mod_access.so LoadModule auth_module modules/mod_auth.so LoadModule auth_anon_module modules/mod_auth_anon.so ##LoadModule auth_dbm_module modules/mod_auth_dbm.so LoadModule auth_digest_module modules/mod_auth_digest.so ##LoadModule charset_lite_module modules/mod_charset_lite.so ##LoadModule case_filter_module modules/mod_case_filter.so ##LoadModule case_filter_in_module modules/mod_case_filter_in.so ##LoadModule ext_filter_module modules/mod_ext_filter.so LoadModule include_module modules/mod_include.so LoadModule log_config_module modules/mod_log_config.so LoadModule logio_module modules/mod_logio.so LoadModule env_module modules/mod_env.so ##LoadModule mime_magic_module modules/mod_mime_magic.so ##LoadModule cern_meta_module modules/mod_cern_meta.so LoadModule expires_module modules/mod_expires.so LoadModule headers_module modules/mod_headers.so LoadModule usertrack_module modules/mod_usertrack.so ##LoadModule unique_id_module modules/mod_unique_id.so LoadModule setenvif_module modules/mod_setenvif.so LoadModule mime_module modules/mod_mime.so LoadModule status_module modules/mod_status.so LoadModule autoindex_module modules/mod_autoindex.so LoadModule asis_module modules/mod_asis.so LoadModule info_module modules/mod_info.so LoadModule cgi_module modules/mod_cgi.so ##LoadModule cgid_module modules/mod_cgid.so LoadModule vhost_alias_module modules/mod_vhost_alias.so LoadModule negotiation_module modules/mod_negotiation.so LoadModule dir_module modules/mod_dir.so LoadModule imap_module modules/mod_imap.so LoadModule actions_module modules/mod_actions.so ##LoadModule speling_module modules/mod_speling.so LoadModule userdir_module modules/mod_userdir.so LoadModule alias_module modules/mod_alias.so LoadModule rewrite_module modules/mod_rewrite.so ### ### 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.) # For Apache2 we load all conf files in conf.d Include /etc/httpd/conf.d/*.conf 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 * Listen 8080 Listen 80 # 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. RewriteEngine on RewriteRule ^proxy:.* - [F] RewriteRule ^(.*\/perl\/.*)$ http://%{HTTP_HOST}:8200$1 [P] RewriteRule ^(.*\/cgi-perl\/.*)$ http://%{HTTP_HOST}:8200$1 [P] ### ### Log configuration Section ### #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 # prefork MPM [THIS IS THE DEFAULT] # StartServers: number of server processes to start # MinSpareServers: minimum number of server processes which are kept spare # MaxSpareServers: maximum number of server processes which are kept spare # MaxClients: maximum number of server processes allowed to start # MaxRequestsPerChild: maximum number of requests a server process serves StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 150 MaxRequestsPerChild 0 # worker MPM # StartServers: initial number of server processes to start # MaxClients: maximum number of simultaneous client connections # MinSpareThreads: minimum number of worker threads which are kept spare # MaxSpareThreads: maximum number of worker threads which are kept spare # ThreadsPerChild: constant number of worker threads in each server process # MaxRequestsPerChild: maximum number of requests a server process serves StartServers 2 MaxClients 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0 # perchild MPM # NumServers: constant number of server processes # StartThreads: initial number of worker threads in each server process # MinSpareThreads: minimum number of worker threads which are kept spare # MaxSpareThreads: maximum number of worker threads which are kept spare # MaxThreadsPerChild: maximum number of worker threads in each server process # MaxRequestsPerChild: maximum number of connections per server process NumServers 5 StartThreads 5 MinSpareThreads 5 MaxSpareThreads 10 MaxThreadsPerChild 20 MaxRequestsPerChild 0 --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org