need help with .htaccess files

Permalink
hi all, i am trying to solve an issue causing 500 internal server errors and most data related options to not respond properly. i've cleared the cache several times, and just learned how to clear the cache on my browser (good discovery when building and editing a lot :) ). I was having similar problems on my main site (the domain index) but solved a similar issue recently by copy/renaming the .htaccess file and then deleting the old one. My Concrete5 site is not the main "index" site for the domain (yet) so does anyone think my C5 location and/or .htaccess files might be the issue? i'd really like to continue using C5 but i don't know where to start with this? php? java or changing something in the htaccess file? needy for a check list if so. any thoughts for suggestions would be greatly appreciated.

w2f
 
exchangecore replied on at Permalink Reply
exchangecore
Concrete5 does not use Java.

It does use PHP, but unless you've done something to modify the files of your install it's unlikely that those are resulting in your 500 errors. Could you provide us with some more information? Perhaps your site url that you are expecting to be able to access concrete5 on, and the contents of your current .htaccess file? If your Concrete5 install is in a sub-directory of your main site, please include the .htaccess file from the main site, as well as the one in your Concrete5 install directory if there are multiple.
zuna replied on at Permalink Reply
http://www.concrete5.org/documentation/how-tos/developers/hide-the-subdirectory-url/
w2f replied on at Permalink Reply
w2f
thanks so much! the url to the main site is:
http://xxxxxxxx

the C5 site is:http://xxxxxxxxxx

Both are in Folders Under public_html. In the Public_html folder i copied the .htaccess file and deleted it. it still shows up on the directory but there is nothing in it. In the renamed copy it shows this:

RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$http://www.xxxxxxxxx/$1 [R,L]

The Main site is on SOHO and it's .htaccess file shows this:
Options -Indexes
(soho was also having data repsonding issues for a LONG time until i copied and renamed the .htaccess in the public_html folder- now it is working good again).

My C5 .htaccess file looks like this:
# -- concrete5 urls start --
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /xxxxxxx/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
</IfModule>
# -- concrete5 urls end --

.........................................
i am totally lost when it comes to understanding things on this level so i Really appreciate the guidance!