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

Channels


#apache

27 December 2007


Total 13 pages. You are browsing page 2/13.

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

03:06 <****> what does the error log say as well
03:06 <****> need to see what apache thinks it's fetching
03:06 <****> clearing httpd.conf and testing
03:06 <****> wow
03:06 <****> [computersolution] if your table is in the red for "overhead" does that mean your running out of space?
03:07 <****> ill be damned
03:07 <****> it worked
03:07 <****> clearing httpd.conf was my only problem
03:07 <****> yes
03:07 <****> you had vhost overlapping
03:07 <****> 2 namevirtualhost * lines
03:07 <****> unsupported and with undefined consequences
03:08 <****> apache2 -S would've warned you to that
03:08 <****> pretty gay... a httpdconf test should've caught that or something
03:08 <****> fajita: common misconfigurations
03:08 <****> common misconfigurations is http://wiki.apache.org/httpd/CommonMisconfigurations
03:08 <****> brooksbp: ^^
03:08 <****> give that a lookie over sometime
03:08 <****> examples of things one shouldn't really do...
03:08 <****> I should look at that. :-/
03:09 <****> brooksbp: the config test only checks syntax
03:09 <****> word
03:09 <****> In the beginning was the Word, and the Word was with God, and the Word was God. (John 1:1)
03:09 <****> not semantics
03:09 <****> megaspaz: thanks for your help
03:09 <****> megaspaz: Thanks for the tip on content negotiation.
03:10 <****>
03:10 <****> save you iface/port overlapping in the future...
03:10 <****> yeah there's a warning about nothing bounded to port 80 when i restart the daemon
03:11 <****> i have no idea what that is
03:11 <****> could you give the error without the brooksbp filter?
03:11 <****> *warning
03:12 <****> TimMc: i wasn't exactly sure what you were asking for... your example looked like you wanted content negotiation though...
03:12 <****> megaspaz: http://rafb.net/p/K6pzPe46.html
03:13 <****> megaspaz: I'm not entirely sure that's what I'm looking for... but it looks *very* similar.
03:13 <****> If I want to change the port for my apache web server, can I just edit the "ports.conf" file by replacing the current port with my new port?
03:13 <****> brooksbp: that's recent?
03:13 <****> yes I get that when i do an apache2 restart
03:13 <****> the very last time you did a restart and things worked?
03:14 <****> not a problem though just a warning because I did not have the *:80 specified
03:14 <****> well that tells you that you've got a floating unused namevirtualhost line somewhere
03:14 <****> it would spit that out when my 000-default didn't have the ports taged along
03:14 <****> yeah
03:14 <****> *:0 looks like you didn't get rid of the namevirtualhost *
03:15 <****> what's the output of apache2 -S
03:16 <****> troythetechguy: yes. and then restart apache... you'll also need to change your vhost config files if you've changed the virtualhost configs to use port numbers previously
03:16 <****> megaspaz: I'm just saying... it spit out those warnings when I didn't have the :80 tagged onto the *
03:16 <****> ah
03:16 <****> megaspaz: everything is fine now that i fixed it
03:16 <****> mkay
03:16 <****> thanks
03:17 <****> Check this out, megaspaz: http://www.php.net/downloads.php/_can_put_whatever_I_want_here
03:17 <****> Do you think that's due to content negotiation?
03:17 <****> megaspaz, Thanks. I've ofter heard the term "virtualtual host", but I'm ashamed to say I don't know what one is.
03:17 <****> TimMc: could just be mod_rewrite
03:17 <****> TimMc: couldn't tell you
03:18 <****> Well, there's only one way to find out.
03:18 * TimMc turns off mod_rewrite
03:18 <****> content negotiation requires a file to actually exist
03:19 <****> Thinking this through, if I don't know what a virtualhost is I probably never changed the virtualhost configs then. :)
03:19 <****> as it stats all the files that "match" the request
03:19 <****> troythetechguy: so i'm guessing you could just change the port number in ports.conf
03:19 <****> I'm fine with that.
03:19 <****> and leave it with that
03:20 <****> I'm intrigued that if download.php were download.js instead, my example wouldn't work
03:20 <****> What's the difference from editing the "ports.conf" file vs. using the command, "Listen [ port | IP-address:port ]"? Does the listen command change the settings in the "ports.conf" file?
03:20 <****> which implies something more interesting going on.
03:20 <****> TimMc: content negotiation use case consists of something like, you have a file somefile.php, but you want to access it without the .php portion.... ie in your browser you do http://foo.com/somefile
03:20 <****> that's what I thought
03:21 <****> but in this case, the .php is still there
03:21 <****> yeh
03:21 <****> and the path just keeps on going (but is ignored beyond that point)
03:21 <****> troythetechguy: the ports.conf has the listen directives... other than that, you can do whatever pleases you...
03:22 <****> megaspaz, Thanks for the help. One last question for now... How can I restart apache without restarting the computer?
03:22 <****> wow
03:22 <****> does anyone know if there exists an apache2 module for authenticating against @google.com (ie gmail)?
03:22 <****> /etc/init.d/apache2 restart
03:22 <****> /etc/init.d/apache2 restart is really useful
03:23 <****> please don't treat linux like windows
03:23 <****> :-/
03:23 <****> troythetechguy: You can restart pretty much *anything* in Linux without restarting the whole system.
03:24 <****> you said ports.conf, so i'm assuming you're using a debian-esque distro
03:24 <****> that's one way to restart apache on debian-esque distros
03:24 <****> another way would be to use apache2ctl restart
03:24 <****> Im trying to pass a variable through a ProxyPass directive... is that possuble ... or is there a way around it? And whats the syntax? Im currently using ProxyPass /*-theme for example to handle various deployments if different themes that would end with a -theme for the directory.
03:24 <****>
03:25 <****> proxypassmatch
03:25 <****> proxypassmatch is http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassmatch (only in 2.2 onwards)
03:25 <****> maybe that instead?
03:25 <****> but not sure exactly what you're wanting or if what you want is possible through a proxy
03:26 <****> without using custom headers...
03:26 <****> g'luck
03:26 <****> megaspaz: I turned mod_rewrite off and that little trick still works.
03:26 <****> thanks fajita and megaspaz ... Ill look at to see if it works ( it didnt jump out at me as an alternative before
03:27 <****> TimMc: um... heh heh? :-/
03:27 <****> yeah...
03:27 <****> they could be doing errordocument for 404 to just go to the index page...
03:28 * megaspaz wouldn't know though
03:28 <****> It's not that. It happens on my own websites. Try it on any .php page on the web.
03:29 <****> oh... i noticed that it's going through a php page though...


Total 13 pages. You are browsing page 2/13.

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


Tutti i nuovi CAP Italiani. Come ottenere il database completo