#apache
27 December 2007
Total 13 pages. You are browsing page 4/13.
First :: Prev :: [...] [2] [3] [4] [5] [6] [...] :: Next :: Last
04:13 <****> *shrugs*
04:13 <****> megaspaz: correct ;p
04:13 * TimMc is very confused, then
04:13 <****> im confused now
04:14 <****> TimMc: standard seo rewrite foolishness
04:14 <****> misconception that search engines rank on prettiness of urls
04:14 <****> hehe
04:14 <****> or rank higher sites with less '='
04:14 <****> megaspaz: Did you read the RewriteRules I wrote?
04:15 <****> yeh
04:15 <****> TimMc: i don't think that rule would work. my page.php only outputs one id, which is the song :/
04:16 <****> outputs?
04:16 <****> thedude-: That's where the database comes in.
04:16 <****> if by "outputs" you mean "accepts"
04:16 <****> yeah , sorry
04:17 <****> kk
04:17 <****> megaspaz: Do you read codinghorror.com?
04:17 <****> (this is relevant)
04:19 <****> no... it sounds like a comedy site though... :D
04:19 <****> i jsut dont get how apache will read artist/song and associate it with an ID somehow
04:19 <****> it doesn't
04:19 <****> i don't see how you can even get artist with one query arg
04:20 <****> because of how the DB is setup
04:20 <****> especially if the value of the arg is a number
04:20 <****> id - artist - song
04:20 <****> well apache isn't going to make that association
04:20 <****> so im screwed?
04:21 <****> megaspaz: OK, I was hoping you did. He's a well-known blogger who does a lot of links back to his older posts, but he doesn't use pretty URLs. It's annoying to hover over a link and just see an ID -- what you're calling "SEO", I call usability.
04:21 <****> if you had something like artist=foo&song=blah&album=wooga, you could do a straight rewrite
04:21 <****> with a rewritecond
04:22 <****> but getting stuff with id=5, not enough for apache to go on
04:22 <****> thedude-: Redo your PHP code to accept the song and artist, and then query the DB to retrieve the information using those parameters instead of the ID.
04:22 <****> i see
04:23 <****> It should be less work than it sounds like. :-)
04:23 <****> well he'd have to redo the database data
04:23 <****> maybe!
04:23 <****> It deoends on the DB schema.
04:23 <****> *depends
04:23 <****> well redoing the DB is not a problem since i still havent added anything
04:23 <****> ok
04:23 <****> then easy peasy
04:23 <****> sort of
04:24 <****> Good! Make sure you have a well-normalized DB, and it should all flow smoothly.
04:25 <****> fajita: rewritecond
04:25 <****> rewritecond is http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritecond
04:25 <****> that's your main directive for catching groupings from the query string
04:25 <****> ok awesome
04:25 <****> groupings by query string are referenced by %1, %2, etc...
04:25 <****> If there are three different IP's soecified for one CNAME by the same DNS, is there a means of specifying a prefered IP at the browser? Or, since each of the IP's point to a virtual host, can I go to a specific virtual domain by ip reference?
04:26 <****> groupings from rewriterule are $1, $2, etc...
04:26 <****> enkidu_ak: The latter, yes.
04:27 <****> enkidu_ak: This might be what you want? http://httpd.apache.org/docs/2.0/vhosts/examples.html#ip
04:27 <****> ok thanks for the help TimMc, megaspaz
04:27 <****> I will bribe pigmies to dress as valkyre and sing you into valhala if you can tell me how
04:27 <****> Wow! How can I resist?
04:27 <****> Thank you :)
04:28 <****> dude... he's offering pigmies
04:28 <****> they're nasty
04:28 <****> enkidu_ak: But I have to ask: Why do you want different hosts for IPs that are all listed for the same domain?
04:28 <****> apologies to any pigmies that might frequent this channel...
04:28 <****> pygmies, even
04:29 <****> them too
04:29 <****>
04:32 <****> TimMc: Sorry, I wa reading. One moment
04:34 <****> reading the phone book for cheap pygmies?
04:34 <****> TimMc: Actually, what I was asking is how to extract a specific host out of such a setup, but I should be able to modify /etc/hosts with ine of the addresses and have it serve my purposes.
04:35 <****> "extract"?
04:35 <****> What is it you are trying to do, big-picture view?
04:37 <****> Allow me to explain. a quick dig of packages.medibuntu.org reveals three different ip addresses. Each of these is hosting that record as a virtual host. apt-get is chocking on the multiple ip addresses, it thinks the resource has moved. The package source resolves just fine in the browser.
04:38 <****> weird!
04:38 <****> You control packages.medibuntu?
04:39 <****> What I want to do it feed apt-get a single server. Choice leade to confusion, apparently, so by removing free will... er.. I mean taking away the choice of a computer, of course, I eliminate confusion
04:39 <****> TimMc: Nope
04:39 <****> OK, /etc/hosts is your only hope.
04:39 <****> That's my thought as well
04:39 <****> But they have a bigger problem. :-)
04:39 <****> I know :(
04:40 <****> I don't understand why apt-get would choke on it. You'd think curl or whatever would do just fine.
04:40 <****> Honestly, I think it
04:41 <****> I think someone some sort of quick and dirty frame forwarding.
04:42 <****> The server responds with "This doman has nmoved" but he browser still receives content, so it doesn't care.
04:42 <****> ew
04:42 <****> is there a way to use jsp on apache?
04:42 <****> wget or whatever apt uses cares, though
04:42 <****> hwdyki: Tomcat
04:42 <****> isn't tomcat standalone?
04:42 <****> can be
04:43 <****> hwdyki: err, oh.... It is?
04:45 <****> anyone replied?
04:45 <****> yeh
04:45 <****> tomcat
04:45 <****> Meow! The reference implementation of Sun's servlet api & jsp specs. See: http://tomcat.apache.org/ or see http://people.apache.org/~mturk/docs/article/ftwai.html to put apache in front of it
04:46 <****> use either mod_jk, mod_proxy_ajp, or mod_proxy_http to connect apache httpd with tomcat
04:47 <****> Now, let's really test that bots knowledge
04:47 <****> mod_mono
04:47 <****> mod_mono is na module that enables ASP.NET for Apache using the Mono .NET environment - http://www.go-mono.com/asp-net.html:for windows look at http://dev.anmar.eu.org/mono/mod_mono/
04:47 <****> fajita: mod_mono =~ s/na/a/
04:47 <****> OK, megaspaz
04:48 <****> mod_mono seems better.
04:48 <****> wow
Total 13 pages. You are browsing page 4/13.
First :: Prev :: [...] [2] [3] [4] [5] [6] [...] :: Next :: Last
