Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > PHP/MySQL > Pro PHP
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old April 12th, 2007, 08:56 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Oklahoma City, Oklahoma, USA.
Posts: 249
Thanks: 0
Thanked 0 Times in 0 Posts
Default mod_rewrite question

I am having problems figuring out mod_rewrite. This is my rewrite rule

RewriteRule ^/myfolder$ myfolder/index.php

This is my link
http://www.mywebsite.com/myfolder

In using this I need it to go to
http://www.mywebsite.com/myfolder/

but instead it is going to
http://mywebsite.com/myfolder/
I am loosing the www. All my other links work fine, its just the ones that deal with index.php file.

Thank You
__________________
Peace
Mike
http://www.eclecticpixel.com
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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Ch3 Testing mod_rewrite speculumcm BOOK: Professional Search Engine Optimization with PHP: A Dev's Guide to SEO ISBN: 978-0-470-10092-9 1 September 8th, 2011 11:48 AM
mod_rewrite stevenpup ASP.NET 2.0 Basics 2 December 22nd, 2007 04:54 PM
Mod_rewrite heerajee Pro PHP 1 March 8th, 2006 05:35 AM
mod_jk + apache + mod_rewrite fanch Apache Tomcat 0 December 5th, 2005 11:34 AM
Apache mod_rewrite() anshul Linux 2 October 14th, 2005 09:09 AM



All times are GMT -4. The time now is 04:01 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.