| View previous topic :: View next topic |
| Author |
Message |
awaisuk
Joined: 25 May 2009 Posts: 39
|
Posted: May 01, 2011 7:19 pm Post subject: Server move, now 500 internal server error? |
|
|
Hey
I moved into a new server, now on homepage I get 500 internal server error.
In error logs it shows:
Premature end of script headers: index.cgi
All .cgi chmod to 755 already.
How to fix this?
Thanks.
Last edited by awaisuk on May 02, 2011 7:14 pm; edited 1 time in total |
|
| Back to top |
|
 |
Anturaju93
Joined: 13 May 2010 Posts: 83 Location: Romania
|
Posted: May 02, 2011 8:49 am Post subject: |
|
|
Make sure all permissions are set correctly:
| Code: | 'logs.txt' => 0666,
'ipn_log.txt' => 0666,
'fs.cgi' => 0755,
'index.cgi' => 0755,
'ipn.cgi' => 0755,
'cron.pl' => 0755,
'dl.cgi' => 0755,
'up.cgi' => 0755,
'uu.cgi' => 0755,
'upload.cgi' => 0755,
'api.cgi' => 0755,
'XFileConfig.pm' => 0666,
'XFSConfig.pm' => 0666,
'text-link-ads.xml' => 0666,
'Templates/text-link-ads.html' => 0666,
'Templates/news_last.html' => 0666,
'temp' => 0777,
'uploads' => 0777,
"$c->{site_path}/files" => 0777,
"$c->{site_path}/i" => 0777,
"$c->{site_path}/captchas" => 0777,
"$c->{site_path}/tmp" => 0777,
"$c->{site_path}/catalogue.rss" => 0666,
"$c->{site_path}/sitemap.txt" => 0666,
"$c->{site_path}/sitemap.txt.gz" => 0666, |
|
|
| Back to top |
|
 |
maestrohost
Joined: 03 May 2011 Posts: 7 Location: Indonesia Singapore USA
|
Posted: May 03, 2011 10:16 am Post subject: |
|
|
is every think fix?
Thank you for above me give good respond solution |
|
| Back to top |
|
 |
seinkalar
Joined: 01 May 2011 Posts: 23 Location: Yangon
|
Posted: May 11, 2011 5:02 pm Post subject: |
|
|
I'm also getting this error too.
I copied account via WHM copy account tool.
Then I got 500 Internal server error. |
|
| Back to top |
|
 |
Anturaju93
Joined: 13 May 2010 Posts: 83 Location: Romania
|
Posted: May 11, 2011 6:18 pm Post subject: |
|
|
| seinkalar check for file permissions to be okay. Follow the list from previos topic. |
|
| Back to top |
|
 |
seinkalar
Joined: 01 May 2011 Posts: 23 Location: Yangon
|
Posted: May 11, 2011 6:51 pm Post subject: |
|
|
As I copied via WHM account transfer, I don't need to change any permissions and it will automatically synced.
But I double checked again.
All settings are correct and still getting 500 |
|
| Back to top |
|
 |
nyan
Joined: 28 Oct 2010 Posts: 121
|
Posted: May 11, 2011 9:12 pm Post subject: |
|
|
| seinkalar wrote: | As I copied via WHM account transfer, I don't need to change any permissions and it will automatically synced.
But I double checked again.
All settings are correct and still getting 500 |
Make sure you install all required perl modules... (look in install.txt) |
|
| Back to top |
|
 |
seinkalar
Joined: 01 May 2011 Posts: 23 Location: Yangon
|
Posted: May 12, 2011 8:44 am Post subject: |
|
|
Fixed.
I'll tell you all the best way to fix.
send email to support at sibsoft.net
But you may need to wait a little. |
|
| Back to top |
|
 |
|