LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache and mod_rewrite (https://www.linuxquestions.org/questions/linux-software-2/apache-and-mod_rewrite-575385/)

Elguapo 08-07-2007 12:04 PM

Apache and mod_rewrite
 
I am working on a creating a CMS, and I have run into an issue with creating friendly urls. Right now my urls look like this http://mydomain.com/index.cfm?catAli...m&secAlias=fri. The ideal friendly url that I am trying to acheive with mod_rewrite is something like this http://mydomain.com/comm/fri but everything I have tried has come up null.

Anyone have a suggest on how I should format my rewrite rule?

Any help is greatly appreciated.

bosewicht 08-09-2007 03:24 AM

have you tried putting something similiar to this in htaccess?

RewriteEngine on
RewriteRule ^index.cfm?catAli...m&secAlias=fri$ comm/fri

i don't remember the actual format, but google should get you there.


All times are GMT -5. The time now is 06:05 AM.