Current time: 07-07-2024, 09:48 AM Hello There, Guest! (LoginRegister)


Post Reply 
00_master.conf vhost funktioniert nicht - centos
Author Message
tgr Offline
Newbie
*

Posts: 5
Joined: Aug 2009
Reputation: 0
Post: #1
00_master.conf vhost funktioniert nicht - centos
so tüdel jetzt scho ewigkeiten rum, habe ispcp nach folgendem installiert

http://www.isp-control.net/documentation...ion:centos

wenn ich jetzt den vhost für den adminpanel aufrufe bekomme ich nur den "index of" von /var/www/html


spielt keine rolle welche domain oder subdomain oder ip ich aufrufe, alles was auf den server zeigt bringt den "index of" von /var/www/html und nicht /var/www/ispcp/gui, so wie es im 00_master.conf steht


dann hab ich mir gedacht bist besonders schlau und legst einfach das DocumentRoot in der httpd.conf direkt auf /var/www/ispcp/gui, damit zumindest mal die adminoberfläche erreichbar ist.
daraus resultierte leider ein weitere fehler:
Code:
Forbidden

You don't have permission to access /index.php on this server.
Apache/2.2.3 (Red Hat) Server at admin.meinedomain.com Port 80

wenn ich im standard documentroot (/var/www/html) eine index.php erstelle erhalte ich den selben fehler.

hab schon ettliche logs durchforsted, aber nichts gefunden warum denn nun die permission to access nicht am start ist.

thx dawei, mir falln jetzt die augen zu Smile[/code]
08-13-2009 12:31 PM
Find all posts by this user Quote this message in a reply
MasterTH Offline
Member
***

Posts: 570
Joined: Feb 2009
Reputation: 4
Post: #2
RE: 00_master.conf vhost funktioniert nicht - centos
schau ma mit
Code:
ls -l
welche berechtigungen auf dem folder sind.

sollte vu2000.www-data sein
08-13-2009 02:45 PM
Find all posts by this user Quote this message in a reply
tgr Offline
Newbie
*

Posts: 5
Joined: Aug 2009
Reputation: 0
Post: #3
RE: 00_master.conf vhost funktioniert nicht - centos
für /var/www/ispcp/gui und alles was drin ist

vu2000 apache

meine httpd prozesse laufen auch als apache

apache 23704 0.0 0.3 11876 2068 ? S 03:55 0:00 /usr/sbin/httpd
apache 23705 0.0 0.5 12100 2944 ? S 03:55 0:00 /usr/sbin/httpd
apache 23706 0.0 0.5 12092 2948 ? S 03:55 0:00 /usr/sbin/httpd
apache 23707 0.0 0.5 12092 2936 ? S 03:55 0:00 /usr/sbin/httpd
apache 23709 0.0 0.5 12088 2920 ? S 03:55 0:00 /usr/sbin/httpd
apache 23710 0.0 0.5 12092 2936 ? S 03:55 0:00 /usr/sbin/httpd
apache 23711 0.0 0.5 12088 2920 ? S 03:55 0:00 /usr/sbin/httpd
apache 23712 0.0 0.5 12092 2936 ? S 03:55 0:00 /usr/sbin/httpd
apache 23713 0.0 0.5 12092 2932 ? S 03:55 0:00 /usr/sbin/httpd
(This post was last modified: 08-13-2009 06:59 PM by tgr.)
08-13-2009 06:56 PM
Find all posts by this user Quote this message in a reply
MasterTH Offline
Member
***

Posts: 570
Joined: Feb 2009
Reputation: 4
Post: #4
RE: 00_master.conf vhost funktioniert nicht - centos
was steht in der apache.conf für nen User & Group drin?
08-13-2009 08:44 PM
Find all posts by this user Quote this message in a reply
tgr Offline
Newbie
*

Posts: 5
Joined: Aug 2009
Reputation: 0
Post: #5
RE: 00_master.conf vhost funktioniert nicht - centos
/etc/httpd/conf/httpd.conf

User apache
Group apache
08-13-2009 09:12 PM
Find all posts by this user Quote this message in a reply
MasterTH Offline
Member
***

Posts: 570
Joined: Feb 2009
Reputation: 4
Post: #6
RE: 00_master.conf vhost funktioniert nicht - centos
hmmm... welche rechte sind denn auf der index.php im /var/www/ispcp/gui???
08-13-2009 10:03 PM
Find all posts by this user Quote this message in a reply
tgr Offline
Newbie
*

Posts: 5
Joined: Aug 2009
Reputation: 0
Post: #7
RE: 00_master.conf vhost funktioniert nicht - centos
-r--r--r-- 1 vu2000 apache 3233 Aug 13 00:36 index.php

wie gesagt, der fehler kommt grundsätzlich bei jeder *.php datei egal wo die liegt und egal welche rechte drauf sind.


was mir wahrscheinlich bei der fehlersuche helfen würde, wenn ich wüßte wie ich ordentliche logs erhalte.
ich hab mal /var/log gefilter nach dateien die sich in der letzten minute geändert haben und dort findet sich nur folgende dateien:

Code:
root@vps146 /var/www/ispcp/gui $ find /var/log/* -type f -mmin -1 -ls
597035736   42 -rw-r--r--   1 root     root        41243 Aug 13 14:13 /var/log/httpd/access_log
644530776   35 -rw-r--r--   1 root     root        33968 Aug 13 14:13 /var/log/httpd/users/c18-ss-1-lb.cnet.com-access.log
597035958   35 -rw-r--r--   1 root     root        33968 Aug 13 14:13 /var/log/httpd/c18-ss-1-lb.cnet.com-combined.log
597035960    1 -rw-r--r--   1 root     root          667 Aug 13 14:13 /var/log/httpd/c18-ss-1-lb.cnet.com-traf.log

79.207.249.189 - - [13/Aug/2009:14:13:01 +0200] "GET /index.php HTTP/1.1" 403 208

bzw.

79.207.249.189 - - [13/Aug/2009:14:13:01 +0200] "GET /index.php HTTP/1.1" 403 208 "http://yy.74.yy.14/" "Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2"
(This post was last modified: 08-13-2009 10:15 PM by tgr.)
08-13-2009 10:10 PM
Find all posts by this user Quote this message in a reply
MasterTH Offline
Member
***

Posts: 570
Joined: Feb 2009
Reputation: 4
Post: #8
RE: 00_master.conf vhost funktioniert nicht - centos
komisch... latein ende.... führ die installation doch nochmal durch...
evtl. biegt er dann die sachen gerade....
08-13-2009 10:13 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #9
RE: 00_master.conf vhost funktioniert nicht - centos
Ich weis nicht wo bei Centos die Logs liegen, bei Debian liegen diese unter /var/log/apache2/users/. Gibt es den ordner "users" auch unter http ?
such mal nach "default-error.log"

Greez BeNe
08-13-2009 10:30 PM
Visit this user's website Find all posts by this user Quote this message in a reply
tgr Offline
Newbie
*

Posts: 5
Joined: Aug 2009
Reputation: 0
Post: #10
RE: 00_master.conf vhost funktioniert nicht - centos
jop gibts schon alles durchgeschaut, aber es steht entweder nichts oder halt einfach nur 403 drin. keine weiteren brauchbaren details
08-13-2009 11:27 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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