Current time: 11-18-2024, 01:52 AM Hello There, Guest! (LoginRegister)


Post Reply 
ispcp "custom" virtualhost and NameVirtualHost
Author Message
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #6
RE: ispcp "custom" virtualhost and NameVirtualHost
If you update the templates, it should apply to newly added domains/subdomains, but if you are trying to update existing domains/subdomains, you'll need to rebuild your config (see the documentation section of the website).

You should be able to change /etc/ispcp/apache/parts/{dmn_entry.tpl, als_entry.tpl, sub_entry.tpl) to to for example:

<VirtualHost {DMN_IP}:80>

to

<VirtualHost *:80>


I don't fully understand why you want to do this though. Doing this removes the ability to seperate domains onto seperate IP's, which is something that is required for SSL sites for instance. Is this some work around in an attempt to do load balancing or something?

Also, if you manually update apache (or other) configs which are maintained by ispcp, you need to overwrite the "working" copy with your updated copy. Example here would be to update /etc/ispcp/apache/working/ispcp.conf if you change vhosts manually. Otherwise, your manual changes will be overwritten next time ispcp modifies the config file.
(This post was last modified: 04-07-2010 04:48 AM by pgentoo.)
04-07-2010 04:45 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: ispcp "custom" virtualhost and NameVirtualHost - pgentoo - 04-07-2010 04:45 AM

Forum Jump:


User(s) browsing this thread: 3 Guest(s)