Go Back   HostGator Peer Support Forums > Public Forums > Suggestions

Notices

Reply
 
Thread Tools
  #1  
Old 09-23-2007, 10:45 AM
funky22 funky22 is offline
Hatchling Croc
 
Join Date: Sep 2007
Posts: 5
Default i cant see my site: Internal Server Error , please help

hello,

i get the next message when i look at my domain:

Code:
 The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, xxxxxxx and inform them of the time the error occurred, and anything you might have done that may have caused the error.
 More information about this error may be available in the server error log.
 
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
when i delete the .htacces, the site is working, but the urls aint working anymore

the text in my .htacces is:

Code:
php_flag  register_globals on
#php_flag apc.enabled off

Options +FollowSymLinks
RewriteEngine On 

RewriteRule ^go/(.*)/(.*)/$ show.php?id=$1
RewriteRule ^do/(.*)/(.*)/$ show.php?b=y&id=$1
RewriteRule ^do/(.*)/$ show.php?b=y&id=$1
RewriteRule ^go/(.*)/$ show.php?id=$1

can somebody please help me, thnx,
Reply With Quote
  #2  
Old 09-23-2007, 10:49 AM
Sam Sam is offline
Emperor Croc
 
Join Date: Jan 2007
Location: /bin/false
Posts: 3,057
Default Re: i cant see my site: Internal Server Error , please help

Comment out "php_flag register_globals on"
Reply With Quote
  #3  
Old 09-23-2007, 11:22 AM
regentronique's Avatar
regentronique regentronique is offline
King Croc
 
Join Date: Aug 2007
Location: Quebec,Canada
Posts: 969
Default Re: i cant see my site: Internal Server Error , please help

_Sam_ is right about the problematic line.

I would only add that any php flag you want to change in the future, you will need to do it in a php.ini file because of suexec.
Reply With Quote
  #4  
Old 09-24-2007, 08:14 AM
funky22 funky22 is offline
Hatchling Croc
 
Join Date: Sep 2007
Posts: 5
Default Re: i cant see my site: Internal Server Error , please help

ahh its working now, but what is this "php_flag register_globals on" doing anyway?

which function is now cut out from my site?
Reply With Quote
  #5  
Old 09-24-2007, 08:45 AM
joemailey joemailey is offline
Junior Croc
 
Join Date: Jan 2007
Posts: 178
Default Re: i cant see my site: Internal Server Error , please help

Setting of "register_globals":

register_globals is a PHP setting that controls availability of variables that have been submitted by a user to a PHP script (such as data posted from a form, URL-encoded data, or data from cookies). In earlier releases of PHP, register_globals was set to "on", which made for easier, but less secure coding.
__________________
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 11:30 PM.