Re: [estraier-users] Help in viewing indexed documents with apache?
Status: Beta
Brought to you by:
mikio
From: Fumitoshi U. <uk...@de...> - 2006-09-12 16:13:43
|
At Tue, 12 Sep 2006 11:42:41 -0400, Thomas Munn wrote: > I managed to get the indexer to work great, and got by all the 'cgi' issues > with the appropriate directives in my httpd.conf (public_html etc), however, > when I click on a link provided by the search engine I get the following in > my apache errors.log: > > Tue Sep 12 11:23:22 2006] [error] (8)Exec format error: exec of > '/home/sanitized/public_html/index/shared/ChrisQ/Web > Reports/Accounting/Royalty Generic.pdf' failed > > [Tue Sep 12 11:23:22 2006] [error] [client 127.0.0.1] Premature end of > script headers: Royalty Generic.pdf, referer: > http://localhost/~sanitized/estsearch.cgi?phrase=%5B0-9%5D%7B9%7D&max=8&clshow=0&drep=0&sort=score&expr=regex > > [Tue Sep 12 11:23:26 2006] [error] (8)Exec format error: exec of > '/home/~sanitized/public_html/index/shared/ChrisQ/Web Reports/Accounting/ST > LEO PYTS.pdf' failed Seems your httpd.conf is not appropriate. It seems your directives specify all files under public_html as cgi program, so that apache tries to execute even pdf files (and of course, it fails). Regards, Fumitoshi UKAI > > Here is my public home directory setup: > > drwxr-xr-x 4 users 4.0K 2006-09-12 09:09 casket > -rwxr-xr-x 1 users 215K 2006-09-11 14:55 estsearch.cgi > -rw-r--r-- 1 users 3.4K 2006-09-12 09:15 estsearch.conf > lrwxrwxrwx 1 users 15 2006-09-12 08:49 index -> /index/ > -rw-r--r-- 1 users 4.2K 2006-09-11 14:55 estsearch.tmpl > -rw-r--r-- 1 users 1.7K 2006-09-11 14:55 estsearch.top > > My userid is the owner of the symlink directory linking to /index on my > filesystem. The web user runs as www-data with group of www-data. > > Otherwise great program! > > Thomas > ----------------------- > Two Wheels Good, Four Wheels Bad > [1.2 <text/html; ISO-8859-1 (7bit)>] > > [2 <text/plain; us-ascii (7bit)>] > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > [3 <text/plain; us-ascii (7bit)>] > _______________________________________________ > estraier-users mailing list > est...@li... > https://lists.sourceforge.net/lists/listinfo/estraier-users |