LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   URLs without file extensions (https://www.linuxquestions.org/questions/linux-software-2/urls-without-file-extensions-527740/)

vikram_cvk 02-12-2007 03:18 AM

URLs without file extensions
 
Hello Experts,

Im new to URL rewriting, I want to create which will not show the file extensions like .php or .html

How to achieve this in apache web server.

Regards
Vikram.

ColinAnderson 02-13-2007 02:50 PM

URL rewriting in Apache is really pretty easy, barring any extensive regular-expression syntax you might have to develop.

Make sure that you compiled Apache with --enable-rewrite so that your Apache webserver supports URL rewriting.

This guide [yourhtmlsource.com] is an excellent primer on learning to use Apache's URL rewriting abilities, and I highly recommend you check it out, as it will likely go a long way and answer a lot of questions you may have.

Also, a handy cheat-sheet that becomes convenient once you become more familar with Apache URL manipulation may be downloaded here [ilovejackdaniels.com].

Good luck!
.Colin


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