httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Fernando Gallegos Valencia <lfgal...@pichincha.com>
Subject Re: [users@httpd] index file won't execute automatically.
Date Fri, 19 Dec 2003 15:33:15 GMT
In the DirectoryIndex directive put index.pl , so if there is not any
index.html file in that directory , index.pl would be rendered.

For example:
DirectoryIndex   index.html index.pl  #would render index.pl if no
index.html exists




On Fri, 2003-12-19 at 10:04, Q.L wrote:
>  --- Don <dnrlinux@san.rr.com> wrote: > On Thu, 2003-12-18 at 21:00, Q.L wrote:
> > >  --- Don <dnrlinux@san.rr.com> wrote: > On Thu, 2003-12-18 at 18:49,
dSc wrote:
> > > > > Try leaving the  / off the end of.
> > > > > Alias /printer/ /www/printer
> > > > 
> > > > Alias /printer /www/printer
> > > > 
> > > > (note no / after the alias name...)
> > > > 
> > > 
> > > i changed it and it still list the directory while requesting mysite.com/printer
> > > 
> > > here is what i have now.
> > > 
> > > Alias /printer /www/printer
> > > PerlModule ModPerl::Registry
> > > <Directory /www/printer>
> > >     Order allow,deny
> > >     Allow from all
> > >     AllowOverride None
> > >     SetHandler perl-script
> > >     PerlHandler ModPerl::Registry
> > >     Options +ExecCGI
> > >     PerlSendHeader On
> > >     DirectoryIndex index.pl
> > > </Directory>
> > 
> > OK... obvious question.... does the directory contain an "index.pl"
> > file, and Apache has rx access to it?
> 
> as i said, i can only access that index.pl by request it directly.
> so the file is there and is 755 permission.
> 
> i know this problem sound weird.. but hopefully someone can point out what i am doing
wrong.
> 
> thanks.
> 
> 
> Qiang
> 
> ______________________________________________________________________ 
> Post your free ad now! http://personals.yahoo.ca
> 
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message