Problem loading part of website

ancom

New Member
Hello, guys. I have the strangest problem with my website:
This happens only in Mozilla and Chrome, IE somehow deals with it:

I have a website, and blog, like this: www.mywebsite/blog

Blog works fine.

when I type www.mywebsite/blog - the blog opens normally (it is also accessed normally via any links)

But, when I type mywebsite/blog (without www), I get "500 internal server error" - and browser makes strange link like this:http://www.mywebsite/cgi-bin/php5.fcgi/blog/index.php - shouldn't browser handle typing without www without any problem?

Does anyone know what is the problem ?
 

ancom

New Member
I don't have permissions to see error log (shared hosting) - when I access etc folder, I cannot see logs, even with "show hidden files" on.
I forgot to mention that typing website link without www displays normally. It happens only when you type mywebsite/blog
 

Crook-sam

Banned
You can send an email to a potential web hosting service and judge their customer service, firsthand.
customers' safety should be the main goal for every web hosting provider. ;)
 

ancom

New Member
I did some research and found that this code is making problem:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mywebsite.com [NC]
RewriteRule ^(.*)$ http://www.mywebsite.com/$1 [L,R=301]

When I comment these lines, everything works. But then I don't have my non www to www redirection for main domain:( Any clues?
 
Top