To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 1752
1751  |  1753
Subject: 
Re: Fun with squirm
Newsgroups: 
lugnet.off-topic.geek
Date: 
Tue, 20 Jun 2000 19:58:52 GMT
Reply-To: 
mattdm@^SayNoToSpam^mattdm.org
Viewed: 
112 times
  
Todd Lehman <lehman@javanet.com> wrote:
  regexi http://\^([0-9]*)/$ http://jadzia.bu.edu/~mattdm/cgi/lugredir2.cgi?\1
  #!/bin/sh
  echo -ne "Location: http://www.lugnet.com/quickset/ql.cgi?&q=$1\n\n"
and type in, say,
  ^7121

Won't work like that, 'cause Squid is pretty strict about the validity of
hostnames. (Technically, they shouldn't start with a number, either, but I
guess it's not that strict.) You could use something like "q7121", though.

--
Matthew Miller                     --->                 mattdm@mattdm.org
Quotes 'R' Us                    --->              http://quotes-r-us.org/
Boston University Linux            --->               http://linux.bu.edu/



Message is in Reply To:
  Re: Fun with squirm
 
(...) Hey, that's pretty cool! (I'm not using squirm but I can imagine how it works from your description.) What happens if you do this?-- regexi (2 URLs) #!/bin/sh echo -ne "Location: (URL) type in, say, ^7121 --Todd (24 years ago, 20-Jun-00, to lugnet.off-topic.geek)

4 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR