Home Page   #c  #ruby-lang  #cisco  #mysql  #apache  #javascript  #java  #perl  #php  #openmoko   Wallpapers Girl
Reliable $1 Web Hosting by 3iX

Channels


#apache

29 December 2007


Total 17 pages. You are browsing page 17/17.

First :: Prev :: [...] [13] [14] [15] [16] [17] :: Next :: Last

23:39 <****> thanks Creed :)
23:39 * bitmonk is still unsure why fajita apologized to him earlier ;d
23:40 <****> lol
23:40 <****> can namevirtualhost accept hostnames/fqdns or just ips?
23:40 <****> use *:80 ;)
23:40 <****> alright
23:41 <****> i don't think it can accept hostnames, and in general you should be using *:80 for practicality sake unless you *need* it to refuse to listen on a certain ip or all but a certain ip.
23:42 <****> [Sat Dec 29 14:40:48 2007] [warn] NameVirtualHost *:80 has no VirtualHosts
23:42 <****> [Sat Dec 29 14:40:59 2007] [warn] NameVirtualHost *:80 has no VirtualHosts
23:42 <****> btw, i usually place my vhosts in something like /etc/httpd/vhosts.d, add an Include for vhosts.d/*.conf, and then just rename sites to foo.conf.disabled when i want to turn them off.
23:42 <****> Creed: did you change the * in your vhosts to *:80?
23:42 <****> bitmonk, yessir
23:42 <****> hum
23:42 <****> put the latest copy in aschen.net, pls?
23:43 <****> BUT hey! the domains load their respective sites now :D
23:43 <****> is it normal for to have 5 instances of apache2?
23:43 <****> bitmonk: indeed. commonsense is useful isnit :P
23:43 <****> *is it normal to have 5 instances of apache2?
23:43 <****> isn't it *
23:43 <****> slimjimflim: its not usually 5 instances.
23:43 <****> slimjimflim: but yes.
23:44 <****> slimjimflim: some servers will have hundreds.
23:44 <****> bitmonk, http://rondutt.com/apache2.conf
23:44 <****> Creed: well, we oughta get rid of your warnings anyway :)
23:44 <****> or it might blow up tomorrow
23:44 <****> [dumb]sgr one for each user accessing the site?
23:44 <****> lol true
23:44 <****> you only need one NameVirtualHost, fyi
23:44 <****> slimjimflim: yes, and some spare (usually about 5 by default IIRC)
23:44 <****> it shouldn't break if you put two, but i'd remove the second
23:44 <****> oic
23:44 <****> cool then
23:45 <****> slimjimflim: its well coverered in the docs. Have a look for things like MPM, PreFork and such
23:45 <****> and let's see if that affect your warnings
23:45 <****> k
23:45 <****> there are settings like SpareServers, MaxChildThreads and such
23:46 <****> i'm not so worried about it now, but if it comes up i'll check that stuff out
23:46 <****> btw, check a pstree
23:46 <****> to see the actual structure ;)
23:46 <****> bitmonk, that did it! :D
23:46 <****> sweet, i never knew about that command
23:46 <****> also, some versions of 'ps' have the 'f' options, e.g. 'ps auxf' and you can see hierarchy of parent / child processes in there
23:47 <****> Creed: wonderful.
23:47 <****> bitmonk: i thought most systems aliased pstree to ps -auxf or similar
23:47 <****> is it actually a different binary?
23:47 <****> i think apache has a creative way of saying "while NameVirtualHost *:80 and NameVirtualHost *:80 are the same thing, and i *should* ignore the second, i'm going to create some sort of unused data structure and complain that it's not being used. you figure it out." :-P
23:48 <****> [DumB]SGR: it was the last time i used pstree
23:48 <****> totally different output
23:48 <****> fair enough.
23:48 <****> i wouldn't be surprised if some systems didn't want to install pstree and aliased ps for convenience, though.
23:49 <****> now to tackle mod_rewrite
23:51 <****> so, anyone have any idea why a clean apache-2.2.6 might decide to keep segfaulting all the time presuming the system has a decent ammount of free resources?
23:51 <****> bad ram
23:51 <****> did a memtest, came out fine :/
23:52 <****> eh well, its not happening much atleast
23:53 <****> well see what gdb says when we get a core dump
23:53 <****> we'll*
23:53 <****> what is alias?
23:53 <****> alias is http://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias
23:55 <****> Hi, is there any way to limit the speed each user gets on an Apache web server?
23:56 <****> not natively
23:56 <****> mod_ratelimit
23:56 <****> mod_bandwidth
23:56 <****> mod_bandwidth is http://www.cohprog.com/mod_bandwidth.html or http://www.ivn.cl/apache/
23:56 <****> something along those lines
23:57 <****> [Sat Dec 29 17:38:16 2007] [error] [client 203.173.156.243] SoftException in Application.cpp:238: File "/home/netxserv/public_html/livesupport/index.php" is$
23:57 <****> [Sat Dec 29 17:38:16 2007] [error] [client 203.173.156.243] Premature end of script headers: index.php
23:57 <****> Is this an Apache error or PHP error?
23:57 <****> Milos, php
23:57 <****> premature end of script headers
23:57 <****> 'Premature end of script headers' means that the script either encountered an error, or is emitting a bogus HTTP header. Check out http://httpd.apache.org/docs/misc/FAQ.html#premature-script-headers or see suexec or see ScriptLog or see 500 or see cg-eye (diagnostic tool)
23:57 <****> go there and fix it :)
23:57 <****> SWEET
--- Log closed Sun Dec 30 00:00:58 2007


Total 17 pages. You are browsing page 17/17.

First :: Prev :: [...] [13] [14] [15] [16] [17] :: Next :: Last


Tutti i nuovi CAP Italiani. Come ottenere il database completo