sh00t!ng-f!sh Posted June 23, 2007 Share Posted June 23, 2007 I've intsll osC 5-6 times and everytime I get this error, and everytime I normally resolve it with ease with turning the registler globals on or 1 in the .htaccess file. HOWEVER, this time, it just refuses to work. This is what I've done. catalog directory is in my public_html .htaccess is in the catalog dir .htacess contains: # $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $ # # This is used with Apache WebServers # # For this to work, you must include the parameter 'Options' to # the AllowOverride configuration # # Example: # # <Directory "/usr/local/apache/htdocs"> # AllowOverride Options # </Directory> # # 'All' with also work. (This configuration is in the # apache/conf/httpd.conf file) # The following makes adjustments to the SSL protocol for Internet # Explorer browsers <IfModule mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </IfDefine> </IfModule> # If Search Engine Friendly URLs do not work, try enabling the # following Apache configuration parameter # # AcceptPathInfo On # Fix certain PHP values # (commented out by default to prevent errors occuring on certain # servers) # <IfModule mod_php4.c> php_value session.use_trans_sid 0 php_value register_globals 1 </IfModule> Urgh. Anybody want to tell me what is going on this time? Link to comment Share on other sites More sharing options...
sirshurf Posted June 23, 2007 Share Posted June 23, 2007 I've intsll osC 5-6 times and everytime I get this error, and everytime I normally resolve it with ease with turning the registler globals on or 1 in the .htaccess file. HOWEVER, this time, it just refuses to work. This is what I've done. catalog directory is in my public_html .htaccess is in the catalog dir .htacess contains: # $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $ # # This is used with Apache WebServers # # For this to work, you must include the parameter 'Options' to # the AllowOverride configuration # # Example: # # <Directory "/usr/local/apache/htdocs"> # AllowOverride Options # </Directory> # # 'All' with also work. (This configuration is in the # apache/conf/httpd.conf file) # The following makes adjustments to the SSL protocol for Internet # Explorer browsers <IfModule mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </IfDefine> </IfModule> # If Search Engine Friendly URLs do not work, try enabling the # following Apache configuration parameter # # AcceptPathInfo On # Fix certain PHP values # (commented out by default to prevent errors occuring on certain # servers) # <IfModule mod_php4.c> php_value session.use_trans_sid 0 php_value register_globals 1 </IfModule> Urgh. Anybody want to tell me what is going on this time? Most probably? youa re now on PHP 5 and not on 4... <IfModule mod_php5.c> php_value session.use_trans_sid 0 php_value register_globals 1 </IfModule> That will work... Though for me I ahve delited the "IfModule" lines and used ONLY php_value session.use_trans_sid 0 php_value register_globals 1 Worked as charm Link to comment Share on other sites More sharing options...
sh00t!ng-f!sh Posted June 23, 2007 Author Share Posted June 23, 2007 Nope. neither 4 or 5 work. If I take out the < ****> as below then I get a 500 Internal server error. Could it be that this thing applies to my entire directory, I've tried everything, including placing .taccess files in public-html and the catalog directory. # $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $ # # This is used with Apache WebServers # # For this to work, you must include the parameter 'Options' to # the AllowOverride configuration # # Example: # # <Directory "/usr/local/apache/htdocs"> # AllowOverride Options # </Directory> # # 'All' with also work. (This configuration is in the # apache/conf/httpd.conf file) # The following makes adjustments to the SSL protocol for Internet # Explorer browsers <IfModule mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </IfDefine> </IfModule> # If Search Engine Friendly URLs do not work, try enabling the # following Apache configuration parameter # # AcceptPathInfo On # Fix certain PHP values # (commented out by default to prevent errors occuring on certain # servers) # php_value session.use_trans_sid 0 php_value register_globals 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.