Current time: 05-02-2024, 12:11 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
<Locations> hinzufuegen?!
Author Message
u53r Offline
Junior Member
*

Posts: 27
Joined: Feb 2010
Reputation: 0
Post: #11
RE: <Locations> hinzufuegen?!
in der suexec.log datei fand ich dies:

[2010-08-05 17:35:00]: uid: (2003/vu2003) gid: (2003/vu2003) cmd: getplugins.php
[2010-08-05 17:35:00]: (8)Exec format error: exec failed (getplugins.php)
08-06-2010 01:43 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #12
RE: <Locations> hinzufuegen?!
dann zeig mal den Anfang der Datei getplugins.php
08-06-2010 02:34 AM
Visit this user's website Find all posts by this user Quote this message in a reply
u53r Offline
Junior Member
*

Posts: 27
Joined: Feb 2010
Reputation: 0
Post: #13
RE: <Locations> hinzufuegen?!
Quote:<?php

require_once( "util.php" );
require_once( "settings.php" );

function pluginsSort($a, $b)
{
$lvl1 = (float) $a["info"]["runlevel"];
$lvl2 = (float) $b["info"]["runlevel"];
if($lvl1>$lvl2)
return(1);
if($lvl1<$lvl2)
return(-1);
return( 0 );
}

function getFlag($permissions,$pname,$fname)
{
$ret = true;
if(array_key_exists($pname,$permissions) &&
array_key_exists($fname,$permissions[$pname]))
$ret = $permissions[$pname][$fname];
else
if(array_key_exists("default",$permissions) &&
array_key_exists($fname,$permissions["default"]))
$ret = $permissions["default"][$fname];
return($ret);
}

function getPluginInfo( $name, $permissions )
{
$info = array();
$fname = "../plugins/".$name."/plugin.info";
if(is_readable($fname))
08-06-2010 05:37 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #14
RE: <Locations> hinzufuegen?!
hm, dann muss was anderes falsch sein.

hab das Gefühl, dass php nun wie ein cgi aufgerufen wird, also einen shebang header haben sollte (#!/usr/bin/php - oder so) da irgendwie die config nicht stimmt, dass .php Dateien mit fastcgi bzw. fcgid aufgerufen werden....

Aber da müsste man nun die komplette Konfig haben vom ganzen vhost incl. der Sache mit dem location...

/J
08-06-2010 06:36 AM
Visit this user's website Find all posts by this user Quote this message in a reply
u53r Offline
Junior Member
*

Posts: 27
Joined: Feb 2010
Reputation: 0
Post: #15
RE: <Locations> hinzufuegen?!
hallo.

war bissl abwesend. welche komplette config denn?
08-18-2010 12:43 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #16
RE: <Locations> hinzufuegen?!
der ganze VirtualHost Block der Website - inclusive den includierten Angaben (falls vorhanden).

/J
08-18-2010 01:44 AM
Visit this user's website Find all posts by this user Quote this message in a reply
u53r Offline
Junior Member
*

Posts: 27
Joined: Feb 2010
Reputation: 0
Post: #17
RE: <Locations> hinzufuegen?!
wo find ich diesen virtualhost block?

in apache2/config gedoens?
09-05-2010 06:34 PM
Find all posts by this user Quote this message in a reply
Knut Offline
Member
***

Posts: 736
Joined: Nov 2006
Reputation: 10
Post: #18
RE: <Locations> hinzufuegen?!
EDIT: nachgedacht und bemerkt das ich blödsinn gepostet habe.

Knut
(This post was last modified: 09-05-2010 07:01 PM by Knut.)
09-05-2010 06:59 PM
Find all posts by this user Quote this message in a reply
grisu Offline
Junior Member
*

Posts: 64
Joined: Jun 2009
Reputation: 0
Post: #19
RE: <Locations> hinzufuegen?!
Noch ein Schuss ins Blaue... in der /var/www/fcgi/<domain>/php5/php.ini - ist da denn "exec" erlaubt...? Also NICHT vorhanden in "disabled_functions"?
09-05-2010 09:46 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #20
RE: <Locations> hinzufuegen?!
(09-05-2010 06:34 PM)u53r Wrote:  wo find ich diesen virtualhost block?

in apache2/config gedoens?

ja

/etc/apache2/sites-enabled/ispcp.conf

und den Block suchen, der
<VirtualHost ...>
...
ServerName deindomain.de
...
</Virtualhost>

und falls nicht leer, auch die /etc/apache2/ispcp/deinedomain.de.conf dazu angeben...

/J
09-06-2010 09:01 AM
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: 2 Guest(s)