So I wrote this perl app as a way to create pages for my webcomic. It's really awful, inefficient and has flaws...no seriously. It's bad.
***Note: Mod_perl is installed on my apache instance.
Flaws:
Page numbers are generated by perl, resulting in more stress on the server than if this part had been written in javascript.
It creates multiple files, rather than being a single file that dynamically generates.
It probably has security issues.
You have to configure your directory's and apache in such a way that it could restrict you.
There are a lot of inputs in the main perl file, no configuration file, and no installer program. You just drop and edit the files. Without knowing a little perl, this would be daunting(I might actually fix this, if I do another update).
The code sucks...like bad...if there is another version some of this, will get fixed.
Uses Crontab to generate new pages.
Teh code:
web.tar.gz
Weirdness:
Until a new version comes out you have to use svg as your graphics files. You can use whatever you want if you replace the extensions in both files.
FAQ:
I have no idea how to set this up, Can you help me?
No, it's awful and I don't want to support it.
Where can I write a critique of your awful code?
Preferably somewhere I can't see it.
What the hell is wrong with you?
A lot, more than can be explained in this simple FAQ.
***This sounds awful...Why would I ever use it? I don't really know why, I only use it because I built it, and am a believer in DIY***
For the directory, in my httpd conf I have it set up like this:
<Directory "/var/www/wereboobs.com/comics/">
SetHandler perl-script
PerlResponseHandler ModPerl::Registry
PerlOptions +ParseHeaders
Options +ExecCGI
Order allow,deny
Allow from all
</Directory>