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.

No it is not OK to have something like this

<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 /install/rolls/index.cgi
        Allow from all
</Directory>




With that config, the root folder is also shown as traditional folder structure. You can check with the urls I gave before for sure.


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