I tried to compare the apache conf files and php.ini files w/o success... any idea how to set apache to pass these requests to my script ?? tnx, --Y the scripts: req.pl #!/usr/bin/perl use HTTP::Headers; use LWP::UserAgent; my $request = new HTTP::Request( 'OPTIONS'=>"http://cc.jct.ac.il/method/" ); my $ua = new LWP::UserAgent; my $response = $ua->request($request) || return "ERROR\t$!"; print $response->server; ------- method.php | | |<?php $filename = '/var/www/html/method/method.log'; $somecontent = $_SERVER["REQUEST_METHOD"]."\n"; // Let's make sure the file exists and is writable first. #if (is_writable($filename)) { // In our example we're opening $filename in append mode. // The file pointer is at the bottom of the file hence // that's where $somecontent will go when we fwrite() it. if (!$handle = fopen($filename, 'a')) { echo "Cannot open file ($filename)"; exit; } // Write $somecontent to our opened file. if (fwrite($handle, $somecontent) === FALSE) { echo "Cannot write to file ($filename)"; exit; } echo "Success, wrote ($somecontent) to file ($filename)"; fclose($handle); ?> | --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx