Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Server side includes

Options
  • 09-10-2002 2:16am
    #1
    Registered Users Posts: 7,468 ✭✭✭


    Is there a specific place on a .shtml page that the tag has to go?*

    I'm trying to get a <!--#exec cgi--> tag to work. While there is no error message in the webpage and perl- w works fine with it. The scipt I'm calling doesn't seem to work. (This is on linux)


Comments

  • Registered Users Posts: 3,886 ✭✭✭cgarvey


    Have you enabled SSI's on your webserver? If its Apache then by default they're not.

    Make sure to uncomment
    AddType text/html .shtml
    AddHandler server-parsed .shtml

    .cg


  • Registered Users Posts: 7,468 ✭✭✭Evil Phil


    Yeah, thats all taken care of. I uploaded the scripts as DOS ASCII. Doh!

    /me slaps forehead

    [later that morning]
    Do you have to do something similar for SSI on jsp?
    [/later that morning]


Advertisement