in reply to SSI or .HTACCESS for CGI
You don't say what web server this is under, but I'm going to guess Apache from the .htaccess reference. If so, then you can create a single .htaccess file under /shop/ and have it set the default index page for all directories under and including /shop/ to use your CGI, like so...
DirectoryIndex /shop/category.cgi
Then you can peek in $ENV{'REQUEST_URI'} to determine what category was requested.
--k.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: SSI or .HTACCESS for CGI
by tadman (Prior) on Nov 10, 2002 at 23:13 UTC |