CGI scripts won't work???

Discussion in 'HTML & Website Design' started by canasta, May 22, 2007.

  1. #1
    I installed a cool pagepeel script today and had to
    upload a .htaccess file with this in it:-

    RewriteEngine On
    RewriteRule ^style.js$ style.php [L,NC]

    The new script works great
    BUT....my guestbook has stopped working
    and just displays the code of the cgi file

    Can any of you guru's shed light on how I can fix this please?

    http://canastahotel.com/guestbook/guestbook.cgi
     
    canasta, May 22, 2007 IP
  2. canasta

    canasta Member

    Messages:
    65
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #2
    anybody help with this?

    it's not permissions - it was working great for 5 years up to 5pm tonight
    it co-incided with me uploading that .htaccess file
     
    canasta, May 22, 2007 IP
  3. canasta

    canasta Member

    Messages:
    65
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #3
    Thanks anyway - Googled "htaccess +cgi"
    and found that if I added a htaccess file to the directory I wanted to use script in containing:-
    Options +ExecCGI
    AddHandler cgi-script cgi pl

    that should do it....and it did :eek:)

    Happy Bunny once again
     
    canasta, May 22, 2007 IP