Page 1 of 1

Newbie install in sub directory question

Posted: Wed Nov 11, 2009 11:39 am
by Gamonon
I have played around with cmsms in a test sub directory on my remote. Great program!

Now I have installed a clean version again in a sub directory as I need to keep my root clean.
My website needs to be in the root and I can not find the way to configure my root.
I read here that I only need to configure the config.php but I have tried several things without succes.

Can someone point me to the solution here?

Thanks!

Re: Newbie install in sub directory question

Posted: Wed Nov 11, 2009 12:31 pm
by jmcgin51
I'm not sure I follow.  You reinstalled in a subdirectory, but you want your website in the root?  If you want the site in the root, then install in the root.

the instructions are correct - you only need to change your config.php file (root_path, root_url, uploads_url, etc.) 

Re: Newbie install in sub directory question

Posted: Wed Nov 11, 2009 1:05 pm
by Gamonon
I don't want cmsms installed in the root, I need to keep the root clean.

So to make my questiom short ;
how do I configure cmsms in a sub directory (www.mysite.com/cmsms/)
but keep my website in the root (www.mysite.com/index.php)

And if that is done in the config.php, what configuration should I change into what?

//added// I found that it would be possible to reroute with a .htaccess to the index.php in the
sub directory but I think that will affect searchengine resuts in a negative way?

Thanks

Re: Newbie install in sub directory question

Posted: Wed Nov 11, 2009 1:50 pm
by Ziggywigged
I could be wrong, but I don't think that's possible.

Re: Newbie install in sub directory question

Posted: Wed Nov 11, 2009 2:53 pm
by jmcgin51
why is it so important to keep the web root clean?  the web root is made to hold a website - that's what it's for  :o

Re: Newbie install in sub directory question

Posted: Wed Nov 11, 2009 3:05 pm
by replytomk3
Why impossible? Point your domain to /subfolder, or set up an htaccess redirect rule.

Re: Newbie install in sub directory question

Posted: Wed Nov 11, 2009 3:22 pm
by Gamonon
Ok, I will explain why it is important for me to keep my root clean.

For marketing campaign purposes I have around 200 sub directories in my root to support
subdomain addresses. They are frequently deleted by FTP access.

So ... if I mix the folders and all those php, icon, css files of cmsms (that realy do not belong
in a root directory) with my own folders, the changes are great that I accedently delete cmsms
folders or files.

The .htaccess solution is, on second thought, a bad practice solution.

I've hit Google hard and came with no solution for this sub folder install. I don't understand
why it is -system wise- not possible to make cmsms wordk from another location than the root.
When it does, it would also be possible to support and maintain multiple sites.

I think I'll have to return to my quest: 'in search of a great os cms'  :-\

Thanks

Re: Newbie install in sub directory question

Posted: Wed Nov 11, 2009 3:23 pm
by replytomk3
Point your domain name to /cmsms - what is the problem with that??????

Re: Newbie install in sub directory question

Posted: Wed Nov 11, 2009 3:31 pm
by Gamonon
replytomk3 wrote: Point your domain name to /cmsms - what is the problem with that??????
::) yeah right, create a domain on a subdomain level.

Re: Newbie install in sub directory question

Posted: Wed Nov 11, 2009 3:48 pm
by jmcgin51
Gamonon wrote: I've hit Google hard and came with no solution for this sub folder install. I don't understand
why it is -system wise- not possible to make cmsms wordk from another location than the root.
It is certainly possible to make CMSMS work from a subdirectory, (yourdomain.com/cmsms).  But you want yourdomain.com to use CMSMS, without having CMSMS installed in the root.  This would be like me wanting to be able to go to my Desktop to access a file, without actually having that file on my Desktop.  It probably can be done, but it will require redirecting your domain to the subdirectory.  Not a CMSMS issue at all.
Gamonon wrote: When it does, it would also be possible to support and maintain multiple sites.
As has been discussed many times before, multi-site support is not in the official scope of the CMSMS project, and is not on the roadmap for any foreseeable future releases.  Therefore you are unlikely to see any core functionality implemented specifically to facilitate multi-site.

Re: Newbie install in sub directory question

Posted: Wed Nov 11, 2009 3:49 pm
by replytomk3
jmcgin51, domain name can be pointed to any folder or subfolder on a server, not just the root.

Re: Newbie install in sub directory question

Posted: Wed Nov 11, 2009 3:56 pm
by Gamonon
jmcgin51 wrote:
Gamonon wrote: I've hit Google hard and came with no solution for this sub folder install. I don't understand
why it is -system wise- not possible to make cmsms wordk from another location than the root.
It is certainly possible to make CMSMS work from a subdirectory, (yourdomain.com/cmsms).  But you want yourdomain.com to use CMSMS, without having CMSMS installed in the root.  This would be like me wanting to be able to go to my Desktop to access a file, without actually having that file on my Desktop.  It probably can be done, but it will require redirecting your domain to the subdirectory.  Not a CMSMS issue at all.
I would love to see your desktop with thousands of links to all the files that are on your sytem  ;D
You hit the nail, I need a shortcut on my desktop to a program, without the need to place all the
cmsms files themselves on my desktop. Well put! jmcgin51
But a shortcut as redirecting with .htaccess is something that not only looks unprofessional but is also not
apreciated by Google.

Re: Newbie install in sub directory question

Posted: Wed Nov 11, 2009 4:46 pm
by jmcgin51
replytomk3 wrote: jmcgin51, domain name can be pointed to any folder or subfolder on a server, not just the root.
yes, I realize that.  But that has nothing to do with CMSMS.  CMSMS doesn't "support it" or "not support it".  It's unrelated to CMSMS.

Re: Newbie install in sub directory question

Posted: Wed Nov 11, 2009 4:48 pm
by jmcgin51
Gamonon wrote: But a shortcut as redirecting with .htaccess is something that not only looks unprofessional but is also not
apreciated by Google.
Sorry, I didn't mean an htaccess redirect.  I meant domain pointing, as suggested by replytomk3.  Some hosts do not allow this, BTW.

Re: Newbie install in sub directory question

Posted: Wed Nov 11, 2009 6:15 pm
by Gamonon
jmcgin51 wrote:
Gamonon wrote: But a shortcut as redirecting with .htaccess is something that not only looks unprofessional but is also not
apreciated by Google.
Sorry, I didn't mean an htaccess redirect.  I meant domain pointing, as suggested by replytomk3.  Some hosts do not allow this, BTW.

Sorry, I didn't mean an htaccess redirect.  I meant domain pointing, as suggested by replytomk3.  Some hosts do not allow this, BTW.
[/quote]

Ok, see what you mean but that solution doesn't deserve first price either.

As I like cmsms a lot, I will try to move as much files and folders into a combined folder. That way the
root stays as clean as possible. I guess I'll have to live with it  ;D

Thanks all 4ur comments

John