Re: RE: Problem with CGI script

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

 



Dear Eric,
Can you explain a bit more on what should I do with the cgi probblem?

Regards,
Mahmood





 



On Saturday, December 30, 2017, 9:12:00 PM GMT+3:30, mahmood n <nt_mahmood@xxxxxxxxx> wrote: 





>You need to scope the SetHandler/AddHandler to just the things that
>are actually CGI.  Check the manual.
 
If you mean this topic (https://wiki.apache.org/httpd/DirectoryAsScript) , I already have read that. But don’t know how to apply that to my case.
 
Currently, I have
<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>
        SetHandler cgi-script
        DirectoryIndex index.cgi
        Allow from all
</Directory>
 
 
According to that document,  I have to replace ScriptAlias  with something else. However, I don’t have such thing! So, I changed that to
 
<Directory /var/www/html/rocks/7.0>
        AddHandler cgi-script cgi py
        Options FollowSymLinks Indexes ExecCGI
        AllowOverride None
        Order allow,deny
        Allow from all
</Directory>
<Directory /var/www/html/rocks/7.0/install/rolls>
        SetHandler cgi-script
        DirectoryIndex index.cgi
        Allow from all
</Directory>
 
 
But the error is still present.
Please let me know which document do you mean.
 
Regards,
Mahmood
 
 
 

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