different rewrites and same php file

Discussion in 'Apache' started by trichnosis, Mar 3, 2008.

  1. #1
    Hi;

    I have a bit straange question.

    if i have two writes like

    RewriteRule ^some-words-comes-here\.html$ xyz.php [L]
    RewriteRule ^another-words-comes-here\.html$ xyz.php [L]

    is it going to work?

    regards
     
    trichnosis, Mar 3, 2008 IP
  2. hasbehas

    hasbehas Well-Known Member

    Messages:
    726
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    190
    #2
    No trich, I dont think it'll work..
    if second php had a different name then yes it would..
     
    hasbehas, Mar 5, 2008 IP