in reply to mod_trouble

A few questions:

  1. What error gets logged for the copy that fails?
  2. Are you sure that both domains are configured in httpd.conf to handle .pl files via mod_perl?
  3. Not to be annoying, but -- are you sure it's the exact same script? Little things like uploading via FTP in binary mode could cause such a problem.

Assuming the answer to #3 is yes, my first guess would be that the failing domain isn't configured for mod_perl. Hard to say, though, without more information.

- Matt Riffle

Replies are listed 'Best First'.
Re: Re: mod_trouble
by dev2000 (Sexton) on May 19, 2002 at 02:30 UTC
    1. failed to open log file fopen: Permission denied (Sat May 18 22:08:38 2002) (error) (client x.x.x.x) Premature end of script headers: .../killer3d.com/cgi-bin/rules.pl

    2. No, but the domains are on the same server and were supposed to be set up identically.

    3. Yes the same. I've learned not to upload scripts in binary mode ;)

    Here's a snip of %ENV: SERVER_SOFTWARE Apache/1.3.22 Ben-SSL/1.47 (Unix) mod_dtcl mod_python/2.7.6 Python/2.1.2 mod_throttle/2.11 mod_perl/1.26 PHP/4.1.2 FrontPage/4.0.4.3 rus/PL30.9