On 09 Oct 2008, at 05:36, Hassan Schroeder wrote:

>> I am trying to install/configure Passenger on a dedicated centos
>> server. I have installed passenger successfully, but i am having to
>> much troubles trying to configure it with my dedicated server
>
>> First of all, my dedicated server uses cpanel, this means that i can
>> not just open directly the http.donf file to make changes because
>> cPanel rebuilds the file on every update or account creation by
>> compiling from its userdata files.
>
> If it's a "dedicated server", you should be able to configure it any
> way you want -- so why don't you turn off this "cpanel" thing, which
> sounds like total crap, and edit your conf files as needed?
>
> I just installed passenger/mod_rails on a system yesterday for the
> first time, and it took about 5 minutes. It sounds like your problem
> is with cpanel, not passenger.

Every control panel system has a way of adding custom configurations  
to certain accounts.

For plesk, that would be by creating a new file in the /var/www/vhosts/ 
domain.com/conf/ directory named vhost.conf. You can add extra  
directives there or override existing ones. After configuring the  
file, you can just do "/usr/local/psa/admin/sbin/websrvmng -- 
reconfigure-vhost --vhost-name=domain.com"

A simple google search brings up the following for cpanel 
(http://www.cpanel.net/support/docs/ea/ea3/customdirectives.html 
):
Like the main portion of httpd.conf, the VirtualHost containers also  
provide the ability to add customizations using Include files. At this  
time there is no graphical interface for creating and managing  
VirtualHost includes, so they must be manipulated manually. The  
include directory structure is not created automatically, but uses the  
following file structure:
        • Individual VirtualHost
/usr/local/apache/conf/userdata/(ssl|std)/(1|2)
/<user>/<domain>/<something>.conf

cPanel/WHM and Plesk are tools to make it easier on your end-user to  
manage their accounts. You as a server admin however should know  
everything about it: where it puts it files, which built-in services  
it uses and how it uses them, ... Frankly, if you order cPanel or  
Plesk because you don't have a clue on how to configure a server  
yourself, you're better off looking for a managed dedicated server  
hosting and let those people handle it for you instead.


Best regards

Peter De Berdt


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to