1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Rewrite function

Discussion in 'Apache' started by rfocus, Jan 17, 2015.

  1. #1
    Hello, I am a beginner in Apache Web server, whether it is possible to make some rewrite function ( or something similar ) to add some text on url from access ?

    For example
    http://someusername:somepassword@domen.com/testurl

    I need some function in httpd.conf where in SetHandler server-status ( http://domen.com:80/server-status ) can see users who are connected like /testurl?username=someusername:somepassword ?

    I did link http://someusername:somepassword@domen.com/testurl?username=someusername:somepassword but some users delete from ?username=someusername:somepassword from link and I have a problem to monitoring that lines !
     
    rfocus, Jan 17, 2015 IP
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #2
    First of all - in production, sending the password as a GET-attribute is VERY BAD PRACTICE - and should not be done. Also, sending the username/password combo like this is horrible, horrible coding - why in the world do you need both? Usernames should be unique, and if you're logging on those, only when a user is logged in, you'll get the data you want?
     
    PoPSiCLe, Jan 17, 2015 IP
  3. rfocus

    rfocus Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #3
    This I need to monitoring login instance for clients ( one username can use lot of time, I need to monitoring in server-status page).

    Did you have some exampe how to resolve ?

    Regards
     
    rfocus, Jan 18, 2015 IP
  4. rfocus

    rfocus Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #4
    Any help please ?!
     
    rfocus, Jan 29, 2015 IP