Re: RE: Problem with CGI script

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

 



http://ce.scu.ac.ir/rocks/7.0/install/rolls/index.cgi returns a 500
error. Troubleshoot it by looking at the logs.

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



-- 
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