You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Gero Fricke <ge...@fricke.com> on 2007/01/27 23:09:01 UTC

[users@httpd] Apache2 hangs when running on 2 port

Hi, when I add a 2nd listen statement into ports.conf and restart 
apache2 the server just hangs and doesn't serve any pages. The TCP 
sessions to the ports are established and the browser's waiting for 
data. No errors in the debug log. Same setup is running with no 
problems on a 2nd server (same platform / OS / config). Any ideas ?

Thank you, Gero.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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


Re: [users@httpd] Reverse proxy with cache

Posted by Joshua Slive <jo...@slive.ca>.
On 1/28/07, arun kumar <ar...@yahoo.com> wrote:

> If i request page from backend server then  i'ts not caching any content..i
> found there was no files under /local/apache2/logs/cache directory.
>
> i also set 777 permission for directory local/apache2/logs/cache but no use.
>
> Please let me know what i done wrongly

Start by upgrading to 2.2 where many caching fixes have been included.

Then set LogLevel to debug and look in the error log.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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


[users@httpd] Reverse proxy with cache

Posted by arun kumar <ar...@yahoo.com>.
Hi All,
   
  Below find the reverse proxy configuration with disk cache enabled.
   
     
        Proxypass / http://10.249.68.24:9001/
        ProxypassReverse / http://10.249.68.24:9001/
        ifModule mod_cache.c>
          <IfModule mod_disk_cache.c>
        UseCanonicalName Off
        CacheRoot /local/apache2/logs/cache
        CacheEnable disk /
        CacheIgnoreNoLastMod On
        CacheIgnoreCacheControl On
        CacheIgnoreHeaders Set-Cookie
        CacheDefaultExpire 320
        CacheMinFileSize 64
        CacheMaxFileSize 64000
        CacheDirLevels 2
        CacheDirLength 1
          </IfModule>
          <IfModule>
        <Directory /local/apache2/logs/cache>
Allow from all
</Directory>

  If i request page from backend server then  i'ts not caching any content..i found there was no files under /local/apache2/logs/cache directory.
   
  i also set 777 permission for directory local/apache2/logs/cache but no use.
   
  Please let me know what i done wrongly
   
  regards,
  Arun
   
  
 



 
---------------------------------
Bored stiff? Loosen up...
Download and play hundreds of games for free on Yahoo! Games.