bevor sich hier alle denken was für ein Noob ja ich bin einer ;)
Und nun zu meinem Prob:
Folgende Situation liegt an.
Ich habe eine ganz normale Domain per Plesk eingerichtet diese läuft mit Php als Modul und funktioniert auch bis auf den Faktor das ich sie einfach nicht dazu bringe die im Verzeichnis abgelegte PHP.ini auszulesen. Es werden immer die Daten der in /etc abgelegten php.ini ausgelesen.
Wer mir hierzu einen Tip geben kann wie ich die httpd.include oder vhost.conf berabeiten muss darf sich gerne melden.
doch für mich ein viel größeres Prob ist das ich die Subdomain die ich mit FastCGI eingerichtet habe und die laut info.php auch als ServerAPI CGI/FastCGI verwendet nicht das macht was ich will.
Wenn ich unter dieser ein Joomla installieren will bekomme ich ständig die Meldung keine Cookies zugelassen. Meine Suche bei Google hat zwar vieles erbracht so auch das ich den Session.Save_path auf ein verzeichnis auf welches der Zugriff möglich ist setzen soll doch gebracht haben diese Tips alle nicht.
da auch hier nicht die php.ini gelesen wird was glaube ich bei Fast CGI normal ist (wenn ich mich recht erinnere) aber auch ein Eintrag in einer .htaccess brachte nicht den gewünschten erfolg.
Kurz zum überblick hier mal meine http.include
Code: Select all
# ATTENTION!
# DO NOT MODIFY THIS FILE OR ANY PART OF IT. THIS CAN RESULT IN IMPROPER PLESK
# FUNCTIONING OR FAILURE, CAUSE DAMAGE AND LOSS OF DATA. IF YOU REQUIRE CUSTOM
# MODIFICATIONS TO BE APPLIED TO THE CONFIGURATION, PLEASE, PERFORM THEM IN THE
# FOLLOWING FILE(S):
# /var/www/vhosts/ph0enyx.de/conf/vhost.conf
# /var/www/vhosts/ph0enyx.de/conf/vhost_ssl.conf
# /var/www/vhosts/ph0enyx.de/subdomains/<subdomain-name>/conf/vhost.conf
<IfModule mod_ssl.c>
<VirtualHost XXX.xxx.xxx.xxx:443>
ServerName ph0enyx.de:443
ServerAlias www.ph0enyx.de
UseCanonicalName Off
SuexecUserGroup phoenyx psacln
DocumentRoot /var/www/vhosts/ph0enyx.de/httpdocs/joomla
CustomLog /var/www/vhosts/ph0enyx.de/statistics/logs/access_ssl_log plesklog
ErrorLog /var/www/vhosts/ph0enyx.de/statistics/logs/error_log
<IfModule mod_userdir.c>
UserDir /var/www/vhosts/ph0enyx.de/web_users
</IfModule>
ScriptAlias /cgi-bin/ /var/www/vhosts/ph0enyx.de/cgi-bin/
Alias /plesk-stat /var/www/vhosts/ph0enyx.de/statistics/
<Location /plesk-stat/>
Options +Indexes
</Location>
<Location /plesk-stat/logs/>
Require valid-user
</Location>
Alias /webstat /var/www/vhosts/ph0enyx.de/statistics/webstat
Alias /webstat-ssl /var/www/vhosts/ph0enyx.de/statistics/webstat-ssl
Alias /ftpstat /var/www/vhosts/ph0enyx.de/statistics/ftpstat
Alias /anon_ftpstat /var/www/vhosts/ph0enyx.de/statistics/anon_ftpstat
Alias /awstats-icon /var/www/html/awstats/icon
SSLEngine on
SSLVerifyClient none
SSLCertificateFile /usr/local/psa/var/certificates/certZOd5265
<Directory /var/www/vhosts/ph0enyx.de/httpdocs>
<IfModule mod_perl.c>
<Files ~ (.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "/var/www/vhosts/ph0enyx.de/httpdocs:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "/var/www/vhosts/ph0enyx.de/httpdocs:/tmp"
</IfModule>
<IfModule mod_fcgid.c>
<Files ~ (.fcgi)>
SetHandler fcgid-script
Options +FollowSymLinks +ExecCGI
</Files>
</IfModule>
SSLRequireSSL
Options -Includes +ExecCGI
</Directory>
<Directory /var/www/vhosts/ph0enyx.de/web_users>
<IfModule sapi_apache2.c>
php_admin_flag engine off
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine off
</IfModule>
</Directory>
</VirtualHost>
</IfModule>
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerName ph0enyx.de:80
ServerAlias www.ph0enyx.de
UseCanonicalName Off
SuexecUserGroup phoenyx psacln
DocumentRoot /var/www/vhosts/ph0enyx.de/httpdocs/joomla
CustomLog /var/www/vhosts/ph0enyx.de/statistics/logs/access_log plesklog
ErrorLog /var/www/vhosts/ph0enyx.de/statistics/logs/error_log
<IfModule mod_userdir.c>
UserDir /var/www/vhosts/ph0enyx.de/web_users
</IfModule>
ScriptAlias /cgi-bin/ /var/www/vhosts/ph0enyx.de/cgi-bin/
Redirect permanent /plesk-stat https://ph0enyx.de/plesk-stat
Redirect permanent /webstat https://ph0enyx.de/webstat
Redirect permanent /webstat-ssl https://ph0enyx.de/webstat-ssl
Redirect permanent /ftpstat https://ph0enyx.de/ftpstat
Redirect permanent /anon_ftpstat https://ph0enyx.de/anon_ftpstat
Redirect permanent /awstats-icon https://ph0enyx.de/awstats-icon
<IfModule mod_ssl.c>
SSLEngine off
</IfModule>
<Directory /var/www/vhosts/ph0enyx.de/httpdocs>
<IfModule mod_perl.c>
<Files ~ (.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "/var/www/vhosts/ph0enyx.de/httpdocs:/tmp"
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine on
php_admin_flag safe_mode off
php_admin_value open_basedir "/var/www/vhosts/ph0enyx.de/httpdocs:/tmp"
</IfModule>
<IfModule mod_fcgid.c>
<Files ~ (.fcgi)>
SetHandler fcgid-script
Options +FollowSymLinks +ExecCGI
</Files>
</IfModule>
Options -Includes +ExecCGI
</Directory>
<Directory /var/www/vhosts/ph0enyx.de/web_users>
<IfModule sapi_apache2.c>
php_admin_flag engine off
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine off
</IfModule>
</Directory>
</VirtualHost>
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerName joomla2.ph0enyx.de:80
SuexecUserGroup phoenyx psacln
DocumentRoot /var/www/vhosts/ph0enyx.de/subdomains/joomla2/httpdocs
CustomLog /var/www/vhosts/ph0enyx.de/statistics/logs/access_log plesklog
ErrorLog /var/www/vhosts/ph0enyx.de/statistics/logs/error_log
ScriptAlias /cgi-bin/ /var/www/vhosts/ph0enyx.de/subdomains/joomla2/cgi-bin/
<IfModule mod_ssl.c>
SSLEngine off
</IfModule>
<Directory /var/www/vhosts/ph0enyx.de/subdomains/joomla2/httpdocs>
<IfModule mod_perl.c>
<Files ~ (.pl$)>
SetHandler perl-script
PerlHandler ModPerl::Registry
Options ExecCGI
allow from all
PerlSendHeader On
</Files>
</IfModule>
<IfModule mod_fcgid.c>
<Files ~ (.fcgi)>
SetHandler fcgid-script
Options +FollowSymLinks +ExecCGI
</Files>
</IfModule>
<IfModule mod_fcgid.c>
<Files ~ (.php)>
SetHandler fcgid-script
FCGIWrapper /usr/bin/php-cgi .php
Options +ExecCGI
allow from all
</Files>
</IfModule>
Options -Includes +ExecCGI
</Directory>
</VirtualHost>
http://ph0enyx.de/info.php
http://joomla2.ph0enyx.de/info.php
Ich hoffe einer von euch kann was mit meinem Wirrwarr anfangen und mir helfen.
Schon mal Danke im Vorhinein
Phoenyx aka Martin