YaBBForum Support
General Category >> Issues >> Can't run in webroot
https://yabbforum.nz/support/index.pl?num=1787991208

Message started by Fortune on 29.08.2026 at 20:13:28

Title: Re: Can't run in webroot
Post by Root on 29.08.2026 at 20:17:01

Fortune wrote on 29.08.2026 at 20:13:28:
I have discovered a hosting provider that doesn't allow perl to run outside of cgi-bin who I will be leaving but is there a way to run perl in the webroot anyway?


yes
     
    If your web host has disabled running perl in the webroot, you need to manually instruct the Apache web server to handle those extensions as executable scripts.

    Create or edit the .htaccess file in your webroot folder and add the following lines:

    Options +ExecCGI
    AddHandler cgi-script .pl .cgi

   

YaBBForum Support » Powered by YaBBForum 3.1!
YaBB Forum Software © 2000-2026. All Rights Reserved.