Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 4 of 4

This is a discussion on .htaccess: I WON'T TO MODIFY in the Shared & Semi-Dedicated forum
Please , i wan't to modify my .htaccess but when i save my web generate an "Internal server error" until when i restore a blank ...

  1. #1
    Loyal Client
    Join Date
    May 2006
    Location
    Italy
    Posts
    54

    .htaccess: I WON'T TO MODIFY

    Please , i wan't to modify my .htaccess but when i save my web generate an "Internal server error" until when i restore a blank .htaccess...

    I have my php under www/folder_php and i want to insert an .htaccess or modify this with only

    php_flag register_globals on

    How can i do???

  2. #2
    the Windlord Gwaihir's Avatar
    Join Date
    Jun 2002
    Posts
    2,562
    You cannot use php_flag and php_value in .htaccess on a server that has PHP installed as CGI. All recently set-up and new JagPC servers have PHP set up like that (and the older ones are to be converted some day). Instead you should use a php.ini file to make such settings.

    There's an announcement with some info here: http://forums.jaguarpc.com/showthread.php?t=13601 and a lot of recent discussion around the boards. When you're looking around anyway, do check out all the comments on why you really DON'T want register globals on as well.
    Regards,

    Wim Heemskerk
    ---
    Visit MeCCG.net - Cardgaming in J.R.R. Tolkien's Middle-earth
    And Gwaihir.net - The Middle-earth CCG store

  3. #3
    Yeah, I know a LOT! Vin DSL's Avatar
    Join Date
    Mar 2003
    Location
    Arizona Uplands
    Posts
    10,775
    Heh! This is turning into a disaster...
    DISCLAIMER Any resemblance between the views expressed above and those of the owners and operators of this system is purely coincidental. Any resemblance between these views and my own are non-deterministic. The existence of Vin DSL is questionable. The existence of views in the absence of anyone to hold them is problematic. The existence of the reader is left as an exercise in the second-order coefficient.

    No Guts, No Story! VinDSL © 2010

  4. #4
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    Register globals should be on already. This is the standard JPC config. You should, IMHO, update your code (or get whoever developed your app to update it) so that you don't need regsiter globals on, and then turn them off.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •