www.webdeveloper.com
Results 1 to 3 of 3

Thread: apache rewrite

Threaded View

  1. #1
    Join Date
    Nov 2006
    Posts
    72

    apache rewrite

    I want to redirect

    Code:
    index.php?message=test
    to

    Code:
    index.php/message/search/test
    Now,I write .htaccess it like that

    Code:
    RewriteEngine on
    RewriteCond %{QUERY_STRING} message=^(.*)$
    RewriteRule ^(.*)$ /index.php/message/find/$1 [L]
    I call index.php?message=test and it's not redirect. How should I write htaccess file.
    Last edited by saturngod; 08-07-2009 at 01:52 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles