Re: setup.pl problems

Frank <[email protected]> Sun, 23 May 2004 12:00:40 -0400
Newsgroups gmane.comp.web.perlfect-search
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------030304080603050309020700
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Thanks,

I figured that out.
Everything works.

I have found a bug when installing Perlfect Search on virtual servers.
To index the pages, indexer.pl requires the conf.pl to have only the 
"virtual paths" (e.g. /var/www/cgi/)
To use the search on the actual web pages, search.pl requires the 
conf.pl to have "absolute path listing the virtual site's path" (e.g. 
/home/virtual/site1/fst/var/www/cgi-bin/)

To work-around this, I created two conf.pl files: one listing the 
virtual path and one with the absolute path.
I changed line 61 within search .pl to conf_virtual.pl now I can reindex 
the site using SSH and use the search without having to change the 
conf.pl file back and forth.

Daniel Naber wrote:

>On Sunday 23 May 2004 04:39, Frank wrote:
>
>  
>
>>bash-2.05a$ bash-2.05a$  perl -P setup.pl
>>    
>>
>
>Please try without the "-P" switch.
>
>Regards
> Daniel
>
>  
>

--------------030304080603050309020700
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by hottub.perlfect.com id i4NG1qVL018585

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv=3D"Content-Type" content=3D"text/html;charset=3DUTF-8"=
>
  <title></title>
</head>
<body text=3D"#000000" bgcolor=3D"#ffffff">
Thanks,<br>
<br>
I figured that out.<br>
Everything works.<br>
<br>
I have found a bug when installing Perlfect Search on virtual servers.<br=
>
To index the pages, indexer.pl requires the conf.pl to have only the
"virtual paths" (e.g. /var/www/cgi/)<br>
To use the search on the actual web pages, search.pl requires the
conf.pl to have "absolute path listing the virtual site's path" (e.g.
/home/virtual/site1/fst/var/www/cgi-bin/)<br>
<br>
To work-around this, I created two conf.pl files: one listing the
virtual path and one with the absolute path.<br>
I changed line 61 within search .pl to conf_virtual.pl now I can
reindex the site using SSH and use the search without having to change
the conf.pl file back and forth.<br>
<br>
Daniel Naber wrote:<br>
<blockquote type=3D"cite" cite=3D"[email protected]">
  <pre wrap=3D"">On Sunday 23 May 2004 04:39, Frank wrote:

  </pre>
  <blockquote type=3D"cite">
    <pre wrap=3D"">bash-2.05a$ bash-2.05a$ =C2=A0perl -P setup.pl
    </pre>
  </blockquote>
  <pre wrap=3D""><!---->
Please try without the "-P" switch.

Regards
 Daniel

  </pre>
</blockquote>
</body>
</html>

--------------030304080603050309020700--


_______________________________________________
perlfect-search mailing list
[email protected]
To unsubscribe, set other personal options or view the list archives please visit:
http://perlfect.com/mailman/listinfo/perlfect-search