P.S.   mod_rewrite is usually enabled or can be enabled on any simple hosting plan that is using apache, if you encounter a host that uses apache and wont turn it on, i would suggest finding another host.

Donald J Organ IV wrote:
This is done via mod_rewrite:

apache 1.x
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html

apache 2.x
http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html


The PHP script still see the page as myhost.com/index.php?act=700&eventid=4e732ced3463d06de0ca9a15b6153677 you just tell apache how to process myhost.com/MayEvent07



Ben Sgro (ProjectSkyline) wrote:
Hello All,
 
Currently I have a software package that creates URLS in this manner:
myhost.com/index.php?act=700&eventid=4e732ced3463d06de0ca9a15b6153677
 
Which is the action to take and event id (md5 hash).
 
Now, I want to make this a bit more user friendly and create URLs like:
myhost.com/MayEvent07
 
Is this done via an apache mod? or can I do this in PHP ... The app is developed on my company server,
so special configurations are not a problem. However, its a software product, that will be deployed on hosting
company servers, so I'm not sure if I will have the ability to run apache mods (if that's the answer).
 
Thanks!
 
- Ben
 
ProjectSkyline.com
Ben Sgro - Chief Engineer
[EMAIL PROTECTED]

_______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php
  

_______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to