Well
That whole Apache thing
In my httpd.conf, I had the following:
<VirtualHost 216.63.139.129:80>
ServerName exitwound.org
ServerAlias exitwound.org *.exitwound.org
</VirtualHost>
<VirtualHost 192.168.5.7:80>
ServerName exitwound.org
ServerAlias exitwound.org *.exitwound.org
</VirtualHost>
Obviously, I have Apache configured to serveral virtual hosts with only one IP. The purpose of the dual entries was to serve requests from the Internet and also for requests originating from the private network.
What I overlooked was the firewall/router issue. The firewall receives the request for the external and translates it/routes it to the internal. The Apache server doesn't know anything about the external IP address.
All of the changes I have been making over the past several days have been only to the externally-addressed VirtualHost entry. Yeah. The entry that will never be used.
Thanks again to everyone who pitched in.
Man
Posted from exitwound.org, comment here.
So, I go to login and
I'm now at an impasse. Until I get this friggin' Apache thing fixed, I'm stuck.
#apache on freenode.net was dead silent. I asked, but I guess everyone is too focused on ApacheCon right now.
I've googled the living shit out of this thing. Unbelievably, I've actually arrived at the point where no matter what search phrases I enter, I've already visited almost every link that's returned.
I'm 100% convinced that it's a configuration snafu on my end. I dug through all of the bugs for apache and apache-common on Debian's bug site, and no one has reported this type of situation. If it was a bug, someone would've found it by now (before me, anyway).
For those kind souls who have been pitching in with me, I've placed my httpd.conf online. Most of the pertinent stuff will be in the VirtualHost sections.
Any and all suggestions are welcome. I'm gonna go have a drink and try to relax. Getting a little pent up over here
Posted from exitwound.org, comment here.
Yes, I'm still trying to figure out what I've hosed on my Apache config. exitwound.org/music/index.pl works, but exitwound.org/music fails horribly.
I've followed the Apache documentation to the letter, and still NO JOY FOR ME.
Here's the pertinent parts from my httpd.conf:
AddHandler cgi-script
ScriptAlias
<Directory
AllowOverride All
DirectoryIndex index.pl index.php index.html index.htm index.shtml index.cgi
Options Indexes Includes FollowSymLinks MultiViews +ExecCGI
Order allow,deny
Allow from all
</Directory>
I've had conflicting advise regarding the ending '/' on the ScriptAlias line. The Apache docs say it's supposed to be there, but the result is always the same whether it's there or not.
The log file says:
attempt to invoke directory as script:
Dear God
Posted from exitwound.org, comment here.
The entire set-up process, from apt-get install apt-cacher on the cache machine to apt-get upgrade on the client machines, took me approximately 5 minutes.
Sweet.
Posted from exitwound.org, comment here.
4 servers. DNS servers. 2 internal, 2 external. Mandrake.
Fastforward about 6 months, and suddenly one of the external DNS servers is now also our failover Sendmail server. I had a few weenie-type issues getting the commercial version of Sendmail to run on it. Sendmail's technical support, while making sure that I understood that they didn't support Mandrake, were more than helpful, and in a very short period of time, it was working.
As part of the Sendmail installation, I also installed Trend Micro's Interscan VirusWall. It's got all sorts of scanning shit, but all we use is the SMTP stuff. I spend more time disabling what we don't use than getting the rest of the set-up configured.
And merrily we rocked along.
After a while, the Security Team contacts me. Interscan is supposed to automatically download and update the virus files on a nightly basis. It's working perfectly on the primary MTA, but on the secondary (Mandrake, external DNS), it's not. And they can't figure out the error message. I tell them that I'm well aware that it's not automatically updating, because I've been manually updating it for the past 6 months or so. I tell them to contact Trend Micro and get it resolved because I'm tired of manually updating the thing.
Once Trend Micro heard "Mandrake", that was the end of the discussion. They only support RedHat, and absolutely refused to discuss the matter any further.
Now, I understand the asshole concept better than most. Hell, I wrote a few chapters myself. And I also understand the magnitude of providing technical support across several different platforms. But refusing to even discuss the matter with us? Refusing to even walk through a configuration file or two and to at least let us know that we had set up the machine properly? That's inexcusable.
Trend Micro lost themselves a customer today. We were evaluating alternatives within an hour of their refusal.
And I'm 50% finished with a Perl script that'll autmatically download the updates from their site and apply them.
Interscan may not be willing to discuss the matter, but I'll be damned if I can't fix what they won't.
And they can have my Perl script, too. Right after they smooch my lilly-white ass.
Posted from exitwound.org, comment here.
So, figuring my body knows better than I do about how much rest I need, I roll out of bed, start the coffee, go through my email, and perform all of my morning tasks that normally require the bulk of the morning.
Now it's 5:30AM. Wow. It's amazing how much you can get done when there are no interruptions.
So, I read up on CSS style sheets -- something I've been nagging myself to do for quite some time. I have a very general knowledge of them, but I know that I should know more. For example, table-less webpages. I know it's possible, but I've really been wanting to learn how, but it's always getting bumped in priority.
Google quickly led me to CSS Layout Techniques at glish.com, which is exactly what I was needing.
It's amazing how quickly everything falls together -- once you have the proper foundation.
Posted from exitwound.org, comment here.
Many moons ago, we used PHPNuke. At that time, I wrote a small module that was basically a checklist. However, I didn't port it when we migrated to PostNuke, and haven't really thought that much about it. Especially since no one had bitched about its absence.
Until today. Now it's a must have.
PHP Wiki plugs into PostNuke very nicely. But getting it operational under PHPNuke isn't that easy. And it's not well documented either. I had it working where I could access it directly (http://document_root/modules/phpWiki/index.php), but accessing as a module wasn't happening. All I ever got was a blank page.
I was going through PostNuke's documentation on creating modules
So, I hacked up a Perl script that will access the PostNuke cookies to determine permissions, etc., and present the checklist. It's a hack, no doubt. But it's working quite well. Once I have a little more time, I'll revisit the PostNuke documentation and do it correctly.
Justin barfed at school today. No fever. No weirdness. Just puke. Lori picked him up at lunch and took her back to work with her. He's all kinds of pissed that he couldn't go out and play tonight
Posted from exitwound.org, comment here.
My script works fine as a standard CGI script. Running under mod_perl, it's sporadic and unpredictable. Sometimes it works, sometimes it craps with an error (but hitting Reload will lead to the proper results), sometimes it will only display the left column. Searching is out of the question. I've yet to get that to work. Hell, the log files don't even show the search request hitting the system.
I've stopped and started Apache so many times that my history file has been rendered useless.
Different browsers give the exact same result, so I know it's not a browser issue.
Other than installing mod_perl and changing httpd.conf, I've changed nothing.
You can compare and contrast as follows:
mod_perl: http://exitwound.org/perl
CGI: http://exitwound.org/music/index.pl
Note the continued necessity of index.pl on the CGI version. God this is fun
Posted from exitwound.org, comment here.
Notice:
http://exitwound.org/music/index.pl works.
http://exitwound.org/music does not work.
The 403 Forbidden error is reflected in the logs as
attempt to invoke directory as script:
DirectoryIndex is specified correctly: DirectoryIndex index.pl index.php index.html index.htm index.shtml index.cgi
The handler is there:
AddHandler cgi-script
I have a ScriptAlias of:
ScriptAlias
(Note: the funky spacing the Directory tags is intentional - for some reason my PRE tags didn't prevent them from getting eaten. The spacing is correct in httpd.conf.)
No joy. Sore head.
Posted from exitwound.org, comment here.
Fortunately, Justin is much better. Too much. He's a ball of energy and has all but torn the walls down today.
LJ is better too, although she lost her voice. She's been squeeking and hooting all day.
They'll both be back at school tomorrow, and I can finally get back to the office.
Staying at home -- working from home -- is not a lifestyle I think I could handle over a prolonged period of time. I'm ready to get the hell out of here.
Not that the weather would cooperate. It's been overcast and rainy all day. I figure it'll ice over during the night, so I should have some real excitement driving to work tomorrow.
On the Perlish-side, my music database conversion is progressing quite nicely. I've gotten all of the basic functionality in place. Now it's time to brush up on CSS and make it purty.
Posted from exitwound.org, comment here.