Dynamic directory structures
From: Erik Andersson (erik_at_wcttour.com)
Date: 12/26/03
- Next message: Joshua Beall: "Best way to remember a logged in user"
- Previous message: Ton den Hartog: "Re: combining server-side languages (like asp and php)"
- Next in thread: Agelmar: "Re: Dynamic directory structures"
- Reply: Agelmar: "Re: Dynamic directory structures"
- Reply: Shawn Wilson: "Re: Dynamic directory structures"
- Reply: CountScubula: "Re: Dynamic directory structures"
- Reply: CountScubula: "Re: Dynamic directory structures"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 26 Dec 2003 11:38:11 +1000
Hi!
I need to translate the path
/category_name/sub_category_name/
to
/category.php?sub_category_id=2
without redirecting the user.
There seem to be many ways of doing it, but with my current web hosting
provider (E.N.E IT - www.eneit.com) there are some constraints. For example
I cannot modify the httpd.conf.
However, I've got the functionality provided by CPanel (e.g. AddHandler's)
and I can create .htaccess files.
I've read a little about the RedirectRule command in Apache, but it does not
seem to work due to that I'm on a shared hosting server.
I've also realised that I could do
/category.php/category_name/sub_category_name/, but haven't found a way to
remove the .php in that instance.
I'm basically looking for the most basic solution...
All the best,
Erik Andersson
http://www.wcttour.com/
- Everything from the World Pro Surfing Championships, WCT.
- Next message: Joshua Beall: "Best way to remember a logged in user"
- Previous message: Ton den Hartog: "Re: combining server-side languages (like asp and php)"
- Next in thread: Agelmar: "Re: Dynamic directory structures"
- Reply: Agelmar: "Re: Dynamic directory structures"
- Reply: Shawn Wilson: "Re: Dynamic directory structures"
- Reply: CountScubula: "Re: Dynamic directory structures"
- Reply: CountScubula: "Re: Dynamic directory structures"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|