Web Hosting Forum | Lunarpages
News: October 6, 2008 - Submit Your Site for the October 2008 Site of the Month!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
October 11, 2008, 02:28:51 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Fantastico only installs to domain.com but SSL cert is for www.domain.com  (Read 478 times)
fallon
Space Explorer
***
Offline Offline

Posts: 7


« on: May 13, 2008, 06:48:33 AM »

I've got an addon domain on my account up and running with a SSL cert for www.domain.com installed and working fine. By default www.domain.com and domain.com work, HTTPS://www.domain.com works fine, HTTPS://domain.com gives the expected name not matching cert errors, but works.

Fantastico only wants to install scripts (Wordpress & Zen Cart in this case) to domain.com and not to www.domain.com. I've fooled around with some .htaccess redirects using my limited knowlege, but they keep breaking the installed apps. I'd like to stick with the convenient Fantastico installs for the convenience of patching and what not, but may have to resort to a manual install (which I'm perfectly capable of).

I'd just create a subdomain of www. and go from there, but the cPannel won't let me create it.

Anybody dealt with similar problems, for have any convenient ways to get Fantastico to install things to the www. subdomain nicely or good .htaccess scripts to deal with it's inability to do so?  Confused Or am I just stuck with a manual install and manual patching?
Logged
Mitch
Lunarpages Traffic Cop
Senior Moderator
Berserker Poster
*****
Offline Offline

Posts: 7949



WWW
« Reply #1 on: May 13, 2008, 06:52:06 AM »

Try putting this in at the top of your .htaccess file:

Code:
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]
Logged

fallon
Space Explorer
***
Offline Offline

Posts: 7


« Reply #2 on: May 13, 2008, 07:11:32 AM »

It works for the root of www.skybyes.com, but when I try and go to the Wordpress site Fantastico installs (skybyes.com/blog) I end up with the following error (in Firefox)

Quote
Redirect Loop
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
The browser has stopped trying to retrieve the requested item. The site is redirecting the request in a way that will never complete.

    * Have you disabled or blocked cookies required by this site?
    * NOTE: If accepting the site's cookies does not resolve the problem, it is likely a server configuration issue and not your computer.

Or if I try and go to the blog via HTTPS, it throws the cert doesn't match the domain error right away.

And https://www.skybyes.com/zen_cart/ only displays half the content for that Fantastico Zen Cart install.
Logged
fallon
Space Explorer
***
Offline Offline

Posts: 7


« Reply #3 on: May 13, 2008, 10:21:59 AM »

Ok, chalk this on down to me trying to over-think the problem... Install to skybyes.com, then go in and reconfigure the base URL. Easy to do for Wordpress, requires some permissions modding and minor searching on the zen cart to find out what config files to edit to get Zen Cart working.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM