Categories
· Show all categories
· New Customer FAQs
· E-Mail
· FTP - File Transfers
· Domains
· SSH and Telnet
· Scripting Languages
· Perl - Cgi
· Php - Dynamic Pages
· SSI - shtml
· Password Protection
· MySQL
· Stats
· Power Tools
· FAQ Home
· EchoEcho+ Support
|
Scripting Languages: How do I enable scripts outside of my cgi-bin folder?
|
Add a .htaccess file with this content to your /var/www/html folder:
Options +ExecCGI
AddHandler cgi-script .cgi .pl
This will enable cgi in the main html folder and its child folders.
----------
A .htaccess file is a plain text file named ".htaccess".
Create the file using a very simple editor that doesn't add any formatting to the file.
Do not use complex editors like "MS Word" but rather a simple editor like "NotePad" available on most Windows systems or TextEdit on Mac.
Make sure that you transfer the .htaccess file in ASCII mode (or "plain text" mode) when you upload it with FTP.
Last update: 12.07.2009, 21:13 Author: EchoEcho Support
|
You cannot comment on this entry | Content Overview: Scripting Languages
|
|
|