You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Valy A <ma...@hotmail.com> on 2003/06/25 10:02:35 UTC

[users@httpd] virtualhost maximum limit (?)

Hello,

i've an httpd.conf with 520s

include "conf/nnnnnnn.conf"

if i add some new, i get a blank page (php script) , this includes are in 
the form:


<VirtualHost  216.132.33.11:515>
   ServerName dantefreakjournal.zger.com
   DirectoryIndex  index.php

   SetEnv USER_ID 640
   SetEnv ZBLOG_ID 595

   DocumentRoot /var/local/sdapache/htdocs2//home/640/

   RewriteEngine On
   RewriteRule   ^/$  
"http://dantefreakjournal.zger.com/pagine/index/....html" [R=permanent]

   Alias /pagine/ /var/local/sdapache/htdocs2//pagine/640/595/
   Alias /dinamico/ /var/local/sdapache/htdocs/
   Alias /admin/ /var/local/sdapache/htdocs/admin/

   ErrorDocument 404 /dinamico/cache.php

   <Directory /var/local/sdapache/htdocs/>
       SetEnv USER_ID 640
       SetEnv ZBLOG_ID 595
       Options -Indexes +Includes +FollowSymLinks
   </Directory>

   ErrorLog /var/local/sdapache/logs/640_595_error.log
   CustomLog /var/local/sdapache/logs/640_595.log combined
</VirtualHost>
---------------

in front there is an apache that proxy requests on post 515

what is the problem?

thanks.
Valy


-------------------
http://AbsoluteMeet.com

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
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] virtualhost maximum limit (?)

Posted by Sander Holthaus - Orange XL <in...@orangexl.com>.
Perhaps you are running into some sort of an OS-limit? On some OS's there is
a limit on how many file(handle)'s you can use at a given time. Running over
500 virtual hosts on one machine could give problems in this area.

Also, using so many different conf-files will also slow down Apache a bit
when (re)starting. I see a double / (DocumentRoot
/var/local/sdapache/htdocs2//home/640/) but that won't hurt. Last, you could
also Redirect without using the rewrite-engine, by using the
RedirectPermanent command.

Kind Regards,
Sander Holthaus

-----Original Message-----
From: Valy A [mailto:maweb@hotmail.com] 
Sent: woensdag 25 juni 2003 10:03
To: users@httpd.apache.org
Subject: [users@httpd] virtualhost maximum limit (?) 


Hello,

i've an httpd.conf with 520s

include "conf/nnnnnnn.conf"

if i add some new, i get a blank page (php script) , this includes are in 
the form:


<VirtualHost  216.132.33.11:515>
   ServerName dantefreakjournal.zger.com
   DirectoryIndex  index.php

   SetEnv USER_ID 640
   SetEnv ZBLOG_ID 595

   DocumentRoot /var/local/sdapache/htdocs2//home/640/

   RewriteEngine On
   RewriteRule   ^/$  
"http://dantefreakjournal.zger.com/pagine/index/....html" [R=permanent]

   Alias /pagine/ /var/local/sdapache/htdocs2//pagine/640/595/
   Alias /dinamico/ /var/local/sdapache/htdocs/
   Alias /admin/ /var/local/sdapache/htdocs/admin/

   ErrorDocument 404 /dinamico/cache.php

   <Directory /var/local/sdapache/htdocs/>
       SetEnv USER_ID 640
       SetEnv ZBLOG_ID 595
       Options -Indexes +Includes +FollowSymLinks
   </Directory>

   ErrorLog /var/local/sdapache/logs/640_595_error.log
   CustomLog /var/local/sdapache/logs/640_595.log combined </VirtualHost>
---------------

in front there is an apache that proxy requests on post 515

what is the problem?

thanks.
Valy


-------------------
http://AbsoluteMeet.com

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
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



---------------------------------------------------------------------
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