Moving to main directory

Feed 9 posts, 6 voices

Avatar
1 posts

Hello:

I simply FTPd the “frog_095” folder into our root directory, putting the install file at main.com/frog_095/frog/install

Everything installed fine but now we have to go to main.com/frog_095 for it to show up. Is there a quick remedy to making it show frog simply by main.com (root directory)

Thanks
Mike

 
Avatar
20 posts

Define URL_PUBLIC from config.php and also change ReWriteBase from .htaccess if needed.

 
Avatar
1 posts

Thanks—that did the trick. Very nice how convenient frog made it to do that.

Mike

 
Avatar
8 posts

What needs to be changed to what, specifically?

I have the same issue, but I’m not clear as to what URL_PUBLIC should be set to, or .htaccess.

Is URL_PUBLIC set to where I want it to be, or where the installation files actually are?

Same goes for .htacess.

Any guidance?

 
Avatar
1493 posts

Is URL_PUBLIC set to where I want it to be…

This should be the URL of your homepage, for example #1, http://www.myfrogsite.com/ , or #2, http://www.mysite.com/frog/ — so … whatever the URL is of your homepage!

Same goes for .htacess.

This is where the files are located. So if Frog is running in the root of your webserver (or thinks it is). In the case of #1 above, it would just be / but in the case of #2 it would be /frog/

Hope that helps!

 
Avatar
8 posts

That doesn’t appear to have worked.

Just to be clear, my installation (with frog/ admin/ and public/ folders) is located at example.com/cms and I want the install to appear as though it’s coming from example.com.

I changed my .htaccess file to /cms/ and I changed my config.php file to http://example.com, but no dice. (MOD_REWRITE is on)

Where did I go wrong?

Also, doesn’t the index.php file in my /cms folder need to get moved somewhere?

 
Avatar
8 posts

I ended up just moving my Frog install to my root directory, but I’d still like to know how this can be accomplished with Frog in a sub-directory. Having the installation information in a sub-directory is more secure, after all.

Thanks for your help!

 
Avatar
31 posts

David replied already to your question:

post

 
Avatar
8 posts

Yes, he did reply, but his explanation didn’t work, which is why I still want to figure out an answer.

 
Avatar
541 posts

did you change de rewriteBase to / ? (in your .htaccess)