own domain issue

Permalink 1 user found helpful
I set up a web using a new package of C5, everything was runnig fine with the domain of the hosting.

I edited the config/site.php:
define('DB_DATABASE', 'hosting_database'); define('BASE_URL', 'http://www.domain.com');
To get the page under minehttp://www.domain.com

The main page is working under this domain.com, the admin section as well, but it's not working with any of the subpages.

"Internal Server Error
(...) 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request."

What I have to do to get it right?

 
mkly replied on at Permalink Reply
mkly
Have you cleared you cache?
Dashboard->System Settings->Speed Settings "Clear Cache"
lux replied on at Permalink Reply
I just did it and the sub-pages still don't work.
lux replied on at Permalink Reply
It's very strange. Has anyone seen anything like this before?
Website (homepage) works fine, dashboard works fine, all the extras works fine on the main page, but sub-pages still have an error.
mkly replied on at Permalink Reply
mkly
another possibility. Are pretty URLS enabled? Can you get to any of the subpages via
http://www.example.com/index.php/page-name...
lux replied on at Permalink Reply
While I'm log in, yes it shows me the sub-page i.e.:
http://www.domain.com/blog doesn't work
www.www.domain.com/index.php/blog... works (if log in)
www.www.domain.com/index.php/blog... shows me the login website (when logged out)
mkly replied on at Permalink Best Answer Reply
mkly
This makes me feel like there is an issue with "Pretty URLS"
If you go to
Dashboard->Sitewide Settings->Linking "Enable Pretty URLS"

Disable that and then re-enable it. If that doesn't work we'll take a look at your .htaccess file, but hopefully just turning it on and off a couple times should set up the .htaccess for you.
lux replied on at Permalink Reply
mkly - you're the man!
Thank you a lot!

Sitting late and making websites causes silly problems, especially for beginners. I'm learing c5. Thx again mkly!
mkly replied on at Permalink Reply
mkly
The silly problems never end beginner or otherwise. haha.

Glad you got it sorted,
Mike