Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: fixit on April 10, 2006, 06:13:55 AM

Title: I need more info on the Web Application Guidelines
Post by: fixit on April 10, 2006, 06:13:55 AM
I am wanting to setup Metadot Portal Server on SME, so far I have managed to install it into an Ibay, which I understand is not the correct place to put Web Appz according to the link below.

http://no.longer.valid/phpwiki/index.php/Web%20Applications%20Guidelines?action=BackLinks

What I would like to know is

Is there a howto which explains the correct location to install Web Apps

Also, is there an example to follow

Thanks, Russell
Title: I need more info on the Web Application Guidelines
Post by: thethinman on April 10, 2006, 04:01:49 PM
Hi Russell,
Sorry I can't help you with the Web App protocol but I was wondering if you have put together a howto for installing Metadot.  I've installed Metadot on a 6.01 machine but get hung up with perl module installs and Apache config with 7rc1.  Metadot is a nice CMS but installation is much harder than other systems.

Thanks.
Title: I need more info on the Web Application Guidelines
Post by: fixit on April 10, 2006, 04:31:44 PM
Yes, I do have a howto for metadot, I will post a link here tomorrow, the howto is not complete, some final touch ups needed.

Russell
Title: I need more info on the Web Application Guidelines
Post by: thethinman on April 10, 2006, 06:02:50 PM
Thanks Russell.  That would be great.
Title: I need more info on the Web Application Guidelines
Post by: fixit on April 12, 2006, 04:07:28 PM
I have created an install script to do most most of the work and also provided some notes on my installation method, links provided below

http://www.fixitcomputers.com.au/downloads/Readme.pdf

run this command from console using root

wget http://www.fixitcomputers.com.au/downloads/metadot6.4.5_install.sh

then run the install script

sh metadot6.4.5_install.sh

may take a while to complete

then have a look at the readme file and follow the rest of the installation method

good luck
Title: Metadot Install Works
Post by: kingjm on May 07, 2006, 06:02:59 PM
This install works great.  I have never used this before but it looks promising.  How can I edit my primary page and others with this program... It seems that all I can edit and create is yourserver/metadot/index.pl

Should I create a Virtual host in Metadot and set the directory to the primary location?
Title: I need more info on the Web Application Guidelines
Post by: fixit on May 08, 2006, 01:16:25 AM
First you need to login as admin, the default User Name is: admin and the password should be: 123456

Once logged in you will have enable edit button down the bottom of the page, click on enable editing, this will give you more editing options, check under the top navigation bar, you should have 3 extra menus and 2 dropdown menus.

To edit the front page, you will notice edit buttons above each group of text, this will give the option to edit the text of each section.

You may also want to change the default password as well, while your in edit mode, you will notice the there is a dropdown menu that says: manage, click the dropdown menu and select, My Profile and change password.

Good Luck with metadot, let me know how you go

Russell
Title: Re: Metadot Install Works
Post by: fixit on May 08, 2006, 03:26:33 AM
Quote from: "kingjm"
This install works great.  I have never used this before but it looks promising.  How can I edit my primary page and others with this program... It seems that all I can edit and create is yourserver/metadot/index.pl

Should I create a Virtual host in Metadot and set the directory to the primary location?


The way the install script works is that it will use the primary ibay, if you want a different ibay you will have to modify the install script or do manual install.

you should be able to modify every page once enable edit mode has been activated

if you need anymore assistance, email russell@fixitcomputers.com.au with subject; metadot

Russell
Title: Install script
Post by: Agent86 on September 06, 2006, 07:09:17 PM
Hi,

If I install into a ibay then I would edit only the parts of the script that show the path currently as ibays/Primary to the locations of my ibay/myibays ?

Am I correct on this or is there more of the script that I would need to change before installing into the ibay ?
Title: I need more info on the Web Application Guidelines
Post by: fixit on September 07, 2006, 03:51:17 AM
you will also need to edit the 87metadot template fragement as well, and  you will need to modify these lines in the metadot.conf file to match the location where you installed metadot on your server.

