Not sure if possible

Discussion in 'Apache' started by protocol96, Jul 13, 2011.

  1. #1
    Hi All,

    I have apache authentication through .htpasswd but I want to redirect if the call is made to a particular folder with mobile browser.
     
    protocol96, Jul 13, 2011 IP
  2. ntomsheck

    ntomsheck Peon

    Messages:
    87
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Those two events seem unrelated, could you please supply more detail? After the authentication? Before the authentication?
     
    ntomsheck, Jul 13, 2011 IP
  3. protocol96

    protocol96 Peon

    Messages:
    413
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If I can redirect before authentication it would great. But I just want to stop the authentication if made from mobile browser.
     
    protocol96, Jul 13, 2011 IP
  4. rndm

    rndm Greenhorn

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #4
    You could use the BrowserMatchNoCase but browser detection can be a bit iffy with any technology, and server side can be pretty literal.
     
    rndm, Aug 19, 2011 IP