Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 17th, 2001, 11:44 AM
jester jester is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Location: Hong Kong
Posts: 47 jester User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 32 sec
Reputation Power: 9
Wink Can I use "rewrite" in this case?

Dear all,

I want to make some changes on URL when people browsing my web as follows:

When people type "http://www.url.com/123/index.html" in their browser, I want to redirect it to "http://www.url.com/cgi-bin/gourl.php?url=/123/index.html".

Can I use rewrite engine to reach it? And how can I do this?

Also, can the browser on client-side still show "http://www.url.com/123/index.html" and not "http://www.url.com/cgi-bin/gourl.php?url=/123/index.html"??

Thank you so much !

Best Regards,
Jester
__________________
======================
Linux is Great ! Try !

Reply With Quote
  #2  
Old August 17th, 2001, 01:12 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Do a search in this forum. Your case has been discussed million times here.

>> Also, can the browser on client-side still show "http://www.url.com/123/index.html"

Yes, that's so-called internal redirection.

Reply With Quote
  #3  
Old August 20th, 2001, 04:52 AM
jester jester is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Location: Hong Kong
Posts: 47 jester User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 32 sec
Reputation Power: 9
Talking

Thx FreeBSD.
I've got it.

Thank you very much ~!

Best Regards,
Jester

Last edited by jester : August 20th, 2001 at 05:04 AM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Can I use "rewrite" in this case?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT