Re: RE: Problem with CGI script

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

 



Maybe I was unclear. Put it back along with AddHandler cgi-script .cgi
if you want the subdirs to look like the root.

On Mon, Jan 1, 2018 at 11:29 AM, Mahmood Naderan <nt_mahmood@xxxxxxxxx> wrote:
>>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
>



-- 
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[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