Current time: 05-23-2012, 03:17 PM Hello There, Guest! (LoginRegister)


Post Reply 
Symlink htdocs <--> /usr/share...
Author Message
cdn123 Offline
Junior Member
*

Posts: 24
Joined: Feb 2011
Reputation: 0
Post: #1
Symlink htdocs <--> /usr/share...
Moin zusammen,

versuche mich imom am Zarafa mit ISPCP auf einem Server. Soweit so gut, leider funktioniert der Symlink für den Webaccess nicht.

Bin wie folgt vorgegangen:

1. Nutzer bei ISPCP angelegt
2. /etc/apache2/ispcp/domain.tld.conf folgendes eingetragen:
Code:
Alias /webaccess /usr/share/zarafa-webaccess/index.php
<Directory /var/www/virtual/domain.tld/htdocs>
        <IfModule sapi_apache2.c>
                php_admin_flag engine on
                php_admin_flag safe_mode off
                php_flag register_globals off
                php_flag magic_quotes_gpc off
                php_flag magic_quotes_runtime off
                php_admin_value open_basedir "/var/www/virtual/domain.tld/htdocs:/usr/share/php:/usr/share/zarafa-webaccess:/tmp"
        </IfModule>
        <IfModule mod_php5.c>
                php_admin_flag engine on
                php_admin_flag safe_mode off
                php_flag register_globals off
                php_flag magic_quotes_gpc off
                php_flag magic_quotes_runtime off
                php_admin_value open_basedir "/var/www/virtual/domain.tld/htdocs:/usr/share/php:/usr/share/zarafa-webaccess:/tmp"
        </IfModule>

                Options -Includes -ExecCGI
</Directory>

Nur leider spukt er mir beim öffnen der Inet Seite (http://domain.tdl/webaccess) einen 500- Error aus!

Finde den Fehler leider nicht...über Vorschläge würde ich mich freuen Smile
10-14-2011 10:00 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 6,929
Joined: Jan 2007
Reputation: 89
Post: #2
RE: Symlink htdocs <--> /usr/share...
kein f(ast)cgi(d)?
10-14-2011 10:37 PM
Visit this user's website Find all posts by this user Quote this message in a reply
cdn123 Offline
Junior Member
*

Posts: 24
Joined: Feb 2011
Reputation: 0
Post: #3
RE: Symlink htdocs <--> /usr/share...
Fcgid ist doch nicht zwingend Notwendig oder? Das erklärt den 500er Error nicht?!
10-14-2011 11:14 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 6,929
Joined: Jan 2007
Reputation: 89
Post: #4
RE: Symlink htdocs <--> /usr/share...
ich frag nur, weil je nachdem die php-einstellungen woanders sind.

Gibt's denn nix im error-log? (beim 500er?)

/J
10-15-2011 12:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
cdn123 Offline
Junior Member
*

Posts: 24
Joined: Feb 2011
Reputation: 0
Post: #5
RE: Symlink htdocs <--> /usr/share...
/var/log/apache2/error.log sagt nichts dazu...
OK hab was ind er default-error.log gefunden:

Code:
/usr/share/zarafa-webaccess/.htaccess: Invalid command 'php_flag',  perhaps misspelled or defined by a module not included in the server configuration

daraufhin wollte ich libapache2-mod-php5 installieren, doch dann läuft das gui von ispcp nicht mehr -.-
(This post was last modified: 10-15-2011 03:29 AM by cdn123.)
10-15-2011 01:50 AM
Find all posts by this user Quote this message in a reply
tomhb Offline
Member
***

Posts: 327
Joined: Apr 2010
Reputation: 4
Post: #6
RE: Symlink htdocs <--> /usr/share...
(10-15-2011 01:50 AM)cdn123 Wrote:  
Code:
/usr/share/zarafa-webaccess/.htaccess: Invalid command 'php_flag',  perhaps misspelled or defined by a module not included in the server configuration

daraufhin wollte ich libapache2-mod-php5 installieren, doch dann läuft das gui von ispcp nicht mehr -.-

Du brauchst natuerlich das mod_php nicht installieren, das ist Unsinn.
Wie ist der Inhalt der entsprechenden .htaccess bezueglich der php_flags?


gruss tom
10-15-2011 09:02 PM
Find all posts by this user Quote this message in a reply
Kwik Offline
Junior Member
*

Posts: 42
Joined: May 2007
Reputation: 0
Post: #7
RE: Symlink htdocs <--> /usr/share...
Ich bin jetzt über den gleichen Fehler gestolpert und bekomme jetzt die Meldung:

"command not in docroot (/usr/share/zarafa-webaccess/index.php)"

cdn123 - hast Du eine Lösung gefunden?
01-26-2012 08:03 AM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,558
Joined: Oct 2006
Reputation: 15
Post: #8
RE: Symlink htdocs <--> /usr/share...
Entsprechend der Domain unter der das Webaccess laufen soll musst du die php.ini anpassen
(/var/www/fcgi/domain.tld/php5/php.ini und den Eintrag open_basedir um /usr/share/zarafa-webaccess ergänzen )
Dann noch die rechte anpassen, so dass "webaccess" von dem User der entsprechenden domain erreicht werden kann (auf Filesystemebene) ...
01-26-2012 07:08 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ZooL Offline
Moderator
*****
Moderators

Posts: 3,410
Joined: Jan 2007
Reputation: 79
Post: #9
RE: Symlink htdocs <--> /usr/share...
ich möchte anmerken das es nichts mit ispcp direkt zu tun hat
01-27-2012 09:16 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)