Regarding mod_rewrite in PHP

Discussion in 'PHP' started by SMITdigitalmarketing, Jul 2, 2012.

  1. #1
    Hello Folks !!!!

    Could you please help to me, how we can check whether mod_rewrite is enable on linux server?

    Also please help me in how to find out by php info page.
     
    SMITdigitalmarketing, Jul 2, 2012 IP
  2. HuggyEssex

    HuggyEssex Member

    Messages:
    297
    Likes Received:
    4
    Best Answers:
    2
    Trophy Points:
    45
    #2
    Place this in a php file:

    
    echo phpinfo();
    
    PHP:
    It's about half way down.
     
    HuggyEssex, Jul 2, 2012 IP
  3. mastermunj

    mastermunj Well-Known Member

    Messages:
    687
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #3
    If you want to do it inside php,
    
    apache_get_modules()
    
    PHP:
    will be useful.
     
    mastermunj, Jul 2, 2012 IP