#apache - Thu 15 Mar 2007 between 01:14 and 01:23

NY Lost Funds



CaptainMorganmegaspaz, then it's a matter of restarting correctly?? what do you mean 'shutdown'? ot
it said 'shutting down' in that error message
megaspazwhat shutdown was the attempt to start
but there's still something listening on ipv6 port 80
CaptainMorganso then it's a startup problem
megaspazyeah
CaptainMorgannot shutdown
:(
will check my ports..
megaspazwell yeah, it's still a shutdown problem because the previous instance of apache isn't shutdown
or it could be the pid file isn't deleted
it's hard to say with this combination of ipv6 listening
CaptainMorganyep, 80 is open...
megaspazCaptainMorgan: so if you don't expect people to access your server over ipv6, i would make apache listen over ipv4 only
CaptainMorganhow can I do that?
wait.. but why?
megaspazyou can do that by changing listen 80 to Listen 127.0.0.1:80
CaptainMorgan: well for one not many isps have implemented ipv6 yet
so really no one if anyone will access your server with an ipv6 address...
and all it does is complicate the apache shutdown...
CaptainMorgan: are you using debian/ubuntu?
CaptainMorganmegaspaz, yes
megaspazyour vhost config is in which file?
is it in /etc/apache2/sites-enabled/000-default?
CaptainMorgan- /etc/apache2/sites-available/default
megaspazok
so you don't need the listen line in that file
debian/ubuntu has Listen 80 in the ports.conf file
You only need one listen 80 (which again i would change to Listen 127.0.0.1:80)
RudyValenciaHello.
How do I setup "modular" vhosts (ie, each vhost is separate from each other and the main config file)?
megaspazInclude
fajitaInclude is http://httpd.apache.org/docs/2.2/mod/core.html#include and can take a file, directory, or shell wildcard as an argument.
RudyValenciaMy actual question is, how do I make sure the default vhost is Include'd first?
megaspazyou have to do it by filename
or you can use seperate include lines for each vhost file in order
depends on how you want to lay it out
RudyValenciaI could probably name the default one "00default.conf" or something to put it first
megaspazif you do a directory with vhost *.conf files, you'll have to use filenames to determine the order
yeah

Page: 2 9 16 23 30 37 44 51 58 

IrcArchive

NY Lost Funds