1 (edited by barichello 2015-03-18 11:12:29)

Topic: (solved) Getting "500 internal server error" on some pages

Hello, I am new with Monstra and not really a experienced webmaster.

My Monstra is hosted at www.mais.mat.br/coffee but I want to use www.barichello.coffee as it address.
When you access the later, you can see the first page, but the links on it are not working at all (see, for instance, the blog link). On the other hand, if you try to access some uploaded file, it works (for instance, an image that I upload to the default folder is available at www.barichello.coffee/public/uploads/fumaca.png).

Does anybody can see the problem?

When I was setting it up (using only the original address www.mais.mat.br/coffee) everything was working fine, but the problems began when I started to use the www.barichello.coffee address (I just changed the "domain name" in the Settings). That is why I think I did something wrong or incomplete.

After searching in this forum, I found that maybe the htaccess needs some change, but I dont know how to use it.

Thanks in advance

barichello's Website

2 2015-03-18 05:09:56

Re: (solved) Getting "500 internal server error" on some pages

I think cause at first it was on some kinda sub domain website/something and now u change it to normal domain without sub, so u better download original htaccess  from monstra and replace urs change to this

#
# Monstra CMS :: php & apache settings 
#
# Set default charset utf-8
AddDefaultCharset UTF-8
# Don't show directory listings for URLs which map to a directory.
Options -Indexes
# PHP 5, Apache 1 and 2.

    php_flag magic_quotes_gpc                 off
    php_flag magic_quotes_sybase              off
    php_flag register_globals                 off

# Setting rewrite rules.

    RewriteEngine on
    # Update code bellow for SEO improvements 
    # RewriteCond %{HTTP_HOST} ^www.example.org [NC]
     # RewriteRule ^(.*)$ http://example.org/$1 [R=301,L]
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php [QSA,L]
    # Update code bellow for SEO improvements 
    # Redirect 301 /home http://example.org/
(с) Roman Art
So far So good wink

RomanArt's Website

3 2015-03-18 05:16:01

Re: (solved) Getting "500 internal server error" on some pages

Hi barichello,

follow the instructions below:

barichello.coffee/storage/database/options.table.xml
edit the file somewhere you will see the old url

http://www.mais.mat.br/coffee


changed with the new url

http://www.barichello.coffee/

.htaccess

RewriteBase /coffee/

changed

RewriteBase /
http://e-getcode.eu/

egetcode's Website

Re: (solved) Getting "500 internal server error" on some pages

The xml was already OK. I just had to change the .htaccess and now everuthing is working smile

Thank you!

barichello's Website