Current time: 12-24-2024, 04:56 AM Hello There, Guest! (LoginRegister)


Post Reply 
Change domain mounting point?
Author Message
2xmy Offline
Newbie
*

Posts: 8
Joined: Aug 2009
Reputation: 0
Post: #1
Change domain mounting point?
I have some domain-alias' that I need to point to another folder. Instead of them all beeing mounted in /x.xx/ I would like them to be in /htdocs/.

I have managed to solve this task by changing this file manually:
/etc/ispcp/apache/working/ispcp.conf

Is there any more elegant way to do this? I can't seem to find any way to change the mounting point through the control panel (ispcp) after the domain has been set up initially.

Even if it is not through ispcp there might be some more elegant solution than to open ispcp.conf and changing them?
05-12-2010 04:43 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Change domain mounting point?
try to override the "document root" in /etc/apache2/ispcp/alias-domain.conf

In ispcp there's no solution (yet)... AFAIK

/J
05-12-2010 07:21 AM
Visit this user's website Find all posts by this user Quote this message in a reply
2xmy Offline
Newbie
*

Posts: 8
Joined: Aug 2009
Reputation: 0
Post: #3
RE: Change domain mounting point?
Thank you very much for the fast suggestion.

I've now tried it but it does not seem to work. Could be a nice feature to have in future versions Smile
... and now I tried deleting the domain in the belief that I could then try to add it again with the new mounting point (can be done for those without e-mailadresses in use). Instead I get a "unkown error" for that domain... probably because of me having changed in the "/etc/ispcp/apache/working/ispcp.conf"-file?

Now I can't add e-mailadresses to that domain in the future, so don't hope that that will be necessary. Any way to get it completely deleted so that I can try again?
(This post was last modified: 05-13-2010 07:02 AM by 2xmy.)
05-13-2010 06:56 AM
Find all posts by this user Quote this message in a reply
2xmy Offline
Newbie
*

Posts: 8
Joined: Aug 2009
Reputation: 0
Post: #4
RE: Change domain mounting point?
... the same problem comes when I try to add a new domain. What can I have changed that did this?
Status: Unknown error

As far as I know I have only been changing these two files:
/etc/apache2/site-enabled/ispcp.conf
/etc/ispcp/apache/working/ispcp.conf

And then the one that joximu suggest, but I changed that back agan after having seen that it did now change anything.
(This post was last modified: 05-13-2010 08:29 AM by 2xmy.)
05-13-2010 08:28 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #5
RE: Change domain mounting point?
/etc/apache2/site-enabled/ispcp.conf
this is a symlink to /etc/apache2/site-available/ispcp.conf

check the status directly in the ispcp-db

/J
05-14-2010 01:43 AM
Visit this user's website Find all posts by this user Quote this message in a reply
2xmy Offline
Newbie
*

Posts: 8
Joined: Aug 2009
Reputation: 0
Post: #6
RE: Change domain mounting point?
Thank you for keep helping joximu.

Where do I find the pass/code for the db that ispcp uses? I don't think I got it during the installation.

When I log into "System tools" and "ispCP debugger" I get the following error under "domain alias error":

domain-add-test.com - Set status to "change"
get_tag() | ERROR: '# httpd Data BEGIN. ' ne '# httpd Data END. ', '# httpd Data BEGIN. ' or '# httpd Data END. ' missing in src !

When I check the .conf files it has not been added. Even stranger is that it says the same for a domain that I deleted, which are still located in the .conf-files so it should not have any problems finding the end/begin tags for that domain.
05-14-2010 08:39 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #7
RE: Change domain mounting point?
Did you change the templates?

/etc/ispcp/apache/parts/*

maybe reset them to the original of your ispcp-release

you may need the mysql root user and password to read in the ispcp database...

/J
05-14-2010 08:51 PM
Visit this user's website Find all posts by this user Quote this message in a reply
2xmy Offline
Newbie
*

Posts: 8
Joined: Aug 2009
Reputation: 0
Post: #8
RE: Change domain mounting point?
Again, thank you very much for all your help.

I did not change the templates, so I tried getting someone to help me with updating to newest version of ispcp which solved the problem. I don't know what file it was though.
05-18-2010 09:01 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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