Current time: 09-29-2024, 11:30 AM Hello There, Guest! (LoginRegister)


Post Reply 
kann mir einer weiterhelfen?
Author Message
Blood Hunter Offline
Junior Member
*

Posts: 20
Joined: Oct 2007
Reputation: 0
Post: #1
kann mir einer weiterhelfen?
hi,

also mein problem ist folgendes...

ich bin dabei einen hosting server zu machen...der ja auch soweit schon fertig ist. jetzt habe ich aber ein problem...und zwar ist unter http://wi.domain.tdl das loginpanel von ispcp erreichbar...jeder user bekommt eine http://webXXX.domain.tdl Domain was ich auch schon so hinbekommen habe. Und http://www.domain.tdl greift auf den ordner /var/www zu wo die homepage laufen...habe auch schon ein script aber irgendwie kann ich in dem ordner keine php datein ausführen...wenn ich zbsp http://www.domain.tdl/_installer/install.php aufrufe bekomme ich den fehler...
Error 404! /_installer/install.php File Not Found! aber die datein sind alle drinne. ich kann auch keine test.php mit der php info drinne aufrufen.
Ihr könnt ja mal schauen unter http://www.ex-hosting.de/ da seht ihr die test.php aber die kann mann nicht aufrufen.
Wenn ihr noch daten braucht kann ich noch das was in der http://www.ex-hosting.de.conf steht posten.
(This post was last modified: 10-26-2007 06:53 PM by Blood Hunter.)
10-26-2007 03:45 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Sweeny Offline
Junior Member
*

Posts: 74
Joined: Oct 2007
Reputation: 1
Post: #2
RE: kann mir einer weiterhelfen?
Hi,

erstmal eine Frage wieso exportierst du das gesamte /var/www ins Web oO damit sind alle Sachen von ispcp zugänglich ich glaube nicht das du das wirklich willst oO. Normalerweise soltte nur /var/www/virtual zugänglich sein ... und darin die anderen Domains lagern.

Gruß
Sweeny
(This post was last modified: 03-20-2008 03:39 AM by Sweeny.)
10-26-2007 03:53 AM
Find all posts by this user Quote this message in a reply
platzwart Offline
Junior Member
*

Posts: 100
Joined: Mar 2007
Reputation: 1
Post: #3
RE: kann mir einer weiterhelfen?
exakt wie swifty sagt:

alles (was im inet sichtbar sein soll) in /var/www/virtual/domain.tld/htdocs/ packen und schon sollte es funktionieren Wink
10-26-2007 04:14 AM
Find all posts by this user Quote this message in a reply
Blood Hunter Offline
Junior Member
*

Posts: 20
Joined: Oct 2007
Reputation: 0
Post: #4
RE: kann mir einer weiterhelfen?
das problem ist nur das ein programm dabei ist das python benutzt...und das läuft nicht wenn ich das in /var/www/virtual/ packe. und das hauptproblem liegt ja darin das ich unter wi.domain.tdl php ausführen kann also in /var/www/ispcp/gui aber über http://www.doamin.tdl nicht der auf den ordner /var/www zugreift.
möchte ja nur irgendwie hinbekommen das ich auch unter http://www.domain.tdl php aufrufen kann...aber er zeigt ja immer das die datei nicht vorhanden ist.
(This post was last modified: 10-26-2007 04:19 AM by Blood Hunter.)
10-26-2007 04:16 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Sweeny Offline
Junior Member
*

Posts: 74
Joined: Oct 2007
Reputation: 1
Post: #5
RE: kann mir einer weiterhelfen?
Irgendwie glaub ich du hast die funktionsweise von ISPCP noch nicht so ganz verstanden :x

Und das dein python script in /var/www/virtual nicht geht is reine Configsache und lässt sich sicher beheben.
10-26-2007 04:25 AM
Find all posts by this user Quote this message in a reply
Blood Hunter Offline
Junior Member
*

