Forums / Install & configuration / moving site up one folder

moving site up one folder

Author Message

Kevin Myles

Monday 19 July 2004 10:43:32 am

I'd like to move my site that i've created...
now it is in a folder mysite.org/cms and I want to move it to mysite.org

If I just copy everything to the base folder, will it still work or will there be issues? Should I just run a php script to redirect mysite.org/index.php to mysite.org/cms/index.php ?

Thanks for the advice!

Kevin.

kracker (the)

Monday 19 July 2004 12:04:51 pm

Hey Kevin,

I would recommend that you tar.gz / zip a backup of your work first. Just in Case. I've had problems with moving configured eZ publish installations.

Till yesterday I've had mix results moving eZ publish installations. It's is possible but you have to be careful.

What I've found is that eZ publish 3 is very sensitive to file & directory permissions. Specifically when the files in design/ are not set to 757. I could be wrong but it seems like the modfix.sh script in bin/modfix.sh does not check or alter permissions for the design/ folder.

Var permissions in the documentation say to match : chmod og+rwx -R var
Settings Permissions are suggested in the documentation comments to match: chmod 777 -R settings/siteaccess

I do know that all my problems have happened when I used the copy command which copies an existing directory / file and creates a new duplicate copy (with new & often incorrect file & directory permissions).

To avoid this I would move the directory instead. move commands don't change the file / directory permissions. I move the directory from a the existing name to the name of the folder i want it to be when after the move like this example. I would also backup the directory before I installed it just in case.

I have found that if you tar.gz an eZ publish installation you can drop the archive in the parent folder where you want the code to live and simple un pack it without having to worry about file permissions becoming a problem (most of the time, always exceptions to any rule).

mv cms public_html;
tar -zcf public_html_7_19_2004_v2-0-1.tar.gz public_html;


You may want to review some of the documenation file permissions:
http://ez.no/ez_publish/documentation/configuration/configuration/tips_tricks/manual_modfix
http://ez.no/ez_publish/documentation/installation/manual_installation/manual_configuration_of_ez_publish
http://ez.no/ez_publish/documentation/configuration/troubleshooting/permissions_of_cache_files
http://ez.no/ez_publish/documentation/configuration/configuration/tips_tricks/file_permissions

http://ez.no/ez_publish/documentation/building_an_ez_publish_site/the_news_page/overview_of_the_latest_news/finally_fixed_an_issue_with_templates
http://ez.no/ez_publish/documentation/configuration/backup_restore/move_to_new_provider

(at the very bottom are some comments about permissions settings:
http://ez.no/ez_publish/documentation/building_an_ez_publish_site/the_welcome_page/creating_and_using_a_custom_template

http://ez.no/content/advancedsearch?SearchText=permissions&SearchDate=-1&SearchPageLimit=6&SubTreeArray%5B%5D=488&SearchButton=Search

I posted a follow up comment to you at the end of the thread:
http://ez.no/community/forum/setup_design/which_template
http://ez.no/community/forum/setup_design/which_template/dead_serious_about_ez_publish_development

I don't know if you have seen the above post, I just wanted to ask if you would care to comment?
You didn't ask but I wonder if you are also interested in removing the index.php from the url of your eZ publish links?

Cheers,
kracker

Modest Mouse - Good News For People Who Love Bad News - A Life Of Artic Sounds

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Kevin Myles

Monday 19 July 2004 2:02:47 pm

Kracker, I sent you an email to your address, perhaps you didn't get it? let me know if you still haven't received it.
Thanks for all of your advice, i'll definitely back up. I'll let you know how it works out!
Kevin.

kracker (the)

Monday 19 July 2004 6:04:52 pm

Kevin,

I'm sorry the ezpub.co.uk site & email went down 7/19/2004 @round 6:30 AM CST due to unknown server os corruption with our old web hosting firm. After a solid day of downtime we are taking proactive measures to see that it doesn't happen again.

In short we are moving the eZ pub. We will be hosting eZ pub with FireBright ( http://firebright.com/ ) asap. We don't have an estimate (yet) on the availability of the site or the transition to firebright (yet) but it shouldn't be much longer than dns propagation.

So . . . long story, I never got your email to the ezpub.co.uk address, I think it's lost forever on a dead disk drive. I would really appreciate it if you could resend your email to brookinsconsulting [at] yahoo.com

Cheers,
\\kracker
Limp Bizkit - Intro / Hot Dog

I just gotta send a Big Thank You to FireBright for Sponsoring the Site!
If you don't host with FireBright.com your struggling in vain, get one today!

Member since: 2001.07.13 || http://ezpedia.se7enx.com/