Normal Topic Can't run in webroot (Read 11 times)
Root
Forum Administrator
*
Offline


I love YaBBForum 3.0

Posts: 39
Location: New Zealand
Joined: 14.07.2026
Gender: Male
Re: Can't run in webroot
Reply #1 - yesterday at 20:17:01
Print Post  
Fortune wrote yesterday 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

  
Back to top
WWW  
IP Logged
 
Fortune
New Member
*
Offline


I Love YaBB 3.1!

Posts: 12
Joined: 14.08.2026
Gender: Male
Can't run in webroot
Yesterday at 20:13:28
Print Post  
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?
  
Back to top
 
IP Logged
 
Bookmarks: Facebook Digg Linked in reddit Twitter