From: Piet B. <pie...@ya...> - 2003-02-20 21:40:31
|
> >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. I think you misunderstood my post. (or maybe i did a bad job of 'splaining myself) Yes, of course, that's how it's supposed to be run. (IDS isn't supposed to run in the cgi-bin directory) ...but Rick has his installation of ids running from his cgi-bin directory. Look at the original URL in the original message asking for help. > I can get IDS to run. You can go to > http://www.ricknlisa.com/cgi-bin/ids/index.cgi and have a look. ^^^^^^^^ > Problem is that I I can get absolutely no images to display in the program. > This includes template images, album images, or icon images. If you go to his webpage, you'll find the page loads. If you look at the source of the HTML output, specifically the part of the source that tries to display the ids-logo, here's the snip: <img src="themes/Black2/images/ids-logo.gif" width="62" height="62"> That img src is a relative link. Here's what it is expanded: http://www.ricknlisa.com/cgi-bin/ids/themes/Black2/images/ids-logo.gif If you attempt to go to that page, you'll find that it's an Internal Server Error page (500) The ids-logo.gif file is in that location, and the directory hierarchy above it must exist. (or we would have gotten a 404 error) But the server's ScriptAlias statement for the cgi-bin directory tells the web server to attempt to execute it, instead of display it. Rick's solution is to get the ids stuff out of the cgi-bin directory, and add some entries like what's in your httpd.conf > # 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> __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ |