Thread: Flat file DB

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

    Join Date
    May 2002
    Posts
    2
    Rep Power
    0

    Question Flat file DB


    new to this forum so Hello to all.
    I have a text database I would like to use with my Search Engine site ( i will be using Smartsearch) and they tell me I can have my own database incorporated into the engine. I cant for the life of me get it to work so here is how I set it up and if any one could help I would be so greatful.

    data|is put|inlines|such as|this
    but I|donot|know|exactly how|

    I have a file called "vars.cgi" that asked for the full url to the DB_file So I call it like so...
    http://mysite.com/cgi-bin/smartsearch/file.txt
    I have tried the following permissions on the server inside the cgi folder.... 666,777.755,644 and nothing seems to work.
    I get an INTERNAL SERVER ERROR.

    Please try and help me. or if you could point me to a nice tutorial site on these type databases and permissions.
  2. #2
  3. yet another member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2001
    Posts
    262
    Rep Power
    14
    Hi!

    You don't know what exactly caused the 500 ERROR, do you? Before looking into database issues I'd examine vars.cgi.

    Is it running at all (with other input than your texts file's url)?

    Regards,

    Atrus.
    Webmaster - Stefan Meier KG TABAKWAREN - Pfeifen, Premium-Zigarren, ... (_Ger)
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2002
    Posts
    2
    Rep Power
    0

    Fkat File DB


    Originally posted by Atrus
    Hi!

    You don't know what exactly caused the 500 ERROR, do you? Before looking into database issues I'd examine vars.cgi.

    Is it running at all (with other input than your texts file's url)?

    Regards,

    Atrus.
    Thank yes everything else runs great. I got both 500 error and page cannot be displayed.
  6. #4
  7. No Profile Picture
    Moderator =(8^(|)
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Feb 2002
    Location
    Sacramento, CA
    Posts
    1,710
    Rep Power
    14
    Check the permissions on your smartsearch directory, make sure it's executable by all. You could also try putting your file.txt in the root of your site to see if that makes a difference.

IMN logo majestic logo threadwatch logo seochat tools logo