Archive for June, 2007
Jun
2007
Installing MySQL authenication for Apache 1.x on AIX
June 20th, 2007 at 01:50 pm by Administrator in WorkI just installed the mod_auth_mysql module on an old decrepit AIX 5.1 machine because it’s very stinkin’ cool to be able to use a database table instead of an htpasswd file to store user accounts. Thought I’d post my notes here in case it helps someone.
compile the bieach:
./apxs -c -L/usr/lib/mysql -I/usr/include/mysql -lmysqlclient -lm -lz /src/mod_auth_mysql-3.0.0/mod_auth_mysql.c -bexpall
move the mod_auth_mysql.so into /usr/local/apache/libexec/
In httpd.conf add:
LoadModule mysql_auth_module libexec/mod_auth_mysql.so
AddModule mod_auth_mysql.c
Adding in the module with the above causes everything to try to use MySQL to auth. This breaks any existing htpasswd type ones. To use both put this in the main <directory> area
AuthMySQLEnable off
Then turn it on for the specific directories where you want to use MySQL auth.
Setup a directory to secure:
create a USER table in a database etc…
put something like this in httpd.conf:
<directory /www/htdocs/somedir/>
DirectoryIndex index.php index.html default.php index.htm
FancyIndexing on
AllowOverride AuthConfig
AuthName “My Test”
AuthType Basic
require valid-user
AuthMySQLPwEncryption scrambled
AuthMySQLHost localhost
AuthMySQLDB authdb
AuthMySQLUserTable user
AuthMySQLUser authuser
AuthMySQLPassword authpasswd
AuthMySQLNameField username
AuthMySQLPasswordField password
AuthMySQLAuthoritative On
</directory>
apachectl restart yo
references (because i don’t come up with this stuff myself ya know):
http://www.linuxhelp.net/guides/htaccessmysql/
http://modauthmysql.sourceforge.net/CONFIGURE
http://www.webhostgear.com/215.html
Jun
2007
I didn’t expect that from an insurance company
June 20th, 2007 at 01:15 pm by Administrator in DreamsAll I can really remember about my dreaming state Monday night was that I was driving down the road (Christmas Run in Wooster) and Progressive called me. They said that I forgot to pay my bill and I must immediately pull over and have my car towed home. Hmm, note to self, pay insurance today.
No dreams Tuesday night. Don’t think I was sleeping long enough to get to REM.
Jun
2007
Alien invasion
June 18th, 2007 at 04:50 pm by Administrator in DreamsThis one was terrifying. We were visiting somewhere and heard on the radio something about aliens landing. It said we should evacuate the area. We didn’t think much of it. Just thought people were overreacting. After some time we started noticing things getting weird. The aliens would come down in a non-physical form. They’d posses your body and make you kill yourself. We saw people getting possessed and killing themselves in various ways. If this isn’t already a horror movie, it should be. I was terrified. We made a run for it in our rented pickup truck. I remember them chasing after us. Not sure if we ever did get away. I woke up from the intensity around that point.
Jun
2007
Surviving the tornado
June 15th, 2007 at 11:29 am by Administrator in DreamsThis one was so intense it woke me up. I was driving somewhere and there was a tornado off in the distance. It was a very strange looking thing. Instead of a funnel shape it looked more like a blower. Odd looking yet very functional. It was a pinkish red color. I thought I out ran it. I stopped at a house where Stef and some other friends were. Don’t know who’s house it was. I seem to think we were renting it for the weekend. It was on the road next to the house I grew up in. The tornado took a turn right for us. I jumped to the ground beside a bed and put a large pillow over me. It came directly over us. The force of it was ripping the pillow from my hands, but I struggled to hang on to it. There was stuff flying everywhere. I heard someone scream. I thought it was Stef and I was worried that she was about to get sucked up into it. I tried to look to see who it was, but there was too much flying around. I had to stay down. In a moment it passed off us and everyone was ok. It wasn’t Stef that had screamed, it was another of our friends. It wasn’t a scary dream, but it was very intense. Fun actually. Nothing like an adrenalin rush while you’re sleeping.
Jun
2007
Dream 1:
It was the night of the man being burnt, one year before we were to go. So I guess that puts this dream a few months in the past. Nobody from happy camp went this year and we were hanging out with them at someone’s house. The house was in Tucson, but we were close enough to have a decent view of the man being burnt. Just a few hundred miles, yet right next door. You could kinda see over the concrete fence in the back yard. Some people from the house went into the backyard and started making very impressive 3 level high human pyramids. Of course this got the attention of TPD and they started doing circles with the helicopter and spotlight. I think TPD might have actually in reality been circling our house at the time and I integrated the sound of it into the dream.
I think the noise of the helicopter caused me to wake up a little thus making my dream a little scattered and disconnected. At one point we were at burning man. but it was being held in a somewhat small building consisting of four hallways that connected to form a square. Kinda looked like my jr. high school building. We got there early and it was already getting really over crowded. I think Destiny was throwing it this year so it wasn’t any surprise that it was planned poorly and the venue sucked.
Dream 2:
I was in Wooster on my bike going down Cleveland Rd towards home (the house i grew up in). Don’t remember what I was coming back from, but it was starting to rain and blow a little. The sky was looking really gray so I tried to get home as soon as I could. As soon as I stepped in the door it started pouring.
Jun
2007
Arby Melt anyone?
June 13th, 2007 at 12:04 pm by Administrator in DreamsI had a dream last night that I was graduating from college but I couldn’t go to the graduation because I couldn’t find anything to wear. I guess I must have show up for part of it anyways though, which took place out side of the house I grew up in. [A large majority of my dream take place here, but I’ve never been able to figure out the significance]. I was upset that the dean was assigning us all this additional work we had to do. I just wanted to get my degree and get out of there. The dean broke a really large dead branch off the lilac tree outside of the house. Later some of my class mates where setting up in the tree.
I usually have reoccurring dreams that it’s finals week. I guess after 10 years of having that dream i finally graduated. I feel like I should calibrate of something.
Stef’s car broke down so we got a rental car. We were only supposed to have it for 4 days, but it had been 8. I was worried the rental place was going to fine us a lot for keeping it too long.
At one point I was in a department store. I think is was the old Annex downtown. Is that what is was called?
I went to Arby’s and they were having some very confusing special similar to the 5 for 5 deal or years past, but the math was much more complicated. It seemed to be popular though. They were really busy. I just ordered an Arby melt. I started scarfing it down. I had forgotten how good they were. Just past half way thru I realized that I was eating beef and cheese. I was really disgusted with myself. Yet I woke up craving a roast beef sandwich. Meat tastes so good. Why does it have to be made form dead animals?