Current location: Hot Scripts Forums » Programming Languages » Other Languages » .htaccess issue


.htaccess issue

Reply
  #1 (permalink)  
Old 07-20-10, 08:05 AM
Ricardo Coutinho Ricardo Coutinho is offline
New Member
 
Join Date: Jul 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation .htaccess issue

Hello,

On the root of our website, DESK[l]ANCE - makes IT simple, we have .htaccess rules setup this way:

Code:
Options +FollowSymLinks All -Indexes
#mod_rewrite in use
RewriteEngine On
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
RewriteRule ^(.*)$ index.php [F,L]
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
However, and due to something that goes beyond my understanding, the folder /relation on which we have SugarCRM installed on the same domain/cPanel account returns a "500 Internal Server Error" page and not the index.php call which should open main login page to SugarCRM.

I believe that the .htaccess on the root of the account overlaps folder /relation, so, I would like to ask if anyone knows how to setup/change the .htaccess in a way that it may not cover that specific folder, which on the other hand, might allow us to access the main page of SugarCRM.

Please not that SugarCRM requires some folder and files permissions, which we already did and setup correctly.

Thanks in advance for any feedback on this.
Reply With Quote
  #2 (permalink)  
Old 09-13-10, 06:41 PM
viviotech's Avatar
viviotech viviotech is offline
Newbie Coder
 
Join Date: Jul 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Ricardo Coutinho View Post
returns a "500 Internal Server Error" page
Hi Ricardo,

Have you checked your Apache error logs and seen what that Internal Server Error actually is? I would start there before assuming it has something to do with the .htaccess file.

HTH!
Reply With Quote
Reply

Bookmarks

Tags
htaccess, sugarcrm


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
.htaccess URL Masking (I think I am making it overly complicated) nickle Web Servers 13 07-14-08 02:42 AM
[SOLVED] mix 2 .htaccess file!!? mowaffaq Web Servers 4 01-28-08 09:11 AM
.htaccess login/password issue DenKain Web Servers 3 10-19-06 12:58 AM
.htaccess problem with new host SugarChick Web Servers 0 02-07-06 03:56 PM
html/php form for .htaccess validation Boat_2005 PHP 1 03-29-05 03:29 PM


All times are GMT -5. The time now is 03:50 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.