Page 1 of 1
no acces to httpd.conf: multiple users possible?
Posted: Wed Aug 09, 2006 11:19 pm
by jeroen
Hi,
I would like to run multiple instances of Serendipity. I read the guide at
http://www.s9y.org/41.html. However, my site is hosted on a shared server.
- PHP safe mode is switched off, that's good
- I can make unlimited subdomeins through the plesk admin interface, but I cannot edit httpd.conf myself.
Will the information at
http://www.s9y.org/41.html still work for me? Or shouldn't I waste any time on it and simply double install s9y?
Thanks for your time.
Jeroen
Posted: Thu Aug 10, 2006 2:32 pm
by jeroen
I just got an e-mail from the hosting service: I can't make multiple virtual hosts. So it's game over....
~Jeroen
Posted: Thu Aug 10, 2006 2:34 pm
by garvinhicking
Hi!
Not necessarily. The documentation is all suited for multiple vhosts, but you can make the shared install of s9y also work simply within multiple subdirectories of the same blog.
You just need to make specific .htaccess settings for each directory, most important the "include_path" settings. And you might need to set your PHP cookie sessions to apply to a path and not the whole server...
Best regards,
Garvin
Posted: Thu Aug 10, 2006 2:59 pm
by jeroen
Thanks Garvin!
That gives me some new hope. Have to admit though: I'm just starting to learn webdesign and managing a website, so I've never edited a .htaccess myself (I did take a look at one off course).
I'm obviously not going to ask you to walk me through this, but it would be nice if you could point me to more n00b-compliant information

Meanwhile I'll see if I can find some docs and guides on using .htaccess in general.
Thanks again,
Jeroen
Posted: Thu Aug 10, 2006 3:04 pm
by garvinhicking
Hi!
Actually you can use pretty much the info as given on the VHost pages. Instead of making the settings in the httpd.conf you will need to make those inside your .htaccess. You need to set include_path so, that every subdirectory is able to access the path to your core s9y installation.
About the cookie settings, I'm currently not that much into this, so you'll have to try. The worst thing that could happen is if you log in to the blog in /path1 you would also be logged into /path2. Because sessions are usualylv alid for the whole server, and you would need to adjust the cookie so that it is set for a specific directory instead...
HTH,
Garvin