Page 1 of 1

CMSMS-Directory kopieren und weiterverwenden?

Posted: Tue Jan 09, 2007 2:51 pm
by hackerzzzz
Hallo,

ist es möglich, das gesamte, installierte CMS zu kopieren und an einer anderen Stelle desselben Webservers wieder einzufügen?

Das Ganze sollte natürlich anschliessend noch funktionieren...

geht das?

grüsse

Hackerzzzz

Re: CMSMS-Directory kopieren und weiterverwenden?

Posted: Tue Jan 09, 2007 3:22 pm
by cyberman
Sollte grundsätzlich wie ein Umzug auf einen neuen Server funktionieren

http://wiki.cmsmadesimple.org/index.php ... _Server/de

Allerdings könntest du die Besucher auch via .htaccess Datei auf das Unterverzeichnis weiterleiten (sofern das dein Provider erlaubt):

Code: Select all

RewriteEngine on
RewriteRule ^$ /cms/ [R]
Damit würde jeder Besucher automatisch von http://www.deine-domain.ch auf http://www.deine-domain.ch/cms umgeleitet.

Re: CMSMS-Directory kopieren und weiterverwenden?

Posted: Tue Jan 09, 2007 3:33 pm
by hackerzzzz
.htaccess wird erlaubt,

ich habe das installationsverzeichnis geändert, dann erhalte ich folgenden "fehler":

$config['image_transform_lib_path'] = '/usr/bin/ImageMagick/'; #Default path and URL for uploaded images in the image manager $config['image_uploads_path'] = '/home/jugend-buttisholz/public_html/cms/uploads/images'; $config['image_uploads_url'] = 'http://www.jugend-buttisholz.ch/cms/uploads/images'; #------------------------ #Locale/Encoding Settings #------------------------ #Locale to use for various default date handling functions, etc. Leaving #this blank will use the server's default. This might not be good if the #site is hosted in a different country than it's intended audience. $config['locale'] = ''; #In almost all cases, default_encoding should be empty (which defaults to utf-8) #and admin_encoding should be utf-8. If you'd like this to be different, change #both. Keep in mind, however, that the admin interface translations are all in #utf-8, and will be converted on the fly to match the admin_encoding. This #could seriously slow down the admin interfaces for users. $config['default_encoding'] = ''; $config['admin_encoding'] = 'utf-8'; #--------------------------------------------- #Use the old stylesheet logic? It's much slower, but it works with older #versions of CMSMS. You'll also need this set to true if there is a module #that uses a stylesheet callback. Leave it as false instead you really #need it. $config['old_stylesheet'] = false; # URL of the Admin Panel section of the User Handbook $config['wiki_url'] = 'http://wiki.cmsmadesimple.org/index.php ... dmin_Panel'; #Enable backwards compatibility mode? This basically will allow some #modules written before 1.0 was released to work. Keep in mind that this #will use a lot more memory and isn't guaranteed to fix the problem. $config['backwards_compatible'] = false; #Not used anymore... kept around, just in case $config['disable_htmlarea_translation'] = false; $config['use_Indite'] = true; ?>Database Connection failed

Re: CMSMS-Directory kopieren und weiterverwenden?

Posted: Tue Jan 09, 2007 3:42 pm
by cyberman
Dann musst du natürlich die Pfade in der config.php anpassen. Wenn du also den Pfad von http://www.deine-domain.ch/cms auf http://www.deine-domain.ch geändert hast, müssten diese zum Beispiel wie folgt angepasst werden von

Code: Select all

$config['image_uploads_path'] = '/home/jugend-buttisholz/public_html/cms/uploads/images'; 
$config['image_uploads_url'] = 'http://www.jugend-buttisholz.ch/cms/uploads/images';
auf

Code: Select all

$config['image_uploads_path'] = '/home/jugend-buttisholz/public_html/uploads/images'; 
$config['image_uploads_url'] = 'http://www.jugend-buttisholz.ch/uploads/images';
(natürlich die komplette config.php  :))

Re: CMSMS-Directory kopieren und weiterverwenden?

Posted: Tue Jan 09, 2007 3:54 pm
by hackerzzzz
danke hat funktioniert.. =D