Jump to content
Froxlor Forum
  • 0

mod_fcgid // php-fcgi-scripts


2morpheus

Question

Moin,

 

nach der Installation sind die Rechte f?r php-fcgi-scripts ungl?cklich, die Inhalte sind ?ber die Server Url erreichbar, die php.ini ist lesbar. Das trifft auch f?r weitere Customers zu.

 

Der cronjob setzt die Rechte offenbar nicht wie erwartet.

 

Was habe ich ?bersehen?

 

Vielen Dank

hcd

 

Die Verzeichnisrechte in /var/www

 

ve01:/var/www# ls -l

total 16

drwxr-xr-x 11 froxlorlocal froxlorlocal 4096 Jan 18 11:31 froxlor

-rw-r--r-- 1 root root 45 Jan 18 11:31 index.html

drwxr-xr-x 4 root root 4096 Jan 19 17:20 php-fcgi-scripts

 

damit ist php-fcgi-scripts ?ber die Serverurl erreichbar.

 

Innen sieht es auch nicht so sch?n aus:

ve01:/var/www/php-fcgi-scripts# ls -l

total 8

drwxr-xr-x 3 root root 4096 Jan 19 17:20 froxlor.panel

drwxr-xr-x 5 root root 4096 Jan 19 17:20 meins

 

und weiter:

 

ve01:/var/www/php-fcgi-scripts# ls -l froxlor.panel/ve01.meinedomain/

total 8

-rwxr-x--- 1 froxlorlocal froxlorlocal 503 Jan 19 17:20 php-fcgi-starter

-rw-r--r-- 1 root root 2114 Jan 19 17:20 php.ini

 

 

 

Installation wie folgt

 

Froxlor 0.9.16 auf debian Lenny nach Anleitung

 

 

http://wiki.froxlor.org/contrib/german/de-installation_by_apt

 

http://wiki.froxlor.org/contrib/german/de-fcgid-handbook

 

1. Prevent that Cron will crash the server while you're changing this settings

 

/etc/init.d/cron stop

 

 

 

2. Comment out the line "Include /etc/apache2/ports.conf" in "/etc/apache2/apache2.conf"

 

3. remove the default apache configs from "/etc/apache2/sites-enabled"

 

a2dissite 000-default

a2dissite 000-default-ssl

 

 

 

4. In froxlor, go to "IPs und Ports" and make sure that Listen and NameVirtualHost are enabled for all IP's

 

5. execute the Cron-job to apply the Froxlor-settings

 

/usr/bin/php5 -q /var/www/froxlor/scripts/froxlor_master_cronjob.php

 

 

 

6. Test the new config and restart Apache and Cron

 

apache2ctl configtest

apache2ctl graceful

/etc/init.d/cron start

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...