Apache on Linux
Posted: Tue Oct 18, 2005 1:26 pm
I'm running it. It's kind of cool. I think I've got most everything working.
http://nesman.afraid.org
There's not much going on as far as linked html goes, but I'm having fun with it.
At first, I had serious issues with redirects if I'd forget to put a forward slash at the end of a directory name when viewing the site. It would try to redirect me to http://www.Slacker.workgroup, which is kind of the hostname that computer knows itself by. The weirdest thing was when I'd pull it up by the internal ip (192.168.blah blah blah) and forget the trailing slash, it would redirect me, of all places, to microsoft.com! (this is fixed by telling apache what the domain name is in the httpd.conf file)
Then, I was under the impression that cgi wasn't working. I was trying to configure psupload (web based file uploader). No matter what I put in the config for this thing, I'd get an internal error when I tried to run it. I finally set executable permisson for it, but that wasn't the last thing it needed. It turns out that I uploaded the text file in binary mode, and it put ^M at the end of every line. A new copy of the files fixed this. It also gave me a good chance to play with .htaccess files. I've got this one to check your ip address, and if you're not on the list, it asks for a password.
You can check it out at the above address + /upload, and when it gives you a hard time, tell it: yesIdo letmein
My next thing to play with is the php guestbook Battye mentioned a while back. I tried a few searches, but I don't know where it went.
(Any files on this machine are subject to change, so don't count on it being up forever)
http://nesman.afraid.org
There's not much going on as far as linked html goes, but I'm having fun with it.
At first, I had serious issues with redirects if I'd forget to put a forward slash at the end of a directory name when viewing the site. It would try to redirect me to http://www.Slacker.workgroup, which is kind of the hostname that computer knows itself by. The weirdest thing was when I'd pull it up by the internal ip (192.168.blah blah blah) and forget the trailing slash, it would redirect me, of all places, to microsoft.com! (this is fixed by telling apache what the domain name is in the httpd.conf file)
Then, I was under the impression that cgi wasn't working. I was trying to configure psupload (web based file uploader). No matter what I put in the config for this thing, I'd get an internal error when I tried to run it. I finally set executable permisson for it, but that wasn't the last thing it needed. It turns out that I uploaded the text file in binary mode, and it put ^M at the end of every line. A new copy of the files fixed this. It also gave me a good chance to play with .htaccess files. I've got this one to check your ip address, and if you're not on the list, it asks for a password.
You can check it out at the above address + /upload, and when it gives you a hard time, tell it: yesIdo letmein
My next thing to play with is the php guestbook Battye mentioned a while back. I tried a few searches, but I don't know where it went.
(Any files on this machine are subject to change, so don't count on it being up forever)