uTaNG
31.05.03, 12:57
ich habe alles soweit erfolgreich installiert, möchte nun paar php scripte testen ...
habe /home/httpd/ ... und darunter sind halt die cgi-bin und die htdocs etc. ..
nun habe ich mir n Ordner "phpscripte" angelegt und mal in infp.php script reingehauen ...
root@lian httpd # ls -l
insgesamt 16
drwxr-xr-x 2 root root 4096 2003-05-18 04:38 cgi-bin
drwxr-xr-x 7 root root 4096 2003-05-25 14:49 htdocs
drwxr-xr-x 3 root root 4096 2003-05-18 04:38 icons
drwxr-xr-x 2 root root 4096 2003-05-31 13:31 phpscripte
das Problem beim Aufruf ist das dann bei Apache "Permission Denied" da steht ...
die rechte für meine script datei wo er probleme hat diese aufzurufen ...
# ls -l
insgesamt 4
-rw-r--r-- 1 root root 64 2003-05-31 13:31 info.php
sind aber die gleichen rechte wie eine html.datei im htdocs verzeichniss
ls -l start.html
-rw-r--r-- 1 root root 176 2003-05-19 23:02 start.html
habe daher in meiner apache.conf
unter den cgi-bin alias ein Alias für php gelegt was nichts geänder hat ...
wo liegen nun die zugriffsprobleme ...
habe /home/httpd/ ... und darunter sind halt die cgi-bin und die htdocs etc. ..
nun habe ich mir n Ordner "phpscripte" angelegt und mal in infp.php script reingehauen ...
root@lian httpd # ls -l
insgesamt 16
drwxr-xr-x 2 root root 4096 2003-05-18 04:38 cgi-bin
drwxr-xr-x 7 root root 4096 2003-05-25 14:49 htdocs
drwxr-xr-x 3 root root 4096 2003-05-18 04:38 icons
drwxr-xr-x 2 root root 4096 2003-05-31 13:31 phpscripte
das Problem beim Aufruf ist das dann bei Apache "Permission Denied" da steht ...
die rechte für meine script datei wo er probleme hat diese aufzurufen ...
# ls -l
insgesamt 4
-rw-r--r-- 1 root root 64 2003-05-31 13:31 info.php
sind aber die gleichen rechte wie eine html.datei im htdocs verzeichniss
ls -l start.html
-rw-r--r-- 1 root root 176 2003-05-19 23:02 start.html
habe daher in meiner apache.conf
unter den cgi-bin alias ein Alias für php gelegt was nichts geänder hat ...
wo liegen nun die zugriffsprobleme ...