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.

internal error when code in htaccess

Discussion in 'PHP' started by ozband, Oct 6, 2005.

  1. #1
    Howdy,

    When trying to disable phpsessid's with the following code, i get an internal error 500.

    php_value session.use_trans_sid 0

    Do i have to change permissions of htaccess or something like that??

    Thanks. :)
     
    ozband, Oct 6, 2005 IP
  2. dct

    dct Finder of cool gadgets

    Messages:
    3,132
    Likes Received:
    328
    Best Answers:
    0
    Trophy Points:
    230
    #2
    It should be
    
    php_flag session.use_trans_sid off 
    
    Code (markup):
     
    dct, Oct 6, 2005 IP
  3. ozband

    ozband Active Member

    Messages:
    408
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    78
    #3
    still doesnt work??? No matter what i put in htaccess i am getting server errors??
     
    ozband, Oct 6, 2005 IP
  4. dct

    dct Finder of cool gadgets

    Messages:
    3,132
    Likes Received:
    328
    Best Answers:
    0
    Trophy Points:
    230
    #4
    Is there anything else in your .htaccess file?
     
    dct, Oct 6, 2005 IP
  5. ozband

    ozband Active Member

    Messages:
    408
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    78
    #5
    nope... ??????
     
    ozband, Oct 6, 2005 IP
  6. ozband

    ozband Active Member

    Messages:
    408
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    78
    #6
    i just changd to a different server?? thats all i can think of. I had this code in their before but i was getting internal errors, and then i cleared htaccess and its fine now.

    But i need to mod rewrite and get rid of Sess IDs...
     
    ozband, Oct 6, 2005 IP