Welcome Guest, Not a member yet? Register   Sign In
problem: 500 internal server error at the site
#1

[eluser]Unknown[/eluser]
Hello,
I've created a website at localhost and It works fine at it.
but when I uploaded it to real site, this message appeared:
Quote:Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] 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.

by the way, I removed index.php from the links.
and when I delete .htaccess and rewrite 'index.php' in config file, the site works good.
any solv??
#2

[eluser]Aken[/eluser]
Sounds like a problem with your .htaccess. Please post its contents using the [ code ] tags.
#3

[eluser]Unknown[/eluser]
Thank you for your reply,
this is .htaccess
Code:
Options +FollowSymLinks
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

AddDefaultCharset UTF-8
#4

[eluser]Aken[/eluser]
First, remove the first RewriteCond line. The next two are sufficient.

Second, try removing the "Options +FollowSymLinks" and "AddDefaultCharset UTF-8" lines (or comment them out by putting # at the start of the line) and see if those changes fix your problem. If they do, one of those lines if probably causing the error. If not, then its possible you don't have mod_rewrite or other components necessary.




Theme © iAndrew 2016 - Forum software by © MyBB