Posts: 20
Joined: Oct 2007
Reputation: 0
Post: #6
RE: kann mir einer weiterhelfen?
habe die funktionsweis schon verstanden...nur will ich es aber so haben das die homepage wo mann sich die hostiing angebote ansehen und bestellen kann in dem einen odner liegt...und über http://www.doamin.tdl aufrufbar ist...nur leider funktioniert es nicht über diese domain php datein aufzurufen...html datein klappen aber...möchte ja einfach nur hilfe das ich unter der http://www.domain.tdl php datein ausführen kann mehr nicht...den rest habe ich ja schon alles hinbekommen so wie ich es wollte.
10-26-2007 06:01 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Sweeny Offline
Junior Member
*

Posts: 74
Joined: Oct 2007
Reputation: 1
Post: #7
RE: kann mir einer weiterhelfen?
Leg doch einfach per ispcp die domain an die du willst oO pack das zeug was du zeigen willst in den Ordner und schon passt es oO
10-26-2007 06:43 AM
Find all posts by this user Quote this message in a reply
Blood Hunter Offline
Junior Member
*

Posts: 20
Joined: Oct 2007
Reputation: 0
Post: #8
RE: kann mir einer weiterhelfen?
so habe es jetzt wie Sw1fty gesagt hat aber bekomme nun einige fehlermeldungen in dem programm was python braucht...

Python Path
Specify the path to the Python binary (usually /usr/bin/python or /usr/local/bin/python):
Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/bin/python) is not within the allowed path(s): (/var/www/virtual/ex-hosting.de/:/usr/share/php/) in /var/www/virtual/ex-hosting.de/htdocs/torrentflux_2.3/html/settingsfunctions.php on line 188

Warning: shell_exec() has been disabled for security reasons in /var/www/virtual/ex-hosting.de/htdocs/torrentflux_2.3/html/settingsfunctions.php on line 194
[Path is not Valid]
Path is not Valid

loadavg Path
Path to the loadavg file:
Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/var/www/virtual/ex-hosting.de/:/usr/share/php/) in /var/www/virtual/ex-hosting.de/htdocs/torrentflux_2.3/html/settingsfunctions.php on line 188

Warning: shell_exec() has been disabled for security reasons in /var/www/virtual/ex-hosting.de/htdocs/torrentflux_2.3/html/settingsfunctions.php on line 194
[Path is not Valid]
Path is not Valid

habe es auch schon /proc/loadavg und /usr/bin/python mit bei open_basedir reingeschrieben
10-26-2007 05:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #9
RE: kann mir einer weiterhelfen?
unter disable functions in der php.ini der domain könntest du zusätzlich shell_exec entfernen...
10-26-2007 05:53 PM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #10
RE: kann mir einer weiterhelfen?
Blood Hunter Wrote:so habe es jetzt wie Sw1fty gesagt hat aber bekomme nun einige fehlermeldungen in dem programm was python braucht...

Python Path
Specify the path to the Python binary (usually /usr/bin/python or /usr/local/bin/python):
Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/usr/bin/python) is not within the allowed path(s): (/var/www/virtual/ex-hosting.de/:/usr/share/php/) in /var/www/virtual/ex-hosting.de/htdocs/torrentflux_2.3/html/settingsfunctions.php on line 188

Einfach in deine php.ini in open_basedir mit aufnehmen (so bei Zeile 218)
Quote:Warning: shell_exec() has been disabled for security reasons in /var/www/virtual/ex-hosting.de/htdocs/torrentflux_2.3/html/settingsfunctions.php on line 194

In deiner php.ini freischalten

Quote:[Path is not Valid]
Path is not Valid

loadavg Path
Path to the loadavg file:
Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (/var/www/virtual/ex-hosting.de/:/usr/share/php/) in /var/www/virtual/ex-hosting.de/htdocs/torrentflux_2.3/html/settingsfunctions.php on line 188

Warning: shell_exec() has been disabled for security reasons in /var/www/virtual/ex-hosting.de/htdocs/torrentflux_2.3/html/settingsfunctions.php on line 194
[Path is not Valid]
Path is not Valid

Siehe oben... Wink


Danach sollte es funktionieren. Apache restarten. Allerdings solltest Du die php.ini der Domain ändern, für das das ganze freigeschaltet werden soll.
(This post was last modified: 10-26-2007 06:30 PM by gOOvER.)
10-26-2007 05:57 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: 6 Guest(s)