Site Panel Help User Panel Help Panel Demo's Search Help

Categories

· Show all categories

· New Customer FAQs
· E-Mail
· FTP - File Transfers
· Domains
· SSH and Telnet
· Scripting Languages
  · Perl - Cgi
· Password Protection
· MySQL
· Stats
· Power Tools

· FAQ Home

· EchoEcho+ Support

Perl - Cgi: Images in cgi-bin folder
For security reasons you can't place images in the /var/www/cgi-bin folder by default.

If you wan't to host an image folder you need to add this to an .htaccess file in that folder:
------------
Options -ExecCGI
SetHandler None
------------




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

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:14
Author: EchoEcho Support

printer-friendly version Send to a friend
Show this as PDF file export as XML-File

Average rating: 0 from 5 (0 Votes )

Please rate this entry:
completely
useless

1

2

3

4

5
most
valuable
You cannot comment on this entry | Content Overview: Perl - Cgi
Copyright © EchoEchoPlus Hosting