Pfad zu sendmail - path to sendmail ????

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

Pfad zu sendmail - path to sendmail ????

Postby gg » 23. April 2005 13:35

Hallo und ein schönes Wochende Euch allen!

Ich bin gerade dabei, ein Formmailer cgi - script zu installieren, wobei ich damit bisher keine Erfahrungen habe und daher gestern früh das Buch "cgi-Scriptprogrammierung - Das Einsteigerseminar" gelesen habe.

Soweit so gut. Ich benutze die xampp 1.4.13, in der auch das Unterverzeichnis sendmail existiert.

Ich habe die xamp in d:\xampp

sendmail ist dann analog d:\xampp\sendmail\sendmail.exe

In der php.ini hab ich eingetragen

Code: Select all
; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
;GG sendmail war auskommentiert
sendmail_path = d:\xampp\sendmail\sendmail -t i

In meinem cgi-script steht:
Code: Select all
sub send {
   ✓
   unless($mailprog){
      foreach ("/bin/sendmail","/sbin/sendmail","/usr/lib/sendmail","/usr/bin/sendmail","/usr/share/sendmail","/usr/sbin/sendmail","/usr/bin/sendmail.restart","/sendmail/sendmail", "./../sendmail/sendmail", "D:\xampp\sendmail\sendmail", "/etc/sendmail.cw","/usr/man/man8/sendmail.8","/var/qmail/bin/qmail-inject")

In der xampp\apache\conf\httpd.conf hab ich eingetragen
Code: Select all
#GG hier wohl wg was als cgi - Verzeichnis genommen wird.
#
ScriptAlias /cgi-bin/ "/xampp/htdocs/cgi-bin/"
#
# "/xampp/apache/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/xampp/htdocs/cgi-bin">
    AllowOverride None
    Options Includes ExecCGI
        AddHandler server-parsed .shtml
        AddHandler cgi-script .cgi .pl
    Order allow,deny
    Allow from all
</Directory>

da ich die cgis im htdocs drin hab.
Mercury Mail funktioniert auch beim Testmail - Verschicken.

Also ich glaube, ich (als Nichtprogrammierer) komme hier ohne Eure Hilfe beim besten Willen nicht weiter.

Bitte seid so gut und helft mir, bittttttteeeee!

P.S:
Was ich auch nicht verstehe, ist, warum ich im URI das cgi-Verzeichnis groß schreiben muss, obwohl das Verzeichnis klein angelegt ist
Code: Select all
http://localhost/CGI-BIN/mailer/mailer.cgi


Bei der physikaisch eigentlich richtigen Kleinschreibung kommt die Meldung
Code: Select all
The requested URL /cgi-bin/mailer/mailer.cgi was not found on this server.
Herzliche Grüsse aus Berlin
Gabi
gg
 
Posts: 13
Joined: 11. May 2004 20:13

Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 44 guests