User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Web Developers' Lounge section within the Web Development category of DaniWeb, a massive community of 456,534 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,992 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Web Developers' Lounge advertiser: Search Engine Optimization
Views: 1567 | Replies: 1
Reply
Join Date: Sep 2007
Posts: 3
Reputation: aso186 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
aso186 aso186 is offline Offline
Newbie Poster

Question Hiding URL extension - mod_rewrite

  #1  
Oct 10th, 2007
Hi Everyone

I have been searching the web and found a lot of information on mod_rewrite for creating 'good' URL's, such as 'hiding' query strings by mapping them to virtual directories

e.g
content.cgi?date=2000-02-21/article.cgi?id=46&page=1
to:
content/2000-02-01/article46 (or similar)

but I am finding it hard to digest all the information and extract what I need.

I have a very basic site with static pages (and not many of them) such as mydomain.com/index.html or mydomain.com/portfolio/page1.html and all I want to do is 'hide' the extension, so the URL is mydomain.com/ or mydomain.com/portfolio/ ?

And how do I go about handling missing trailing slashes?

Many thanks for your time and support

Alex
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2007
Posts: 13
Reputation: FBI is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
FBI FBI is offline Offline
Newbie Poster

Re: Hiding URL extension - mod_rewrite

  #2  
Nov 22nd, 2007
I'm also interested in this kinda stuff.
1.I'm not an Expert
2.ASP.NET Lover btw Newbie
3.English isn't my mother tongue so Please try to understand what I've written...
4.DaniWeb Reader and also Learner
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Web Developers' Lounge Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Web Developers' Lounge Forum

All times are GMT -4. The time now is 4:41 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC