From: Ashley M. K. <as...@pc...> - 2001-11-17 19:13:36
|
Phillip Tiburcio wrote: > The question I have is this: currently the way to get > to my ids site is to hit > http://servername.org/cgi-bin/ids/index.cgi. > > I tried to simplify the path by using a scriptalias > command in httpd.conf: > > ScriptAlias /album/ > "/usr/local/www/cgi-bin/ids/index.cgi" > > I read through the faqs/documentation but I couldn't > find how to properly create an URL alias. What is the > proper way to accomplish this? None of the images show up because it's taking the last bit, 'index.cgi' and tacks everything else on it, so at some point, your internal paths become /usr/local/www/cgi-bin/ids/index.cgi/index.cgi?mode=...etc. - Try removing the 'index.cgi' from it. -- IDS can be placed just about anywhere really. What you need to do is allow CGI scripts to run from where ever you install it. For example, instead of putting it in your /cgi-bin/ folder, drop it outside, and put it in a folder under your /htdocs/ directory. Say, make a new one called album under /htdocs/, and drop IDS in there. Your physical path would then be /usr/local/www/htdocs/album/ and you should be able to hit http://your.host/album/ (you have to delete your script alias you added, and you need to allow ExecCGI in the /album/ folder - read the Apache docs for that) In my case, I have IDS running completely outside of my main Apache folder. It's a vhost all by itself. http://photos.yeehaw.net translates to /home2/apache/photos.yeehaw.net/htdocs/ while Apache itself is under /usr/local/apache/ (besides, with my IDS being so large, I had to move it onto another drive all together) -- H | "Life is the art of drawing without an eraser." - John Gardner +-------------------------------------------------------------------- Ashley M. Kirchner <mailto:as...@pc...> . 303.442.6410 x130 Director of Internet Operations / SysAdmin . 800.441.3873 x130 Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave, #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A. |