Webmaster Forum


Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 01-07-2004, 01:12 AM
John Scott's Avatar
Individualist
 
Join Date: 09-27-03
Location: Japan, mostly
Posts: 27,715
iTrader: 3 / 100%
mod_rewrite

Anybody familiar with mod_rewrite? I'm thinking of using it to rewrite the URL's for this forum.
__________________
My Facebook - Add Me
“It is no measure of health to be well adjusted to a profoundly sick society.”
JSES
 
Reply With Quote
  #2 (permalink)  
Old 01-07-2004, 06:53 AM
hatchet's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 10-11-03
Posts: 833
iTrader: 0 / 0%
Here's the URL Rewriting Guide..
http://httpd.apache.org/docs/misc/rewriteguide.html
I know enough about it to know where to look...hah.
 
Reply With Quote
  #3 (permalink)  
Old 01-07-2004, 10:43 AM
John Scott's Avatar
Individualist
 
Join Date: 09-27-03
Location: Japan, mostly
Posts: 27,715
iTrader: 3 / 100%
Huh. I was wanting more specific instructions...
__________________
My Facebook - Add Me
“It is no measure of health to be well adjusted to a profoundly sick society.”
JSES
 
Reply With Quote
  #4 (permalink)  
Old 01-07-2004, 04:56 PM
hatchet's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 10-11-03
Posts: 833
iTrader: 0 / 0%
hah.. So you want something where the URL gets rewritten to be http://www.internet-marketing-research.net/forums/3134
or .../forum3/topic3134 or ../forum/3-3134.php
I'll see what I can work up.
 
Reply With Quote
  #5 (permalink)  
Old 01-07-2004, 05:11 PM
hatchet's Avatar
Senior Member
Latest Blog:
None

 
Join Date: 10-11-03
Posts: 833
iTrader: 0 / 0%
Try this..
http://www.phpbb.com/phpBB/viewtopic...=851615#851615
 
Reply With Quote
  #6 (permalink)  
Old 01-07-2004, 06:35 PM
digitalpoint's Avatar
Contributing Member
 
Join Date: 10-20-03
Location: San Diego, California
Posts: 247
iTrader: 0 / 0%
If you need any help, let me know (although the above link is everything you need)... I've setup mod_rewrite to make Google friendly URLs on a test forum using phpbb before.

- Shawn
__________________
Digital Point Ads
I'm neato.
 
Reply With Quote
  #7 (permalink)  
Old 01-07-2004, 07:19 PM
John Scott's Avatar
Individualist
 
Join Date: 09-27-03
Location: Japan, mostly
Posts: 27,715
iTrader: 3 / 100%
I'd very much appreciate your help, Shawn. I'm pretty ignorant in these matters.
__________________
My Facebook - Add Me
“It is no measure of health to be well adjusted to a profoundly sick society.”
JSES
 
Reply With Quote
  #8 (permalink)  
Old 01-07-2004, 07:23 PM
digitalpoint's Avatar
Contributing Member
 
Join Date: 10-20-03
Location: San Diego, California
Posts: 247
iTrader: 0 / 0%
Shoot me an email or AIM (screen name is the same as my user name here), and I'll help you out (or coordinate with you to do it for you in a test environment if you want).

It's pretty easy though, so shouldn't take much time...

- Shawn
__________________
Digital Point Ads
I'm neato.
 
Reply With Quote
  #9 (permalink)  
Old 01-07-2004, 07:28 PM
John Scott's Avatar
Individualist
 
Join Date: 09-27-03
Location: Japan, mostly
Posts: 27,715
iTrader: 3 / 100%
If we do that, what happens when somebody tries to access a page with the old format?

Like, it's going to change, and then what happens if somebody clicks on a link like this:

http://www.internet-marketing-resear...forum.php?f=13

When the new format would be like this:

http://www.internet-marketing-resear...forum/t13.html

404?
__________________
My Facebook - Add Me
“It is no measure of health to be well adjusted to a profoundly sick society.”
JSES
 
Reply With Quote
  #10 (permalink)  
Old 01-07-2004, 07:31 PM
digitalpoint's Avatar
Contributing Member
 
Join Date: 10-20-03
Location: San Diego, California
Posts: 247
iTrader: 0 / 0%
No... it will still work... mod_rewrite basically just rewrites the URL internally... all the old URLs still works so it's nice for backward compatibility.

Also, do you run your own server? Or can you at least access your httpd.conf file for apache on the server? The .htaccess file is one way of putting mod_rewrite directives in, but it's a big of an overhead, as the server needs to read the file for each and every HTTP request. If you can put them in your httpd.conf file, they stay memory resident when you start apache. Not a deal breaker, but it's the "best" way to do it for moderate to high load web servers.

- Shawn
__________________
Digital Point Ads
I'm neato.
 
Reply With Quote
  #11 (permalink)  
Old 01-07-2004, 07:40 PM
John Scott's Avatar
Individualist
 
Join Date: 09-27-03
Location: Japan, mostly
Posts: 27,715
iTrader: 3 / 100%
They are all my servers.
__________________
My Facebook - Add Me
“It is no measure of health to be well adjusted to a profoundly sick society.”
JSES
 
Reply With Quote
  #12 (permalink)  
Old 01-07-2004, 07:42 PM
digitalpoint's Avatar
Contributing Member
 
Join Date: 10-20-03
Location: San Diego, California
Posts: 247
iTrader: 0 / 0%
Well that makes your life easier, now doesn't it?

- Shawn
__________________
Digital Point Ads
I'm neato.
 
Reply With Quote
  #13 (permalink)  
Old 01-07-2004, 10:39 PM
John Scott's Avatar
Individualist
 
Join Date: 09-27-03
Location: Japan, mostly
Posts: 27,715
iTrader: 3 / 100%
Sure does.
__________________
My Facebook - Add Me
“It is no measure of health to be well adjusted to a profoundly sick society.”
JSES
 
Reply With Quote
  #14 (permalink)  
Old 01-17-2004, 01:57 PM
sabo's Avatar
Member
Latest Blog:
None

 
Join Date: 11-17-03
Location: Mexico
Posts: 81
iTrader: 0 / 0%
JSP strings optimization

Hi all,

Does anyone knows where can I find the same information, but applied to optimization of the long .jsp strings?

I would like to convert /long.jsp?ID=strings into /short.htm strings.

I am usign TomCat and I do manage my own server.

Please help me with a hint
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mod_rewrite Limit Coding Forum 0 03-31-2005 01:08 PM
Mod_Rewrite SN3 Coding Forum 1 03-06-2005 09:27 AM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 09:34 PM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.