Problems when uploading the data directory from win 98 to the remote host

"morgan cox" <[email protected]> Tue, 22 Apr 2003 14:01:01 +0100
Newsgroups gmane.comp.web.perlfect-search
Message-ID <001a01c308cf$3a535c60$0200a8c0@fileserve>
Hello,

From what I've seen the perlfect script seems very good, I am having one massive problem however..

I realised quite quickly that i could not index my complete site on-line (due to isp restrictions), it also stopped index about 1/2 way through.

I then learnt about apache webserver which i installed on my win98 machine. After much messing about i managed to get apache server working on my local machine, after installing perl and the DB_File module i managed to index the entire site on my local machine, i also tested it (locally) and everything was fine.

BUT when i uploaded the data directory to my online host every time i go to search it comes up with 500 server error!.

I know it must be something either in the apache setup or the conf.pl as i have got the search to work both offline and online, i just need to be able to use the index data directory files that i created offline for my online site.

I have managed to index parts of the site online (i.e using the noindex file to prevent it indexing the larger directories) and as long as i index online the search works online. This is not good as i need to index the whole site!

One thing to also note is that when i copy the data directory from the online site to my local site i cannot search on my local site (i.e - to search on my local site I need to index on my local site).

Hope someone out there can help , i've come so far and am being stumped at the last hurdle.

* MORE INFO

Hi i've uncommented the #use CGI: :Carp qw(fatalstoBrowser) line in search.pl as advised. 

here are the error messages i have found:

1) when i use the data folder indexed from the online site to my apache server i get these errors in my error.log when attempting to search

[Wed Apr 16 16:48:46 2003] [error] [client 127.0.0.1] (OS 2)The system cannot find the file specified.  : couldn't create child process: 720002: search.pl, referer: http://localhost/
[Wed Apr 16 16:48:46 2003] [error] [client 127.0.0.1] (OS 2)The system cannot find the file specified.  : couldn't spawn child process: C:/home/autobus/cgi-bin/perlfect/search/search.pl, referer: http://localhost/

2) when i use the data folder indexed from my local (apache) server and uploaded it to the web i get this error message in my browser when attempting to search
Software error:
Cannot open /home/autobus/cgi-bin/perlfect/search/data/inv_index: Inappropriate file type or format at search.pl line 76.

Is it due to the fact that you can't index a site on a windows machine then put it on a webserver???

Any help would be ace!!