GetSimple Support Forum
500 Internal Server Error - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: 500 Internal Server Error (/showthread.php?tid=1335)



500 Internal Server Error - johnflower - 2011-02-26

Hi,

I recently built a site with this fantastic CMS: http://www.cupboardsandcabinets.co.za/

I wanted to use the .htaccess file to redirect the non-www version of the site to the www version.
I made the necessary changes to the htaccess file and uploaded it, but it crashed the site. No problem. I just uploaded the original htaccess file, but alas, the site still gives a 500 Internal Server Error message, even with the original htaccess file.

Now, the home page displays fine. It's when you click on links to the other pages that it throws out this error.

Here's the current htaccess code:

AddDefaultCharset UTF-8
RewriteEngine on

RewriteBase /cupboardsandcabinets.co.za/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9-]+)/?$ index.php?id=$1 [QSA,L]

I enabled debug mode, but I suspect this won't help solve the issue, right?


500 Internal Server Error - n00dles101 - 2011-02-26

Site is working fine with fancy urls's turned off.

Is mod_rewrite enabled?

Turn it off in settings and see if everything works.

I can browse not problem to

http://www.cupboardsandcabinets.co.za/index.php?id=about
http://www.cupboardsandcabinets.co.za/index.php?id=contact


500 Internal Server Error - johnflower - 2011-02-26

Hi n00dles101,

Thanks for the reply.

OK, I turned off mod_rewrite, and it works. But is there a way to make it work with SEF URLs? I much prefer it to be pretty.

Thanks again for the reply :-) Really appreciated.


500 Internal Server Error - ccagle8 - 2011-02-26

Use this in your htaccess file:

RewriteBase /

not

RewriteBase /cupboardsandcabinets.co.za/


500 Internal Server Error - johnflower - 2011-02-26

Mr. Cagle Sir,

You are one big fat legend! Thanks! Works uh treayut!


500 Internal Server Error - johnflower - 2011-02-26

Is there any way to make the non-www redirect to the www version, BTW?


500 Internal Server Error - ccagle8 - 2011-02-26

Not a problem, glad to help. This should get you well on your way http://get-simple.info/forum/topic/286/force-or-nowww-code-for-htaccess/


500 Internal Server Error - johnflower - 2011-02-26

Thanks! Worked! This is a fantastic little system. Pity it doesn't have a blog, else I'd use it for my own sites too.


500 Internal Server Error - Joshas - 2011-02-26

There's a plugin for blog/news: http://get-simple.info/extend/plugin/dominion-blognews/45/


500 Internal Server Error - johnflower - 2011-02-26

Sweet. Will check it out. Thanks!


500 Internal Server Error - sheikhjee - 2011-02-27

Thanks for information. I am newbie in this forum and glad to join
Safety Training Odessa Texas