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

Channels


#apache

29 December 2007


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

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last

--- Log opened Sat Dec 29 00:00:56 2007
00:03 <****> ok i guess it'll work then
00:04 <****> and that will prevent others from accesing the file and finding out what the php/mysql passwords are right? unless someone logs in as me?
00:04 <****> or root
00:04 <****> Root is fun - I can play BOFH
00:04 <****> bofh
00:04 <****> bofh is Bastard Operator From Hell'also http://members.iinet.net.au/~bofh/
00:21 <****> where do i get #php help when #php is full
00:22 <****> illbiteyou: you have to register your nick with freenode, so you can /join ##PHP
00:23 <****> o
00:23 <****> how to do that?
00:23 <****> google, /msg nickserv help
00:23 <****> msg nickserv help: http://www.irchat.tv/nickserv.htm
00:24 <****> Huh?
00:24 <****> Please state the nature of your computing emergency
00:24 <****> s/google/illbiteyou/
00:24 <****> anyone know a thing or two about mpm prefork and worker?
00:24 <****> if im on quad core, should i be using worker mpm?
00:25 <****> unbeatabl: what MPM you use, unfortuantely doesn't always decide you - but the $@!!@$# you're serving.
00:25 <****> If it's something that doesn't like or cannot deal with threads, you'll have to use prefork.
00:25 <****> If it's not, you're almost always better off with worker.
00:26 <****> well, its a web hosting server
00:26 <****> hosting for hundreds of clients
00:26 <****> was wondering if i can get more juice out of it
00:27 <****> Well no shit, duh... At a rough estimage, 55% of us have that kind of challenge...
00:27 <****> You should be more exact.
00:27 <****> huh?
00:27 <****> Please state the nature of your computing emergency
00:27 <****> only hundreds? my first hosting server handled that on a Pentium 90.
00:27 <****> the shit im serving, probably, forums, ecommerce, etc....
00:28 <****> so.... PHP?
00:28 <****> yep, all that stuff
00:28 <****> yeah php
00:28 <****> prefork
00:28 <****> prefork is http://httpd.apache.org/docs-2.0/mod/prefork.html and is what you need for various dodgy software including PHP
00:28 <****> or run php under cgi
00:28 <****> does php under fastcgi outperform mod_php?
00:30 <****> niq: hundreds of clients -- or hundreds of clients hitting it at the same time with puny connections -- times have changed! EVERYBODY HAS LIKE... UH... GIGABITSES AT HOME now!
00:31 <****> I should probably cut down on the crac^H^H^Hhocolate.
00:32 <****> TIAS
00:32 <****> TIAS is Try it and See - if you want to know if something will work, give it a go. If not, then you can ask why it didn't work as expected
00:33 <****> so why you say prefork over worker?
00:33 <****> one advantage of putting php under fastcgi is that you can use a threaded MPM, so non-PHP stuff benefits
00:34 <****> I'm 'simply' running PHP stuff with prefork and non-php stuff with worker, rev-proxying it through a worker.
00:35 <****> how do you do that
00:35 <****> have two apache running ?
00:35 <****> I have n apaches running.
00:35 <****> isnt it just one or the other? use prefork, or use worker?
00:36 <****> in a single server?
00:36 <****> Not if you have a lot of time or no hobbies outside of the IT, or no such thing as a life...
00:37 <****> anyway, i just found that apache2 mpm worker does not cooperate well with mod_php5
00:38 <****> i guess fastcgi is the only option for threaded mpm
00:39 <****> oh man, I need some help quick. my host just upgraded my VPS but now apache is setup to show the contents of my web server via http, how do I disable that in apache 2.2?
00:40 <****> cylence: what exactly is it doing?
00:40 <****> hmm
00:40 <****> that brings me to another question
00:40 <****> when I go to the root of my server, instead of showing a web page, it's showing the file directory in html, since there is no index file, I know it's a setting, just not sure how to disable it.
00:40 <****> sure
00:41 <****> can i have apache 2, run both fastcgi and also on mod_php ?
00:41 <****> Options -Indexes
00:41 <****> Options -Indexes turns off directory indexing. Ask me about mod_autoindex and Options for more details.
00:41 <****> DirectoryIndex
00:41 <****> DirectoryIndex is http://httpd.apache.org/docs/2.0/mod/mod_dir.html#directoryindex or http://httpd.apache.org/docs/1.3/mod/mod_dir.html#directoryindex
00:41 <****> cylence: those two are for you.
00:41 <****> geesh, I don't know what I would do without you fine people ;)
00:41 <****> fajita: thank you!
00:41 <****> bitte cylence
00:41 <****> unbeatabl: yes you can. Quite a few people do that. If you google, you'll find some recipies.
00:45 <****> cylence: you would probably have to fight through the docs alone! Imagine what we would do without fajita!
00:45 <****> jMCg: haha, likely true.
00:59 <****> hi. i'm changing DocumentRoot in the apache2 config and after a restart the web root is still in the old place. if i change DocumentRoot to an invalid directory then apache complains, so i know i'm updating the correct file. any ideas?
00:59 <****> using Ubuntu Linux 7.1
00:59 <****> hydester: do you happen to have this nice Redirect in your vhost?
01:00 <****> no. so i have to change it in two places?
01:00 <****> debian redirect
01:00 <****> debian redirect is For debian look under the /etc/apache2/sites-available/default file for hints
01:01 <****> As I said, there's a redirect in the default vhost, so maybe it's getting in your way. I don't know your exact setup, so I'm guessing blindly.
01:01 <****> It could just as well be a case of
01:01 <****> browser cache
01:01 <****> Browser caches can be very persistent. Restarting the browser, or even rebooting, will not necessarily clear the cache. You must expressly clear the cache via the menus.
01:03 <****> well, you got it
01:03 <****> you do well blind
01:03 <****> Good evening
01:03 <****> if it is a good evening, which niq doubts
01:03 <****> Thank you, dear.
01:03 <****> i am used to working on an apache install on Redhat/Fedora at work. i didn't realize that the one on Debian has vhosts set up by default
01:04 <****> hydester: might wanna read Debian's apache documentation, or compile your own apache.
01:04 <****> it was odd that DocumentRoot was missing in the first place. this explains it
01:04 <****> debian
01:04 <****> debian is "we complicate it for you so you don't have to" or see /usr/share/doc/apache*/README.Debian* or http://wiki.apache.org/httpd/DebianLikePlatform
01:05 <****> Pah! I shall propose MY setup for Debian to discuss in the next n years, and maybe implement in the next m years! That's gonna be fun!
01:05 <****> I have a small mod_rewrite issue. I use the classical RewriteRule ^([^.]+)$ $1.html [QSA], but when the user or the browser incidentally adds a / at the end of the line, Apache tries to access $1/.html and not $1.html as I want. Any clue on how I can remove the last / ?
01:06 <****> RewriteRule ^([^.]+)/?$ $1.html [QSA]
01:06 <****> Might fix that small issue of yours.
01:06 <****> trying, thx
01:06 <****> jMCg: I am saved, thank you so much again.
01:07 <****> cylence: you're welcome.
01:08 <****> jMCg: doesn't work. What I need is to get rid of the last / if it exists (sorry, my English is not very good)
01:10 <****> neuro`: and I don't speak French. Anyways, that /? was supposed to make / optional. I don't know why it does not work. But then again, my RewriteFu is very weak.
01:11 <****> Thx anyway.


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

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last


Tutti i nuovi CAP Italiani. Come ottenere il database completo