webhosting and lyream.com

Things are finally starting to look up in terms of web hosting. Thanks to imhosted.com, I was able to get everything configured perfectly. Although… They don’t seem to support mod_perl for some reason, so I had to find a way to get PLP to work through CGI. Ah well. Maybe I could convince them to install FactCGI or mod_perl anyways. Off to bed.

Click here to post your own answers for this meme.)

I miss somebody right now. I don’t watch much TV these days. × I own lots of books.
I wear glasses or contact lenses. I love to play video games. × I’ve tried marijuana.
I’ve watched porn movies. × I have been the psycho-ex in a past relationship. I believe honesty is usually the best policy.
I curse sometimes. I have changed a lot mentally over the last year.  (At least, I think I have…) × I carry my knife/razor everywhere with me.

it goes on…


After searching for a lightweight solution to embed Perl code into HTML documents, I came across this. PLP. It has, perhaps the simplest syntax of all time, getting straight to the point. No doubt, it will be supported by nearly any webhost that supports Perl, because, it supports mod_perl AND cgi. The only problem I ran into was an internal “OK” server error. I checked the log files and it led me to an undefined subroutine: Apache::Constants. Realized it was undefined because I’m running in a mod_perl2 environment and that was a module for mod_perl(1). I changed anything in the source code which contained Apache::Constants to Apache2::Const. Works like a charm now. The only tricky thing about this module is that it hates changing headers, so adding sessions is going to take some thinking… If anyone’s interested, the link is: http://search.cpan.org/~shiar/PLP-3.19/PLP.pm