Hi there,

On Thu, 18 Dec 2003, James.Q.L wrote:

> i have a directory which execute mod_perl program. i want to requestion 
> site.com/printer/ and
> index.pl get executed. however i got directory listing instead. requestiong index.pl 
> directly runs fine.
> 
> both index.pl and /www/printer are 755 on permission.

Be careful with permissions on executables which are tun by mod_perl.
Read the documentation.

> <Directory /www/printer/>
>   [snip]
>   DirectoryIndex index.pl
> </Directory>
> 
> with  Options +ExecCGI +MultiViews, i got this error while requesting 
> /www/printer/index
> 
> Negotiation: discovered file(s) matching request: /www/printer/index  (None could be 
> negotiated).

Where is index.pl?  If for example it's in your cgi-bin directory, have you tried

   DirectoryIndex /cgi-bin/index.pl

> running apache 2.0.40 on redhat 9.  mod_perl-1.99_07-5

You should update your Apache and mod_perl, those are very out of date.

73,
Ged.


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to