Tag: Apache
-
LinuxFest Northwest 2012 was great fun (plus Apache talk slides)
I really had a great weekend. I liked taking the kids to the Fest on Saturday, and I’m glad that I got them to do some robots. They of course wanted to spend a lot of time in the game room. And I was impressed that they were eager for lunch (salmon)! I got caught…
-
LinuxFest Northwest 2011: Traffic Control in Apache
Here are my slides for traffic control in Apache. I decided that last years presentation about Apache rewrites actually sat in a much bigger context of information architecture, performance and caching. So I’ve generalized the discussion and reduced the number of mouse-print code examples. Slides:2011-apache
-
Translating Filenames — Bash Voodoo Style #linux
This is an example of using Bash to convert a crazy apache log and translating the filename into an IIS log pattern: d=`date +%Y%m%d` find k -type f \ | while read filename do nextfile=”${filename/k\/done?0.www\./k2/www-Server_T${d}_}.log” echo “$nextfile” cat $filename | $translate > “$nextfile” done I love how I can refer to a shell variable ($d)…
-
Tail the Latest Log File
I’m grateful for Cygwin. I wouldn’t know how to do this in cmd–though I should probably learn how to do it in PoSH. find LogFiles/W3SVC1 -type f | xargs ls -1tr | tail -n1 | xargs tail -F I need to make it an alias now….
-
Crazy mod_rewrite examples? #lfnw #opensource
I’d love to see some wacked mod_rewrite uses! Got one? I’ll put them on screen on Sun @lfnw http://linuxfestnorthwest.org/sessions/using-apache-modrewrite-ninja
-
LinuxFest Northwest 2010: Apache Rewrites
Apache Rewrites — for Ninjas! This session is an overview of using Apache mod_rewrite, driven mostly by your interests and questions. Your Questions, Your Interests? The simple difference between rewrites and redirects. You can specify an redirection in a few ways, and they don’t need to be RewriteRules. You can use an Alias directive to…