Newbie install in sub directory question

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
Gamonon

Newbie install in sub directory question

Post 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!
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Newbie install in sub directory question

Post 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.) 
Gamonon

Re: Newbie install in sub directory question

Post 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
Last edited by Gamonon on Wed Nov 11, 2009 2:10 pm, edited 1 time in total.
Ziggywigged
Power Poster
Power Poster
Posts: 424
Joined: Sat Feb 02, 2008 12:42 am

Re: Newbie install in sub directory question

Post by Ziggywigged »

I could be wrong, but I don't think that's possible.
Take a penny, leave a penny.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Newbie install in sub directory question

Post 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
replytomk3

Re: Newbie install in sub directory question

Post by replytomk3 »

Why impossible? Point your domain to /subfolder, or set up an htaccess redirect rule.
Gamonon

Re: Newbie install in sub directory question

Post 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
Last edited by Gamonon on Wed Nov 11, 2009 3:29 pm, edited 1 time in total.
replytomk3

Re: Newbie install in sub directory question

Post by replytomk3 »

Point your domain name to /cmsms - what is the problem with that??????
Gamonon

Re: Newbie install in sub directory question

Post 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.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Newbie install in sub directory question

Post 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.
replytomk3

Re: Newbie install in sub directory question

Post by replytomk3 »

jmcgin51, domain name can be pointed to any folder or subfolder on a server, not just the root.
Gamonon

Re: Newbie install in sub directory question

Post 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.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Newbie install in sub directory question

Post 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.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Newbie install in sub directory question

Post 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.
Gamonon

Re: Newbie install in sub directory question

Post 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
Locked

Return to “[locked] Installation, Setup and Upgrade”