Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 04:46:25 PM

Pages: [1]   Go Down
  Print  
Author Topic: .htaccess conflict with sugarcrm  (Read 1856 times)
rc-helicop.us
Newbie
*
Offline Offline

Posts: 3


« on: January 06, 2010, 04:31:44 AM »

with the script of following: Hypno Hypno

RewriteEngine On Options +FollowSymlinks
RewriteCond %{HTTP_HOST} rc-helicop.us$
RewriteCond %{REQUEST_URI} !store/
RewriteRule ^(.*)$ store/$1

I am unable to to access sugarcrm which install at public_html/sugarcrm,How can i rewrite this .htaccess script to access both zencart folder and sugarcrm?

Thanks
Logged
darkwolf
Guest
« Reply #1 on: January 06, 2010, 04:50:41 AM »

If both the zencart and sugarcrm are at the same "level" inside the public_html, you would not be able to using that code, as the code is automatically making browsers go to the store folder.

You have two options:

Option 1:  Install sugarcrm inside a new folder inside the store folder.

option 2:  Remove the code in htaccess, setup both scripts in their own folders, then create a nice index.html page and place it in your public_html folder and since the new html page will be accessed by anyone going to    rc-helicop.us , you can have links to both the store and sugarcrm on the page.

Logged
rc-helicop.us
Newbie
*
Offline Offline

Posts: 3


« Reply #2 on: January 06, 2010, 07:38:07 AM »

i 'd rather pickup this first solution:

i use lunarpage LPCP webApps Pool to install SugarCRM, during the stage of key in Destination directory, it didn't allow me to enter something like /home/***/public_html//store/sugarcrm
Logged
darkwolf
Guest
« Reply #3 on: January 06, 2010, 12:42:59 PM »

As far as I am aware, if using webapps, you may need to go with option 2, however I would recommend contacting support at support.lunarpages.com (web) or support@lunarpages.com (email) and we can take a double check and verify if option 2 is the only option in this case.

When contacting support, include the url for this forum.
Logged
rc-helicop.us
Newbie
*
Offline Offline

Posts: 3


« Reply #4 on: January 06, 2010, 10:10:17 PM »

i tried options 1:


I installed sugarcrm under /store/sugarcrm , but i am unable to figure out the host name, i tried to use the IP showed in LPCP MySQL  manager/ entered the whole domain, but it didn't workout
Logged
darkwolf
Guest
« Reply #5 on: January 06, 2010, 11:46:58 PM »

Are you referring to the hostname for the database?

If you are on LPCP you would use:

lpsql01.lunariffic.com

You would also need to insure that you have "attached" your database username/password to the database.

Database username would be : LPCPusername_DATABASEusername
Database name would be :LPCPusername_DATABASEname
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: