From the wiki doc, I can see that serendipity supports a shared installation. However it seems to me that you need access to the apache configuration. (Or am I wrong?)
I don't have subdomains, and I have only ftp access to my webserver. Basically, I just want two weblogs for two different users. We trust each other so it's ok if there is no access control between the two blogs. Is this possible without having two copies of serendipity? I can use MT, but I hate the rebuild "feature".
Multiple blogs, but not on my own server?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Multiple blogs, but not on my own server?
You can try to do so if you can manage to set the include_dir directive of PHP to point to the shared installdir. Maybe it works per .htaccess in your installation:lilham wrote:From the wiki doc, I can see that serendipity supports a shared installation. However it seems to me that you need access to the apache configuration. (Or am I wrong?)
I don't have subdomains, and I have only ftp access to my webserver. Basically, I just want two weblogs for two different users. We trust each other so it's ok if there is no access control between the two blogs. Is this possible without having two copies of serendipity? I can use MT, but I hate the rebuild "feature".
php_value include_dir ".:other_dirs:/home/serendipity/shared".
Set that for both subdomains which should access the shared installation.
The apache virtualhost documentation is just used to easily promote those variables and to make use of security issues (open_basedir et al). But it should work without. Though I haven't tried it.
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/
# 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/
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Multiple blogs, but not on my own server?
You can try to do so if you can manage to set the include_dir directive of PHP to point to the shared installdir. Maybe it works per .htaccess in your installation:lilham wrote:From the wiki doc, I can see that serendipity supports a shared installation. However it seems to me that you need access to the apache configuration. (Or am I wrong?)
I don't have subdomains, and I have only ftp access to my webserver. Basically, I just want two weblogs for two different users. We trust each other so it's ok if there is no access control between the two blogs. Is this possible without having two copies of serendipity? I can use MT, but I hate the rebuild "feature".
php_value include_dir ".:other_dirs:/home/serendipity/shared".
Set that for both subdomains which should access the shared installation.
The apache virtualhost documentation is just used to easily promote those variables and to make use of security issues (open_basedir et al). But it should work without. Though I haven't tried it.
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/
# 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/
I've looked into this a little further. The .htaccess doesn't work, and my guess is that the apache installation doesn't have AllowOverride All.
However, it seems that I can set the include path on a per file bases using PHP's set_include_path()
Is there a simple way to insert this on every page?
However, it seems that I can set the include path on a per file bases using PHP's set_include_path()
Code: Select all
<?
set_include_path(get_include_path() . ":" . $s9y_shared_dir);
?>-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Lilham, if you can't set it in .htaccess the only idea I have is to set a 'global_prepend_file' with this instructions.
You may try to insert the line in serendipity_config.inc.php and see if that works - there's already a similar line inserted.
Regards,
Garvin.
You may try to insert the line in serendipity_config.inc.php and see if that works - there's already a similar line inserted.
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/
# 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/