Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - sappurit

Pages: [1]
1
Apache / How to run perl cgi outside cgi-bin folder ?
« on: October 18, 2021, 08:08:50 PM »
/usr/local/apache/conf.d/mod_cgid.conf

Code: [Select]
LoadModule suexec_module modules/mod_suexec.so
LoadModule cgid_module modules/mod_cgid.so

<IfModule cgid_module>
<Directory /home/*/public_html/cgi-bin/>
Options ExecCGI SymLinksifOwnerMatch
SetHandler cgi-script
AddHandler cgi-script .cgi .pl .py
Require all granted
AllowOverride All
</Directory>
</IfModule>

Work very well. But when I changed to
Code: [Select]
<Directory /home/*/public_html/>It crash all accesses even-though .htm

Pages: [1]