no acces to httpd.conf: multiple users possible?

Having trouble installing serendipity?
Post Reply
jeroen
Posts: 4
Joined: Sun Jun 18, 2006 9:44 pm

no acces to httpd.conf: multiple users possible?

Post 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
jeroen
Posts: 4
Joined: Sun Jun 18, 2006 9:44 pm

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
jeroen
Posts: 4
Joined: Sun Jun 18, 2006 9:44 pm

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
Post Reply