Re: RE: Problem with CGI script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>I think someone previously told you to undo:
>        DirectoryIndex /install/rolls/index.cgi
>But this is what would cause the root index.cgi to be used by the
>subdirectoryes.


Yes I did that and it only works for the main folder where index.cgi exists.
I am thinking about *recursive cgi* config that execute the cgi for inner folders.
Though I am not about such config due to lack of information.


<VirtualHost *:80>
ServerName rocks-7-0.my.org
DocumentRoot /var/www/html/rocks/7.0
</VirtualHost>

<Directory /var/www/html/rocks/7.0>
        Options FollowSymLinks Indexes ExecCGI
        AllowOverride None
        Order allow,deny
        Allow from all
</Directory>
<Directory /var/www/html/rocks/7.0/install/rolls>
        AddHandler cgi-script .cgi
        DirectoryIndex index.cgi
        Allow from all
</Directory>




Regards,
Mahmood


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux