LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Got myself into a pickle with vhosts, permissions (again)

Reply
 
Thread Tools Display Modes
  #1  
Old 04-21-2006, 04:16 PM
ColinD ColinD is offline
New Member
 
Join Date: Apr 2006
Posts: 1
Default Got myself into a pickle with vhosts, permissions (again)

Hi guys,

Ok a bit of background, I'm looking to help out my webserver, dual xeon 3 with 2Gig of Ram, basically begin to migrate sites from apache. I host a couple of small sites with about a 20k userbase; thankfully not all on at once. I have a demo of zeus to redo as well, but I really prefer your price points and knowing that ruby works for some already.
Incidentally I came to litespeed via this article:
http://www.railtie.net/articles/2006...speed-of-light

while seeking alternatives to the apache fastcgi nightmare.

I've had a good search and found a nice thread about doing checks with sudo -u nobody ls /<path to vhost root> and I can see the directories, but alas the admin panel thinks differently.

No joy using directories outside of litetspeed so I swicthed to along side the DEFAULT folder. Some joy there, but I still had to manually create the conf.xml; despite eventually setting that directory to nobody.nobody and 777.

Now I'm not a great linux admin, I get by but I'm confused at the moment and I'm hoping somebody can shed some light on this for me in a clear way.

I have multiple virtual hosts under apache, each (cpanel) in there own direcotry. eg

/home/user1
/home/user2

Each user dir is made up of various dir's importantly a public_html and a symlnk to www.

public_html is set to user1.nobody and so for each user and apache is set to run as nobody.

Now what I am trying to ultimately do is configure some of these accounts for ruby on rails. A typical ROR directory structure within the users home would be
/home/user1/railsapp

Within that is a config, public and logs dir. Ideally I would like to point the vhost directly to the railsroot picking up on config folder and public. so using /home/user1/railsapp as the vhost root and the config set as $VH_ROOT/config/VH_conf.xml

Now I've tried a number of combinations and gone back to the default apache folders, alas no joy in getting past hte *path does not exist and please create messages. I'm confused as apache is serving from these pages usign the .nobody ideas.

I know I must be doing somthing daft; it's late here, but can somebody attempt to explain using the above data how / what I need to check / do. I hope I have made some sense and justified my question to you.

Thanks for reading.

Colin.

/as a foot note, the directories already exist.
/I'm the only shell user and I've just read about lsws not serving static files which are executable, alas I'm not that far yet, but one to remember.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
vhosts not showing in admin panel felosi Apache Migration/Compatibility 4 06-20-2007 07:58 PM
cpanel vhosts status "Restart Required"? typist Install/Configuration 1 02-28-2007 09:00 AM
uid, gid warnings, and vhosts not showing up in panel djsodom Install/Configuration 1 11-20-2006 10:30 AM
Viewing VHOSTS cschwan Install/Configuration 1 08-01-2006 12:29 AM
vhosts, keep-alive and some other questions xinn Install/Configuration 1 08-26-2005 08:05 AM


All times are GMT -7. The time now is 09:48 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.