Moving Server, Any Advice?
-
destraynor
- Regular
- Posts: 15
- Joined: Mon May 22, 2006 6:07 pm
Moving Server, Any Advice?
Hi all,
I've been running s9y for over a year now, and I've finally gone and gotten my own domain. So I will be moving my serendipity install from
http://www.minds.nuim.ie/~dez/blog to http://www.destraynor.com
Whats the best way to move? Just zip up the whole directory and edit the config, or should I install a new s9y, and export the database?
Has anyone done this before, and if so what went right/wrong?
Many thanks
Des Traynor
I've been running s9y for over a year now, and I've finally gone and gotten my own domain. So I will be moving my serendipity install from
http://www.minds.nuim.ie/~dez/blog to http://www.destraynor.com
Whats the best way to move? Just zip up the whole directory and edit the config, or should I install a new s9y, and export the database?
Has anyone done this before, and if so what went right/wrong?
Many thanks
Des Traynor
-
destraynor
- Regular
- Posts: 15
- Joined: Mon May 22, 2006 6:07 pm
-
destraynor
- Regular
- Posts: 15
- Joined: Mon May 22, 2006 6:07 pm
All done, now active at
http://www.destraynor.com/serendipity/
Haven't publicised it much yet cause I'm still checking things.
The guide was excellent. The only difficulty I had was that I couldn't copy over my serendipity_config_local.inc.php file, because I didn't own it. The sys-admin made a copy for me though. Otherwise, all is good in da hood.
Cheers,
Des
http://www.destraynor.com/serendipity/
Haven't publicised it much yet cause I'm still checking things.
The guide was excellent. The only difficulty I had was that I couldn't copy over my serendipity_config_local.inc.php file, because I didn't own it. The sys-admin made a copy for me though. Otherwise, all is good in da hood.
Cheers,
Des
-
destraynor
- Regular
- Posts: 15
- Joined: Mon May 22, 2006 6:07 pm
Okay everything worked grand except the comment form.
For some reason, comments are working, but after you comment it's redirecting the user back to here:
Instead of here
So basically it's stick an extra destraynor.com in there.
My config is ...
So I am guessing one of those 3 is wrong. Any ideas?
(Everything else seems to be working, by the way)
For some reason, comments are working, but after you comment it's redirecting the user back to here:
Code: Select all
http://destraynor.com/destraynor.com/serendipity/index.php?url=archives/26-How-to-get-music-off-your-iPod.html&serendipity[csuccess]=moderate#feedbackCode: Select all
http://destraynor.com/serendipity/index.php?url=archives/26-How-to-get-music-off-your-iPod.html&serendipity[csuccess]=moderate#feedbackMy config is ...
Code: Select all
serendipityPath /home/dez/public_html/destraynor.com/serendipity/Code: Select all
serendipityHTTPPath /serendipity/Code: Select all
baseURL http://www.destraynor.com/serendipity/(Everything else seems to be working, by the way)
-
destraynor
- Regular
- Posts: 15
- Joined: Mon May 22, 2006 6:07 pm
Code: Select all
#RewriteEngine on
# BEGIN s9y
DirectoryIndex /serendipity/index.php
php_value session.use_trans_sid 0
php_value register_globals off
<Files *.tpl>
deny from all
</Files>
<Files *.sql>
deny from all
</Files>
<Files *.inc.php>
deny from all
</Files>
<Files *.db>
deny from all
</Files>
# END s9y-
destraynor
- Regular
- Posts: 15
- Joined: Mon May 22, 2006 6:07 pm
I think it's this line in index.php thats giving me 2 domain names in the output...
$sc_url = $_SERVER['REQUEST_URI'] . (strstr($_SERVER['REQUEST_URI'], '?') ? '&' : '?') . 'serendipity[csuccess]=' . (isset($serendipity['csuccess']) ? $serendipity['csuccess'] : 'true');
Is it possible that the name of the directory (destraynor.com) is confusing it?
$sc_url = $_SERVER['REQUEST_URI'] . (strstr($_SERVER['REQUEST_URI'], '?') ? '&' : '?') . 'serendipity[csuccess]=' . (isset($serendipity['csuccess']) ? $serendipity['csuccess'] : 'true');
Is it possible that the name of the directory (destraynor.com) is confusing it?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Hm, the REQUEST_URI comes straight frmo the webserver. how does that variable look like before modification, have you tried to echo it somehow?
Regards,
Garvin
Hm, the REQUEST_URI comes straight frmo the webserver. how does that variable look like before modification, have you tried to echo it somehow?
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
destraynor
- Regular
- Posts: 15
- Joined: Mon May 22, 2006 6:07 pm
-
destraynor
- Regular
- Posts: 15
- Joined: Mon May 22, 2006 6:07 pm
-
destraynor
- Regular
- Posts: 15
- Joined: Mon May 22, 2006 6:07 pm
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
The comment count was a bug of earlier s9y versions that could sometime happen when deleting unmoderated postings. You will need to fix that entry count using phpMyAdmin and editing the 'comments' column for that entry in the table serendipity_entries.
HTH,
Garvin
The comment count was a bug of earlier s9y versions that could sometime happen when deleting unmoderated postings. You will need to fix that entry count using phpMyAdmin and editing the 'comments' column for that entry in the table serendipity_entries.
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
destraynor
- Regular
- Posts: 15
- Joined: Mon May 22, 2006 6:07 pm
Once again thanks.
Another, slightly weird question.
Why is http://destraynor.com/serendipity/archives/ now pointing to an empty folder. I realise that archives is some sort of dummy directory, but I can't see how it is supposed to display anything.
(obviously this is something else that worked on the old server but not on teh new one)
Another, slightly weird question.
Why is http://destraynor.com/serendipity/archives/ now pointing to an empty folder. I realise that archives is some sort of dummy directory, but I can't see how it is supposed to display anything.
(obviously this is something else that worked on the old server but not on teh new one)