Na lang zoeken had ik dan eindelijk de op lossing voor mijn chmod rechten probleem.
Standaart draait alles onder www, maar dat moest per gebruiker worden![]()
Nu ben ik dan achter suPHP gekomen![]()
En zo als gewoonlijk...
Gaat het weer helemaal fout![]()
Ik heb hem ginstalleerd, geprobeerd.
En dan werk php conpleet niet meer, ik kwam er achter dat php verkeerd stond opgegeven.
Dus verandert, opnieuw ge installeerd.
Apache gerestart, nog niets![]()
Kan iemand mij als je blieft uit de brand helpen, ik heb apache2 met monteel mod_php5 op RedHat Linux.
Ik heb de laaste versie van suphp gebruikt.
bij httpd.conf staat dit:
En in de test virtualhost staat dit.Code:#LoadModule php5_module modules/libphp5.so LoadModule suphp_module modules/mod_suphp.so AddHandler x-httpd-php .php #AddType application/x-httpd-php .php #AddType application/x-httpd-php .php4 #AddType application/x-httpd-php .php3 #AddType application/x-httpd-php-source .phps #AddType application/x-httpd-php .phtml #suPHP_Engine on #
In dit staat er in /e t c/suphp.confCode:<VirtualHost *:80> # suPHPP-settings suPHP_Engine on suPHP_UserGroup rollerscapes www DocumentRoot /data/htdocs/rollerscapes/public_html/rollerscapes ServerName www.rollerscapes.net <Directory "/data/htdocs/rollerscapes/public_html/rollerscapes"> allow from all Options all </Directory>
[code]
[global]
;Path to logfile
logfile=/var/log/suphp.log
;Loglevel
loglevel=info
;User Apache is running as
webserver_user=www
;Path all scripts have to be in
docroot=/htdocs
; Security options
allow_file_group_writeable=false
allow_file_others_writeable=false
allow_directory_group_writeable=false
allow_directory_others_writeable=false
;Check wheter script is within DOCUMENT_ROOT
check_vhost_docroot=false
;Send minor error messages to browser
errors_to_browser=true
;PATH environment variable
env_path=/bin:/usr/bin
;Umask to set, specify in octal notation
umask=0077
; Minimum UID
min_uid=100
; Minimum GID
min_gid=100
[handlers]
;Handler for php-scripts
x-httpd-php=php:/usr/local/bin/php
;Handler for CGI-scripts
x-suphp-cgi=execute:!self
[code]
Als ik het zo als ik boven heb aan gegeven draait, werk php conpleet niet meer![]()
Als iemand weet wat ik fout doet, hoor ik het graag.

Likes:


Quote