hyphen issue in .htaccess

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xiaawan
    New Member
    • May 2007
    • 17

    #1

    hyphen issue in .htaccess

    Hi All,
    Can Anyone help me to solve this problem. Actually I have two urls and I want both of them to work at the same time for different urls. here is my .htaccess code.

    AddHandler application/x-httpd-php5 .php
    AddType x-mapp-php5 .php

    Options +FollowSymLinks
    RewriteEngine on
    RewriteBase /
    RewriteCond %{REQUEST_FILEN AME} -d
    RewriteRule ^(.+[^/])$ $1/ [R]
    RewriteRule ^index/([^/]+)/(.*)$ http://www.mysite.com/index.php?cmd=$ 1&params=$2/



    1)RewriteRule sign-in http://www.mysite.com/index.php?cmd=s ignin
    2)RewriteRule signin http://www.mysite.com/index.php?cmd=s ignInOverride
    either of one url works fine but when I use the second one both of them don't work. Is there anything extra that I have to do to enable (hyphen) or something else. Please help. I don't have much expertise in .htaccess coding.

    Sorry for my bad english.
Working...