PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : ftp apache und samba



~|=?FrAnZ?=|~03
03.02.03, 20:54
also wenn ich
1) mit samba im apache verzeichniss daten löschen schreiben will dann kommt ne fehlermeldung zugriff verweigert.
2) bei mir funktioniert proftp nicht
3)apache kann die cgi dateien dnicht ausführen
smb.conf:
--------------------------------
# smb.conf is the main samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SuSE
# Date: 2002-09-12
[global]
unix extensions = yes
client code page = 850
netbios name = linux
printing = CUPS
character set = ISO8859-15
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
workgroup = Lan
os level = 2
null passwords = yes
auto services = global homes printers print$ sicherungfa
printcap name = CUPS
encrypt passwords = yes
time server = yes
veto files = /*.eml/*.nws/riched20.dll/*.{*}/

[homes]
comment = Home Directories
valid users = %S
browseable = no
writeable = yes
create mask = 0640
directory mask = 0750
[printers]
comment = All Printers
path = /var/tmp
printable = yes
create mask = 0600
browseable = no
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
[sicherungfa]
comment = Sicherung von FA
path = /server/fa
guest ok = yes
browsable = yes
writable = yes
create mask = 777
directory mask = 777
create mode = 777
[apachehtdocs]
comment = HtDocs Ordner des Apache Servers
path = /srv/www/htdocs
guest ok = yes
browsable = yes
writable = yes
create mask = 777
directory mask = 777
create mode = 777

[apachecgibin]
comment = Cgi-Bin des Apache Servers
path = /srv/www/cgi-bin/
guest ok = yes
browsable = yes
writable = yes
create mask = 777
directory mask = 777
create mode = 777
--------------------------------------------

LKH
03.02.03, 20:57
Hi,

wie sehen denn die Rechte im und am cgi-bin-Verzeichnis aus? Die musst du auch entsprechend setzen.

~|=?FrAnZ?=|~03
03.02.03, 21:04
bei mir geht der ftp server nicht und der linux computer is so langsam aber cgi-bin verzeichniss: 777 und die datei auch 777

~|=?FrAnZ?=|~03
03.02.03, 21:13
da kommt immer:
-----------------------------------------------------------
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@linux.abzieher and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/1.3.26 Server at linux.abzieher Port 80
---------------------------------------------------------------

oafish
03.02.03, 21:45
Hi,
wie sieht es mit den Rechten auf der Dateisystemebene aus? Samba ersetzt diese nämlich nicht sondern baut auf dieser auf!
Funktioniert der Apache ansonsten?

Gruß
oafish