The time now is Fri Nov 21, 2008 12:27 pm
Log in: Username: Password:
Search forums for:
  
 
ZoneMetrics.com Forum Index
 

ZoneX forums - The new wave in forum management!


how to install mnogosearch ???


ZoneMetrics.com Forum Index -> ZoneX Corner -> Configuration and Installation

Post new topic   Reply to topic
Author Message
solobrian



Joined: 22 Dec 2005
Posts: 6



PostPosted: Fri Dec 23, 2005 5:44 pm    Post subject: how to install mnogosearch ??? Reply with quote

I'm completely confused on where to begin with this installation. It says in the manual that mnogosearch files are included in the zonex installation. Where?? I dont' see any.

And as for reading the "mnogosearch guide", there are 3 different ones on the website:

unix
windows
php front end

Which do I need?

If you can please give me some simple instructions on how to begin this process. Its very confusing for someone whos not a programmer.

Thanks
Back to top
marcus



Joined: 23 Oct 2005
Posts: 17



PostPosted: Sat Dec 24, 2005 12:01 pm    Post subject: Reply with quote

Well, installing mnogosearch is pretty simple and straightforward even it doesn't look so at a first glance. But I had more trouble upgrading mysql from version 3 then while installing mnogosearch. It's important to note that you will need shell access to your server. From there you can use wget program to download mnogosearch latest package. You'll probably want unix version (this one is valid for all unixes and linuxes).
Once latest mnogosearch package is downloaded use tar command to unpack files, like: tar -zxf mnogosearch-x.x.x.tar.gz. You will notice mnogosearch-x.x.x directory after successful decompression. Now it's time to configure your installation. Position yourself to mnogosearch-x.x.x directory and do ./configure --help. You will notice all possible options you can use during configuration. I used to configure with --prefix and --with-mysql options but you may choose different combination, for example: ./configure --prefix=/usr/local/mnogo --with-mysql. Once configuration is finished you need to make and install mnogosearch package, so just type make && make install in the command line. Now you're ready for customization of your search engine. If you've used configure command from above example you can find all files you need to customize in the /usr/local/mnogo/etc directory. You should pay attention to indexer.conf-dist and search.htm-dist which you should rename to indexer.conf and search.htm. First is indexer configuration file in which mnogosearch is intructed what to index and how. Other file, search.htm is search template and instruct search engine what to search and how to display results. You can find more information on search.mnogo.ru documentation.
Also you will need to set script alias to your web server. It depends on web server but if you're using apache you should add something like this:
ScriptAlias /search.cgi "/user/home/mnogo/bin/search.cgi"
<Directory "/user/home/mnogo/bin">
Options None
AllowOverride All
Order allow,deny
Allow from all
</Directory>
in httpd.conf of your server. You can search for httpd.conf using locate httpd.conf or find / -name httpd.conf. Once you add scriptalias and directory directives to httpd.conf you should restart your web server so the changes take effect.

I hope this will help you even it's not definite guide on how to install mnogosearch.

marcus
Back to top
solobrian



Joined: 22 Dec 2005
Posts: 6



PostPosted: Sat Dec 24, 2005 5:06 pm    Post subject: Reply with quote

I am using a shared hosting package, so I have no shell access to the server. Is there any other way to go about installing?
Back to top
marcus



Joined: 23 Oct 2005
Posts: 17



PostPosted: Sat Dec 24, 2005 6:35 pm    Post subject: Reply with quote

Hmmm, only option which came to my mind is to ask your hosting provider to install mnogosearch.
On the other side during the following few months we'll make mnogosearch service freely available through the zonemetrics for new forums and sites, so you may apply. You can take part in beta testing once we finish background. Just PM me your email and I'll let you know when we start with beta testing.
Back to top
Mikaz



Joined: 21 Mar 2006
Posts: 5
Location: Cape Verde



PostPosted: Tue Mar 21, 2006 3:39 pm    Post subject: Can't get it to work Reply with quote

Hi I am installing your forum at my website, I have my own server so i can install and add databases. I've installed zonex and it worked fine now it was time for mnogosearch, I installed it configured the indexer.conf for acessing my database and ran in the /sbin/ the indexer file that created the tables all with sucess, I've put the search.cgi in the cgi-bin folder and made sure that the httpd.conf is well configured. But the thing is it's not working when i press search in the forum i get that page that says to install mnogosearch. Maybe I missed some configuration at the /etc/ folder with indexer.conf or search.htm but i can't find out what, I'm desperate Crying or Very sad I've lost many hours with this and I can't put it to work. Please help me cuz i really like this forum and want to use it
Back to top
marcus



Joined: 23 Oct 2005
Posts: 17



PostPosted: Fri Mar 24, 2006 11:41 am    Post subject: Reply with quote

Hi Mikaz,

