Thread: .htacess

    #1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Posts
    5
    Rep Power
    0
    Hi,

    I placing a question on multiple forums to see if some one can lend some advise.

    I have a cgi search script. Results are yielded by merging data with an html template. I can design the template however I like because it is just html. When results are shown on the screen, the url is search.cgi. Because it is a cgi my ssi's do not work. I need a way to structure the ssi's within a cgi.

    I have placed a .htacess file in my dir and tried the following:

    AddHandler cgi-script .html
    AddType text/x-server-parsed-html .html

    The cgi works but still no ssi.

    Thank you for any help.

    Art
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 1999
    Location
    foo (ca)
    Posts
    11
    Rep Power
    0
    Well, check out http://bignosebird.com for a tutorial on htaccess.

    Basically, what it sounds like is that either the handler for includes is tied to a file extension on your sever other than the one you are using (such as .shtml), or includes are not turned on in your server software. Check your server documentation.

    bio

Similar Threads

  1. .htaccess vs httpd.conf
    By sonjay in forum Apache Development
    Replies: 6
    Last Post: February 21st, 2003, 08:01 PM
  2. .htacess delete
    By clojita in forum Apache Development
    Replies: 3
    Last Post: December 4th, 2001, 09:16 PM

IMN logo majestic logo threadwatch logo seochat tools logo