From: Ashley M. K. <as...@pc...> - 2003-02-20 17:01:51
|
Piet Barber wrote: >Which is why none of the pictures show on your page. >I bet there are a whole lot of 500 Internal Server errors in your web server >error logs. > No there aren't - but that's also because I don't run IDS from any cgi-bin. I run IDS from a regular, non-cgi-bin location on my (Apache) server. And since Apache knows to execute anything that has .cgi on it, it'll only worry about those, nothing else. # cat /etc/httpd/conf/conf.photos.yeehaw.net DocumentRoot /var/www/vhosts/photos.yeehaw.net/htdocs <Directory /var/www/vhosts/photos.yeehaw.net/htdocs> Options FollowSymLinks Includes ExecCGI AllowOverride AuthConfig Limit FileInfo </Directory> # cat /etc/httpd/conf/httpd.conf [ ... snip ... ] ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" <IfModule mod_dir.c> DirectoryIndex index.html index.htm index.shtml index.php index.cgi </IfModule> AddHandler cgi-script .cgi [ ... snip .. ] Notice that my cgi-bin has nothing to do with my IDS installation. And IDS is not in any cgi-bin location, it's being run as a simple vhost, with provisions to allow .cgi files to be executed, rather than read in as any other .html or .jpg file(s). Someone should document this and write a Setup Howto - we don't really have one. I and still haven't setup CVS..urgh, what's wrong with me. Sorry, I'll get to it. -- M | I haven't lost my mind; it's backed up on tape somewhere. +-------------------------------------------------------------------- Ashley M. Kirchner <mailto:as...@pc...> . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A. |