Sever settings question
Posted: Mon Nov 14, 2005 10:17 am
Hi, I'm wondering how I could do this, and if it would be too much trouble. I've seen some sites do this but I don't know anything about their server so no clue what they use to make it happen.
Instead of having urls with php variables like this:
http://www.mywebsite.com/folder1/index. ... &popup=yes
I would like to have something like this:
http://www.mywebsite.com/folder1/90191/popup/
I want a url similar to that to basically load up /folder1/index.php with those variables. With what I want to use it for, I couldn't create all the folders I would need to make it work properly.
I'm wondering if anyone knows how I could do this... or any way to let people link to my site with lots of variables, yet more attractive than the standard stuff. Is there anything in SSH to let you break down the 404 to do this instead of going to one page for all your 'not found' requests?
Thanks!
edit: Actually, why couldn't I make my 404 page a php file that broke the url down and made all the sub directories variables? I could see if a variable was correct and include a file, and if it wasn't, include a normal 404 error page.
Instead of having urls with php variables like this:
http://www.mywebsite.com/folder1/index. ... &popup=yes
I would like to have something like this:
http://www.mywebsite.com/folder1/90191/popup/
I want a url similar to that to basically load up /folder1/index.php with those variables. With what I want to use it for, I couldn't create all the folders I would need to make it work properly.
I'm wondering if anyone knows how I could do this... or any way to let people link to my site with lots of variables, yet more attractive than the standard stuff. Is there anything in SSH to let you break down the 404 to do this instead of going to one page for all your 'not found' requests?
Thanks!
edit: Actually, why couldn't I make my 404 page a php file that broke the url down and made all the sub directories variables? I could see if a variable was correct and include a file, and if it wasn't, include a normal 404 error page.