Hoi Klaus,
>die Methode, die Du beschreibts verwende ich seit längerem ohne jedes Problem. Mit welcher Version von SPIP testest Du >das denn gerade?
<!-- 1.9.2 alpha -->
Ich hab die andere DB (spip) angeschnallt. Das System funktioniert an für sich, korrekt.
Nur einloggen kann ich mich so nicht.
Ich hab jetzt nochmals ein paar Test gemacht, man sieht dass ping von os7 und qu7 auf 80.74.143.185
Ich hab Dir einen Testuser erstellt: klaus/klausm
http://80.74.143.185/tools/spip/ecrire/ (einloggen geht)
Das ist sind VHOSTs (siehe unten) http://www.os7.ch/ Site geht (mit eigenen localen Daten)
http://www.os7.ch/spip/ecrire (Einloggen geht nicht)
(falls qu7 auf eine leere Apache-Site zeigt, ist der Nameserver noch nicht probagiert).
http://www.qu7.ch/ Site geht (verwenden SPIP aus anderem Verzeichnis)
http://www.qu7.ch/spip/ecrire (einloggen geht auch!!)
Vermutlich ist eine Variable falsch gesetzt:
Das war die letze Version
Wie gesagt, ich konnte den Upload machen, das inc_connect.php wurde im lokalen Pfad erstellt.
Gruss
Patrick
-------------------
mes_options.php (Installation)
$table_prefix = "spip";
$cookie_prefix = "spip";
$forcer_lang=true;
if ($_SERVER["SERVER_NAME"] == "www.os7.ch") {
# echo ($_SERVER["SERVER_NAME"]);
# echo("$f-{$r[1]}");
# $cookie_prefix = $table_prefix = $f = "/var/www/domains/artsky-n/http/spip_local/"; $table_x_prefix = "spip";
define('_SPIP_PATH', '/' . $table_x_prefix . '/:./:dist/:formulaires/:ecrire/');
define('_DIR_IMG', $f.'IMG/');
define('_DIR_DOC', _DIR_IMG);
define('_DIR_CACHE', $f.'CACHE/');
define('_DIR_SESSIONS', $f.'data/');
define('_DIR_TRANSFERT', $f.'upload');
define('_FILE_CONNECT_INS', $f.'inc_connect');
# echo (_FILE_CONNECT_INS);
$GLOBALS['dossier_squelettes'] = $f.'squelettes';
if (is_readable($f .= 'mes_options.php')) {
# echo("--$f"); require($f);
}
#echo($_SERVER['REQUEST_URI']);
#echo("{$_SERVER['REQUEST_URI']}-$r[1]-$f");
}
------------
Serverplatz:
/var/www/domains/artsky-n/http/
total 6
41697799 drwxr-xr-x 3 root root 1024 Oct 18 10:17 .
25510080 drwxr-xr-x 3 root root 1024 Oct 18 09:04 ..
67887109 -rw-r--r-- 1 root root 126 Oct 19 14:12 index.php
70049840 -rw-r--r-- 1 root root 46 Oct 18 09:16 index.txt
25510083 -rw-r--r-- 1 root root 20 Sep 21 16:40 phpinfo.php
41697807 lrwxr-xr-x 1 root root 20 Oct 18 09:05 spip -> /var/www/tools/spip/
41697806 drwxrwsr-x 4 775 www-data 1024 Oct 18 13:05 spip_local
41697806 drwxrwsr-x 4 775 www-data 1024 Oct 18 13:05 .
41697799 drwxr-xr-x 3 root root 1024 Oct 18 10:17 ..
67903537 drwxrwsr-x 19 root www-data 1024 Oct 19 15:43 CACHE
67903538 drwxrwsr-x 2 root www-data 1024 Oct 19 15:43 IMG
(Test, bewirkte aber nichts)
41697809 lrwxr-xr-x 1 root www-data 27 Oct 18 13:05 ecrire -> /var/www/
tools/spip/ecrire/
41697798 -rw-rw-rw- 1 www-data www-data 156 Oct 18 10:59 inc_connect.php
41697812 -rw-r--r-- 1 root www-data 15669 Oct 18 10:32 mes_fonctions.php
41697808 -rw-r--r-- 1 root www-data 117 Oct 18 11:40 mes_options.php
----------------
VHOST
<VirtualHost *>
ServerAdmin patrick.ogay@basel-inside.ch
ServerName www.artsky-n.ch
ServerAlias artsky-n.ch os7.ch www.os7.ch qu7.ch www.qu7.ch
DocumentRoot /var/www/domains/artsky-n/http
<Directory />
Options None
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory /var/www/domains/artsky-n/http/>
Options None Includes
AllowOverride None
Order allow,deny
Allow from all
Options Indexes FollowSymLinks
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
# RedirectMatch ^/$ /artsky-n/
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch -Includes
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>