Shared installation

Having trouble installing serendipity?
Post Reply
rob21
Regular
Posts: 21
Joined: Sat Jul 28, 2007 4:49 pm
Location: mi

Shared installation

Post by rob21 »

Does it work with version 1.1.2 ?? I don't have the option to upgrade.

I don't see much about it in the forum.
Last edited by rob21 on Tue Aug 07, 2007 9:38 pm, edited 1 time in total.
Thanks to all who help
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

I am using 1.2alpha and 1.3alpha with one core-installation and two or more instances using this single core installation. And it works perfect.
Ciao, Stephan
rob21
Regular
Posts: 21
Joined: Sat Jul 28, 2007 4:49 pm
Location: mi

Shared installation

Post by rob21 »

No one answered as to whether shared installation works on v 1.1.2. From searching the forum, I think it will.

For me the instructions are vague and over my head. :(

I created the directories and the httpd.conf file. However, I can only figure out part of it.

I have would have dificulties getting all questions answered here. Is there some one in the USA or Canada I could call or do voice with someone anyplace in the world using Yahoo Instant Messenger? (English please)

Please!!!!! :)
Thanks to all who help
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Re: Shared installation

Post by stm999999999 »

rob21 wrote:No one answered as to whether shared installation works on v 1.1.2. From searching the forum, I think it will.
I did not see any reason why it should not work with 1.1.2 - but there could be security changes in 1.1.4 and perhaps improvements to the shared-variante.
Ciao, Stephan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Shared installation

Post by garvinhicking »

Hi!

Yeah, shared install works in every s9y version since 0.7.

What's the part you can't figure out? I can offer commercial voice support, if you like, through our company (75 Euro/hour).

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
rob21
Regular
Posts: 21
Joined: Sat Jul 28, 2007 4:49 pm
Location: mi

Post by rob21 »

Thanks Garvin

$102.00 an hour is out of my reach.

I'm retired or is it tired! I am doing the website for the church for free.

I'll do my best to document everything clearly. Currently the website root is a sub-directory on my site. (spartaumc)

Root dir is:
http:/melendy-mi.us/spartaumc

The path to serendipity is:
http://melendy-mi.us/spartaumc/serendipity


httpd.conf

<VirtualHost 10.6.171.75:80>
ServerName church.melendy-mi.us
DocumentRoot /spartaumc/serendipity/www/church.melendy-mi.us/htdocs
<Directory "/spartaumc/serendipity/www/church.melendy-mi.us/htdocs">
AllowOverride All
</Directory>
php_value include_path ".:/usr/local/lib/php:/usr/local/lib/php/s9y/:/usr/local/lib/php/s9y/bundled-libs/"
php_admin_value open_basedir "/usr/local/lib/php/:/usr/local/lib/php/s9y/:/spartaumc/serendipity/www/church.melendy-mi.us/"
</VirtualHost>

I will create a sub-domain church.melendy-mi.us

Is the IP address the database address?

I'm confused fron the given example as to where to put the htdocs sub-dir.
I think it should be somewhere below serendipity sub-dir. If it's only used for shared hosting, I would put it below usr or www.
If so, I need to change the "Directory" path in the conf file.

Where do I put the httpd.conf file?

In the serendipity dir, I created: usr/local/lib/php/s9y and www/church.melendy-mi.us

In the s9y dir I put a copy of all serendipity files.

:roll:


Thanks
Thanks to all who help
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!
$102.00 an hour is out of my reach.

I'm retired or is it tired! I am doing the website for the church for free.
I can understand that. I'm giving free support here, so there's no problem with me. But I can't offer free voice support (or any other synchronous support), that is much too time consuming.

I think your main question:
Where do I put the httpd.conf file?
is your core problem. The httpd.conf is the central configuration file of your webserver! You need to be able to access this EXISTING file, so you are not allowed to put it anyhwere.

The same applies to /usr/local/lib/php/s9y. You are NOT allowed to create that in your subdirectory of your server's FTP installation. You must access that existing /usr/local/lib directory, usually only the root user of the webserver has access to it.

To really use the shared installation, you should be familiar with how Apaches DocumentRoot and .htaccess directives work. If you have no experience with that, you should really not use the shared installation but instead setup a stand-alone serendipity installation for each blog you want to use. Simply install serendipity on each directory where you want it and use a different database table prefix to run multiple serendipity installations parallely.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

hm,
You are NOT allowed to create that in your subdirectory of your server's FTP installation. You must access that existing /usr/local/lib directory, usually only the root user of the webserver has access to it.
sure?

I have no problem (on two systems) to manage it like this way:

setting 1: every subdomain has its own htdocs-enviroment:

core files in:

/home/www/my-account/s9y

and the files from deployment in:

/home/www/my-account/blog1/htdocs/
/home/www/my-account/blog2/htdocs/

and in the deployment files instead of

Code: Select all

require_once 's9y/comment.php';
/* vim: set sts=4 ts=4 expandtab : */
?>
new:

Code: Select all

require_once '../../s9y/comment.php';
/* vim: set sts=4 ts=4 expandtab : */
?>
and the other setting - one single htdocs for all subdomains, but I can configure the concret folder for each subdomain:

/server/my-account/html/s9y

and

/server/my-account/html/blog1
/server/my-account/html/blog2

Code: Select all

require_once '../s9y/comment.php';
/* vim: set sts=4 ts=4 expandtab : */
?>
Ciao, Stephan
rob21
Regular
Posts: 21
Joined: Sat Jul 28, 2007 4:49 pm
Location: mi

Post by rob21 »

On my shared hosting I don't have access to the httpd.conf file or usr bin and they won't do it for me.


Thanks everybody :?
Thanks to all who help
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi Rob!

As stm9x9 outlined, you don't necessarily need access to httpd.conf. But you need an understanding of what it does to be able to do similar things via a .htaccess file (like stm9x9 uses for his install).

But in your case, without the knowledge, I really recommend setting up individual s9y blogs.

Regards,
GArvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

I do not need htacces, neither.

perpaps the best way to make progress:

Tell us, what your possibilities are. Once you speak about shared hosting - do you mean "normal" webhosting on a normal provider with many other customers on this server?

/spartaumc/serendipity/www/church.melendy-mi.us/htdocs on the other hand sounds more than you have full access to a server.
Ciao, Stephan
Post Reply