Can you post configuration directives you've put into httpd.conf regarding mnogosearch. Also the URL of your search.cgi.

Did you restart Apache after making changes in configuration?

Regards,
marcus
Back to top
Mikaz



Joined: 21 Mar 2006
Posts: 5
Location: Cape Verde



PostPosted: Fri Mar 24, 2006 2:20 pm    Post subject: Httpd.conf Reply with quote

Hi Marcus,

First of all thank for replying. I use plesk 7.5.4 at my server, the url of the website is http://www.n-gate.org/zonex. In my httpd.conf I've put the following:

ScriptAlias /cgi-bin/ "/home/httpd/vhosts/n-gate.org/httpdocs/zonex/cgi-bin/"
# "/var/www/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/home/httpd/vhosts/n-gate.org/httpdocs/zonex/cgi-bin">
Options None
AllowOverride All
Order allow,deny
Allow from all
</Directory>

Before of putting this script alias i had the default that mnogosearch says to put in /usr/local/mnogosearch/bin but the html page saying to install mnogosearch always appeared. Now I've put this one and changed the search.php in the $request part from:

$request = 'search.cgi?q='.str_replace(" ", "+", $search_keywords).'&cmd=Search%21&m=any';

to

$request = 'cgi-bin/search.cgi?q='.str_replace(" ", "+", $search_keywords).'&cmd=Search%21&m=any';

I've created a folder inside the zonex folder called cgi-bin and placed the search.cgi inside. Chmod it to 755 but know i get the 403 error that says "You do not have permission to access this document." I've changed the chmod of the folder and file to 777 but i still get that error. I believe the only thing is missing is configuring the server to execute the search.cgi, at least that's what i think, but i've tried a zillion different configurations and nothing seems to work this error now is the closest I've got.

Hope this helps you figure it out.

Thanks a lot!! Surprised
Back to top
Mikaz



Joined: 21 Mar 2006
Posts: 5
Location: Cape Verde



PostPosted: Fri Mar 24, 2006 2:22 pm    Post subject: Httpd.conf Reply with quote

Oh sorry and by the way i always restart the httpd everytime i change something in httpd.conf so the problem is no from there. Laughing
Back to top
marcus



Joined: 23 Oct 2005
Posts: 17



PostPosted: Sun Mar 26, 2006 1:49 am    Post subject: Reply with quote

Hi Mikaz,

You don't need to copy search.cgi cause it will be hard for you to perform mnogosearch upgrades. For your particular case you should make script alias to /zonex/search.cgi. Let's suppose you've installed mnogosearch in /usr/local/mnogosearch/, setting in httpd.conf should be:

ScriptAlias /zonex/search.cgi "/usr/local/mnogosearch/bin/search.cgi"
<Directory "/usr/local/mnogosearch/bin">
Options None
AllowOverride All
Order allow,deny
Allow from all
</Directory>

With the first line you're instructing server to look for search.cgi inside mngosearch bin directory when it's called by: http://www.n-gate.org/zonex/search.cgi .
It's simple as that.

Regards,
marcus
Back to top
Mikaz



Joined: 21 Mar 2006
Posts: 5
Location: Cape Verde



PostPosted: Mon Mar 27, 2006 6:52 pm    Post subject: 1st solved Reply with quote

Hi Marcus,

Thanks alot for your help, the first problem is solved it doesn't show that screen asking to install mnogosearch Surprised , instead it shows a error 500 , i've checked the permissions in the bin folder and they are 755 which is the normal for cgi executable folders i've changed to 777 and I still get that error, what am I missing? Crying or Very sad

Sorry for all the trouble
Back to top
marcus



Joined: 23 Oct 2005
Posts: 17



PostPosted: Mon Mar 27, 2006 11:24 pm    Post subject: Reply with quote

Hi Mikaz,

No problem. We are here to help if we can.
Can you please check your Apache error log and let me know what it said about this error 500?

Regards,
marcus
Back to top
Mikaz



Joined: 21 Mar 2006
Posts: 5
Location: Cape Verde



PostPosted: Tue Mar 28, 2006 2:26 pm    Post subject: Error log Reply with quote

Hi agaiI took a look at the error log and this error shows alot
"[Mon Mar 27 20:34:26 2006] [warn] child process 19542 still did not exit, sending a SIGTERM"

I dont' know if this shows anything i host dozens of domains so i can tell for sure if this is related to my own, but by the dates and time i believe it is. I copied from error_log in /etc/httpd/logs, i hope it is the right file.


I hope this helps

Thanks alot
Back to top
Display posts from previous:   
Post new topic   Reply to topic All times are GMT

ZoneMetrics.com Forum Index -> ZoneX Corner -> Configuration and Installation

Page 1 of 1

Related topics:
Installed mnogo but where do i add the Script Alias???
using mnogosearch without scriptalias