change Primary to the name of the ibay where metadot is installed in the metadot.conf

Line 16 change the password created in the mysql setup. pass = yourpassword,

Line 34 change /home/e-smith/files/ibays/Primary/html/sitedata/public

Line 48 49 50, remove #

Line 103 change to /home/e-smith/files/ibays/Primary/html/sitedata/skins


87metadot located in
/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/

change Primary to the name of the ibay where metadot is install

#Metadot

Alias   /images/   /home/e-smith/files/ibays/Primary/html/images/
Alias   /js/      /home/e-smith/files/ibays/Primary/html/js/
Alias   /metadot/  /home/e-smith/files/ibays/Primary/html/metadot/
Alias   /public/   /home/e-smith/files/ibays/Primary/html/sitedata/public/
Alias   /skins/    /home/e-smith/files/ibays/Primary/html/sitedata/skins/
Alias /htmlarea3/ /home/e-smith/files/ibays/Primary/html/js/htmlarea3/

<Location   "/metadot/">
   SetHandler   cgi-script
   PerlHandler   speedy::Registry
   PerlSendHeader   On
   Options      +ExecCGI
   DirectoryIndex   index.pl
</Location>


Then run these commands afterwards

expand-template /etc/httpd/conf/httpd.conf

/etc/rc.d/init.d/httpd-admin restart

/etc/rc.d/init.d/httpd-e-smith  restart

Good luck, Russell
Title: cool thanks I'll try it
Post by: Agent86 on September 08, 2006, 10:13:43 PM
Thanks for the info I'll try it this weekend and post my results.
Title: I'm lost
Post by: Agent86 on November 02, 2006, 04:44:56 AM
I do not understand some parts of the reame please clarrify the process

Adding index.pl to DirectoryIndex
modify 50DirectoryIndex00 to include index.pl
cd /etc/e-smith/templates/etc/httpd/conf/httpd.conf/
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
DirectoryIndex index.htm index.html index.shtml index.cgi index.pl


Thanks
Title: I need more info on the Web Application Guidelines
Post by: fixit on November 05, 2006, 02:32:48 AM
Quote
I do not understand some parts of the reame please clarrify the process

Adding index.pl to DirectoryIndex
modify 50DirectoryIndex00 to include index.pl
cd /etc/e-smith/templates/etc/httpd/conf/httpd.conf/
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
DirectoryIndex index.htm index.html index.shtml index.cgi index.pl


index.pl needs to be added to the DirectoryIndex00 located in

/etc/e-smith/templates/etc/httpd/conf/httpd.conf

edit the file 50DirectoryIndex00 to include index.pl


Example of what 50DirectoryIndex00 should look like with index.pl added

DirectoryIndex index.htm index.html index.shtml index.cgi index.pl

Hope this clears things up for you

Russell
Title: Metadot
Post by: Agent86 on November 05, 2006, 03:25:32 AM
Thanks for the help

I'm considering moving this to an ibay is this possible or do I have to change the installation completely ?
Title: I need more info on the Web Application Guidelines
Post by: fixit on November 05, 2006, 05:12:58 AM
Quote
I'm considering moving this to an ibay is this possible or do I have to change the installation completely ?


You can move it to another ibay, you will need to make changes to your metadot.conf and also make changes to 87metadot template fragment to point to the new ibay where you put metadot.

Russell
Title: I need more info on the Web Application Guidelines
Post by: stephen noble on November 10, 2006, 12:34:31 AM
to answer the original question

the devguide
http://mirror.contribs.org/smeserver/contribs//gordonr/devguide/html/devguide.html#STEP-BY-STEP-INSTRUCTIONS

to make an rpm
http://mirror.contribs.org/smeserver/contribs//gordonr/devguide/html/devguide.html#APPLICATION-PACKAGING
one for metadot if you can't find a el4 rpm
one for smeserver-metadot

examples here,
http://sme.dungog.net/packages/smeserver/7.0/i386/html/index_dungog.html
the source rpm is under the yes link to the right

see also
http://www.dungog.net/sme/webapp.php

regards stephen
dungog.net/sme