Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I have this shopping cart script, now I need help with this, you see it creates a directories for each category you make so say you made a category called Snowmobile and now you can reach it at http://someurl.com/shop/Snowmobile and for each directory I make it has to have a something call htpp://someurl.com/shop/category.cgi to read that category
So now we made a category but now should I put a index.shtml in there and call category.cgi and have a file in there called num.txt that has its id number to identify it.
\shop\ - category.cgi (Displays that category) \shop\Snowmobile\ - index.shtml (Call category.cgi) - num.txt (Get the id number)
or...
I can use.htaccess using redirect funtion to redirect the index.html page to category.cgi with num.txt
I just need to find a way to do this but i need to create the directories. Just need an idea.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SSI or .HTACCESS for CGI
by Kanji (Parson) on Nov 10, 2002 at 18:26 UTC | |
by tadman (Prior) on Nov 10, 2002 at 23:13 UTC | |
|
Re: SSI or .HTACCESS for CGI
by Anonymous Monk on Nov 10, 2002 at 19:14 UTC | |
by Kanji (Parson) on Nov 10, 2002 at 19:37 UTC | |
|
Re: SSI or .HTACCESS for CGI
by Anonymous Monk on Nov 11, 2002 at 02:15 UTC |