1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" id="sixapart-standard">
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta name="generator" content="Movable Type 3.2" />
8 <link rel="stylesheet" href="http://defaria.com/blogs/MAPS/styles-site.css" type="text/css" />
9 <link rel="alternate" type="application/atom+xml" title="Atom" href="http://defaria.com/blogs/MAPS/atom.xml" />
10 <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://defaria.com/blogs/MAPS/index.xml"$>" />
12 <title>MAPS: October 2003 Archives</title>
14 <link rel="start" href="http://defaria.com/blogs/MAPS/" title="Home" />
16 <link rel="next" href="http://defaria.com/blogs/MAPS/archives/2003_11.html" title="November 2003" />
18 <body class="layout-one-column">
20 <div id="container-inner" class="pkg">
23 <div id="banner-inner" class="pkg">
24 <h1 id="banner-header"><a href="http://defaria.com/blogs/MAPS/" accesskey="1">MAPS</a></h1>
25 <h2 id="banner-description"></h2>
30 <div id="pagebody-inner" class="pkg">
32 <div id="alpha-inner" class="pkg">
34 <p class="content-nav">
36 <a href="http://defaria.com/blogs/MAPS/">Main</a>
37 | <a href="http://defaria.com/blogs/MAPS/archives/2003_11.html">November 2003 »</a>
42 <h2 class="date-header">October 29, 2003</h2>
44 <div class="entry" id="entry-27">
45 <h3 class="entry-header">Cookies</h3>
46 <div class="entry-content">
47 <div class="entry-body">
48 <p>I consulted with Scott and he suggested that I just use a cookie to store the userid and the base things off of that. Seems to work fairly well. Spent some time implementing this and things are looking goodl</p>
51 <p class="entry-footer">
52 <span class="post-footers">Posted by Andrew DeFaria at 11:07 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/MAPS/archives/000027.html">Permalink</a>
61 <h2 class="date-header">October 28, 2003</h2>
63 <div class="entry" id="entry-26">
64 <h3 class="entry-header">Todos</h3>
65 <div class="entry-content">
66 <div class="entry-body">
67 <p><a title="MAPS Registration" href="http://defaria.com:8080/maps/bin/register.cgi">MAPS Registration</a></p>
69 <ol><li><strike>Apparently the JavaScript regex for valid email addresses is not bulletproof yet. Email addresses of tthe form "Joe@Schmoe" pass through the regex OK.</strike></li>
71 <p><li><strike>Javascript should check to make sure username doesn't have a space in it</strike></li></p>
73 <p><li>username should be case insensitive</li></p>
75 <p><li>registerform.cgi should not allow a username that is not a valid MAPS user.</li></p>
80 <p class="entry-footer">
81 <span class="post-footers">Posted by Andrew DeFaria at 11:07 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/MAPS/archives/000026.html">Permalink</a>
90 <h2 class="date-header">October 27, 2003</h2>
92 <div class="entry" id="entry-25">
93 <h3 class="entry-header">Apache Session</h3>
94 <div class="entry-content">
95 <div class="entry-body">
96 <p><a title="search.cpan.org: Jeffrey Baker / Apache-Session" href="http://search.cpan.org/~jbaker/Apache-Session/">search.cpan.org: Jeffrey Baker / Apache-Session</a></p>
98 <p>It may be possible to use Apache Session to record that somebody has logged into MAPS and provide a persistent state while they are logged in. Question is what happens if people do not log out? How is this to be handled.</p>
101 <p class="entry-footer">
102 <span class="post-footers">Posted by Andrew DeFaria at 05:19 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/MAPS/archives/000025.html">Permalink</a>
113 <div class="entry" id="entry-24">
114 <h3 class="entry-header">Mod Perl</h3>
115 <div class="entry-content">
116 <div class="entry-body">
117 <p><a title="mod_perl: What is mod_perl?" href="http://perl.apache.org/start/index.html">mod_perl: What is mod_perl?</a></p>
119 <p>Seems like this is homebase for mod_perl. Still not sure if this can help out with my problems of maintaining the state of what user is currently logged into my MAPS web pages.</p>
122 <p class="entry-footer">
123 <span class="post-footers">Posted by Andrew DeFaria at 04:14 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/MAPS/archives/000024.html">Permalink</a>
132 <h2 class="date-header">October 25, 2003</h2>
134 <div class="entry" id="entry-23">
135 <h3 class="entry-header">MAPSDeliver</h3>
136 <div class="entry-content">
137 <div class="entry-body">
138 <p>Created MAPSDeliver to isolate the portion of the MAPS system that needs to be setgid (in order to deposit the mail). While maps itself could output the message and let sendmail deliver it we still need to deliver mesages when somebody registers (i.e. Whitelist) so we need to manipulate the users mail box directly, thus we need to be setgid. MAPSDeliver does this.</p>
141 <p class="entry-footer">
142 <span class="post-footers">Posted by Andrew DeFaria at 01:27 AM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/MAPS/archives/000023.html">Permalink</a>
151 <h2 class="date-header">October 22, 2003</h2>
153 <div class="entry" id="entry-21">
154 <h3 class="entry-header">Stats</h3>
155 <div class="entry-content">
156 <div class="entry-body">
157 <p><a title="MAPS Stats" href="http://defaria.com:8080/maps/bin/login.cgi">MAPS Stats</a></p>
159 <p>Well I got stats sorta working. Looking pretty good so far. It does seem to take a long time to compile the table for 30 days. Maybe I'll need to page this stuff too.</p>
161 <p>Need to implement clicking on say Returned for 2003-10-10 so that is only shows that subset. Need to write that into detail.cgi</p>
164 <p class="entry-footer">
165 <span class="post-footers">Posted by Andrew DeFaria at 11:10 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/MAPS/archives/000021.html">Permalink</a>
174 <h2 class="date-header">October 21, 2003</h2>
176 <div class="entry" id="entry-20">
177 <h3 class="entry-header">JavaScript RegExs</h3>
178 <div class="entry-content">
179 <div class="entry-body">
180 <p><a title="Core JavaScript Guide 1.5: 4 Regular Expressions" href="http://devedge.netscape.com/library/manuals/2000/javascript/1.5/guide/regexp.html#1010689">Core JavaScript Guide 1.5: 4 Regular Expressions</a></p>
182 <p>Need to change my JavaScript to use regex's for the purposes of better identifying a valid email address</p>
185 <p class="entry-footer">
186 <span class="post-footers">Posted by Andrew DeFaria at 12:38 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/MAPS/archives/000020.html">Permalink</a>
195 <h2 class="date-header">October 20, 2003</h2>
197 <div class="entry" id="entry-19">
198 <h3 class="entry-header">More MIME</h3>
199 <div class="entry-content">
200 <div class="entry-body">
201 <p>Well I managed to install MIME-tools and I banged and banged on it for a while. I managed to send MIME messages but not exactly the format that I wanted. I want 3 parts:</p>
204 <li>Plain text containing the MAPS register message
205 <li>HTML version of #1
206 <li>Potential spammer's message
209 <p>I can send the message but #3 is not showing up as an attachement. Emailed the author of MIME-tools. Let's see what he says...<br />
212 <p class="entry-footer">
213 <span class="post-footers">Posted by Andrew DeFaria at 11:26 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/MAPS/archives/000019.html">Permalink</a>
224 <div class="entry" id="entry-18">
225 <h3 class="entry-header">MIME</h3>
226 <div class="entry-content">
227 <div class="entry-body">
228 <p><a title="search.cpan.org: MIME-tools - modules for parsing (and creating!) MIME entities" href="http://search.cpan.org/~eryq/MIME-tools-5.411a/lib/MIME/Tools.pm">search.cpan.org: MIME-tools - modules for parsing (and creating!) MIME entities</a></p></p>
231 MAPS needs to use MIME to be able to return messages properly. This is a pointer to MIME-tools, a CPAN module for manipulating MIME messages.</p>
234 <p class="entry-footer">
235 <span class="post-footers">Posted by Andrew DeFaria at 07:59 PM</span> <span class="separator">|</span> <a class="permalink" href="http://defaria.com/blogs/MAPS/archives/000018.html">Permalink</a>