#apache - Wed 9 May 2007 between 19:29 and 19:36

NY Lost Funds



pctonyloglevel debug
fajitaloglevel debug is often helpful when finding out problem details
pctonydsch04: ^^
dsch04If myFilterMap.pl exits, I wanted to know if apache should be restarting it
Yes, I know
pctonyhey, im trying to help you here
dsch04I know that too!
SazpaimonI want to be able to have all pages on my old IP redirect to another page stating the move. I have a LOT of virualhost entries, is there a global declarative that redirects all pages that go to a certain IP to a certain directory?
dsch04I'm asking a more generic question: does or should apache restart a RewriteMap program if it exits for any reason?
I know why it exited - I told it to exit with a croak command (it's a perl script)
pctony: Thanks, BTW.
I'm already on LogLevel Debug and RewriteLogLevel 9
pctonyok. :)
matiuHow can I run apache in foreground on linux?
2.0
Sazpaimonso, no onr has any clue?
gryzor-X
httpd -X
fajitahttpd -X is ysupposed to get you meaningful error messages when it fails. It should work or fail the same as normal running of apache
pctonySazpaimon: you *could* create a new vhost, with no servername, and do a 'redirect / http://www.example.com'
Sazpaimonyeah, but would that include subdirectories?
pctonySazpaimon: such as?
s_nSazpaimon: you can also try to use cband for that;]
pctonywww.exmaple.com/foo ?
matiuThanks gryzor and fajita
dsch04matiu: httpd -DNO_DETACH
Sazpaimonlike, say www.foobar.com points to the old IP
as well as 20 other domains
s_nset bw limit to 1 and set exceedurl to your new site
pctonySazpaimon: yes.
*HOWEVER*
SazpaimonI want to set it in the httpd conf so foobar.com as well as foobar.com/barfoo redirect to /var/www/move.html
or somesuch
or not even that, just ANY domain that resolves to that IP
pctonyyou need to create 1 new vhosts, names based, with *NO* servername directiv, disable all your old vhosts, and in the new vhost do a redirect
in that case you need to look at rewrite
Sazpaimonbleh
pctonysorry, but you do
rewritewiki
arreyderhmm can you do and antimatch with RedirectMatch if not move.html then redirect to move.html?

Page: 5 12 19 26 33 40 47 54 61 68 

IrcArchive

NY Lost Funds