Community Forums

Important Notice:

Two sections of this forum are available only to registered customers. In order to receive access to the Customer Forums and ResellerCentral Forums, you must first register on these forums or login to your existing forum account. If you are an existing HostNine customer, be sure to register using the email address on file for your billing profile.

Go Back   HostNine Community Forums > H9 General Forums > Lounge / Off Topic > Web Development

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06-08-2008, 10:00 PM
Martyn Martyn is offline
Newbie
 
Join Date: Jun 2008
Posts: 29
Default URL Rewrite...

what type of URL rewrite does hostnine use??

or better yet, any one have any idea how i can go about turning say

hosting.php

to
/hosting/
or
/shared-hosting/

etc etc

regards
Reply With Quote
  #2  
Old 06-08-2008, 10:39 PM
DiverseHosting DiverseHosting is offline
Aspiring Evangelist
 
Join Date: Jan 2008
Location: California
Posts: 364
Send a message via AIM to DiverseHosting Send a message via MSN to DiverseHosting Send a message via Yahoo to DiverseHosting
Default

try using:

RewriteEngine on
RewriteRule ^hosting\.php$ /hosting/
Reply With Quote
  #3  
Old 06-08-2008, 10:53 PM
DiverseHosting DiverseHosting is offline
Aspiring Evangelist
 
Join Date: Jan 2008
Location: California
Posts: 364
Send a message via AIM to DiverseHosting Send a message via MSN to DiverseHosting Send a message via Yahoo to DiverseHosting
Default

After reading your post again, I am thinking that you might be wanting to do this dynamically (turn all file requests to directory requests). If that is what you want, try this:

RewriteEngine on
RewriteRule ^(*)\.php$ /$1/

Last edited by DiverseHosting; 06-08-2008 at 11:08 PM.
Reply With Quote
  #4  
Old 06-12-2008, 09:44 AM
kobra kobra is offline
Web Hosting Master
 
Join Date: Oct 2006
Posts: 595
Default

There is a mod re-write cheat sheet that you can download and print out
that I can take no credit for and is available HERE
__________________
Get Your Business Found

Last edited by kobra; 06-12-2008 at 09:46 AM.
Reply With Quote
  #5  
Old 06-09-2009, 01:35 PM
adam adam is offline
Newbie
 
Join Date: Jun 2009
Posts: 2
Default

Quote:
Originally Posted by kobra View Post
There is a mod re-write cheat sheet that you can download and print out
that I can take no credit for and is available HERE
The Cheat Sheet can now be seen here:
Cheat Sheets - Added Bytes

The other link now has this message on it:

The site formerly hosted at ILoveJackDaniels.com has, at the request of the Jack Daniel's trademark team, been moved to the new domain AddedBytes.com.

This redirect will remain in place only until the end of 2009 (sorry). Please update your links, bookmarks, address books and mental notes.

The page you were looking for can now be found at Cheat Sheets - Added Bytes

Please direct any questions, comments or problems to dave@addedbytes.com.

P.S. If you followed a link from another site here, please consider letting the site owner know about the new domain.
Reply With Quote
Reply

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

Forum Jump


All times are GMT -5. The time now is 01:58 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.

Host Nine

Our mission began in 2006. Thousands of awesome clients later, we are now one of the most popular hosters in the world.
Most of this is because of our fantastic support. Join us, you'll be glad you did - that's a given.