#apache - Tue 13 Mar 2007 between 00:37 and 00:57

NY Lost Funds



imaginemegaspaz: I'm lost haha
megaspazimagine: http://en.wikipedia.org/wiki/Domain_name_system
imaginemegaspaz: http://pastebin.ca/392854
megaspazimagine: http://pastebin.ca/392855
imagine: simple as that
imagine: of course use whatever real paths you actually have
imagineehhehe good thing to clarify with noobs like me haha
megaspazimagine: and if you've got NameVirtualHost * anywhere, delete it
imagineooooook
megaspazthe only thing left for you is to make sure both server names resolve dns-wise
ehcwhat i said above is in a .htacces file
megaspazwell [R] means redirect... by that nature, the url will change...
ehcoh okay, i okay i'll change that.
megaspaz2nd what it looks like you need to use a rewritecond since rewriterule only handles the request portion, not the hostname
ehccan i use the same thing? just change it to a rewritecond?
megaspaztrying to figure out why you have /.binarymanipulations.com... what's that / for?
are you trying to catch stuff like abcde9.binarymanipulations.com?
ehcwell i want it to take blog.binarymanipulations.com and go to if it was binarymanipulations.com/blog i thought i had to escape the . between blog and binarymanipulations
megaspazum... \ is the escape character
ehcyes i want to catch the abcde9 part
oops, okay i changed that
imaginemegaspaz: I don't get it.. on dyndns.org it resolves my correct and you can't resolve it
ehcso what were you saying about the rewriteCond?
megaspazehc: you want something more like... http://apache.pastebin.ca/392862
ehc: or... more succinct... http://apache.pastebin.ca/392863
ehcwhy the %{HTTP_HOST}
megaspazfajita servertokens http://my-mind.gotdns.org/
fajitamegaspaz: Connection to http://my-mind.gotdns.org/ timed out.
megaspazehc: that's what let's you match against the host
ehc: remember, rewriterule doesn't handle the host portion... just the request uri
ehc: the only way you're going to be able to process the host information is to use rewritecond and the appropriate env variable
ehcmatch against the host? is my URL my host?
megaspaz(\w*?)\.binarymanipulations\.com would be the host portion
for instance
for example blog.foo.com/bar/bar1/bar2.html
blog.foo.com is the host portion... /bar/bar1/bar2.html is the request uri portion
ehcgreat example okay i think im starting to have a tiny idea whats going on
so i want to take the host porition and then make it the uri portion on the resultant URL
megaspazpretty much
at least that's what i got from what you first posted...

Page: 3 10 17 24 31 38 45 

IrcArchive

NY Lost Funds