Post Reply  Post Thread 
Subdomains for domain-aliases
Author Message
owhosting
Junior Member
*


Posts: 32
Group: Registered
Joined: Feb 2008
Status: Offline
Reputation: 0
Post: #11
RE: Subdomains for domain-aliases

Just out of curiousity how is the patch applied?
This is what I tried and the results I got...

Code:
owh:/tmp# patch -p0 < alssub.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r 283cdc1a0268 engine/ispcp-rqst-mngr
|--- a/engine/ispcp-rqst-mngr   Wed Feb 06 21:08:37 2008 +0100
|+++ b/engine/ispcp-rqst-mngr   Mon Feb 18 14:18:33 2008 +0100

02-20-2008 05:59 AM
Find all posts by this user Quote this message in a reply
rbtux
Member
***


Posts: 1,200
Group: Registered
Joined: Feb 2007
Status: Away
Reputation: 22
Post: #12
RE: Subdomains for domain-aliases

bist du im verzeichnis /var/www/ispcp ??


OS: Debian Lenny
ispCP Version: Trunk r1033
Activated: AWStats dynamic, Dovecot, Avelsieve, Selective Greylisting, Bogus MX Filter,
No Webtools, Roundcube, Some own modifications
02-20-2008 06:01 AM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER
Documentation Team
***
Docu Team

Posts: 1,283
Group: Docu Team
Joined: Jul 2007
Status: Offline
Reputation: 11
Post: #13
RE: Subdomains for domain-aliases

You should write in english Smile

Did you run the patch in /var/www/ispcp?


OS : Debian 4.0 Etch 64bit
ispCP Version : RC6 r1257 - 01.07.08 (NightlyBuild)
Activated : AWStats dynamic
Mods : none
->SmileThis Signature is OpenSourceSmile<-
02-20-2008 06:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
owhosting
Junior Member
*


Posts: 32
Group: Registered
Joined: Feb 2008
Status: Offline
Reputation: 0
Post: #14
RE: Subdomains for domain-aliases

If that was to me I tried it from that folder with no success

02-20-2008 06:07 AM
Find all posts by this user Quote this message in a reply
rbtux
Member
***


Posts: 1,200
Group: Registered
Joined: Feb 2007
Status: Away
Reputation: 22
Post: #15
RE: Subdomains for domain-aliases

gOOvER Wrote:
You should write in english Smile

Did you run the patch in /var/www/ispcp?



oops sorry for that ... :S


OS: Debian Lenny
ispCP Version: Trunk r1033
Activated: AWStats dynamic, Dovecot, Avelsieve, Selective Greylisting, Bogus MX Filter,
No Webtools, Roundcube, Some own modifications
02-20-2008 06:08 AM
Visit this user's website Find all posts by this user Quote this message in a reply
owhosting
Junior Member
*


Posts: 32
Group: Registered
Joined: Feb 2008
Status: Offline
Reputation: 0
Post: #16
RE: Subdomains for domain-aliases

Yes I did...

02-20-2008 06:12 AM
Find all posts by this user Quote this message in a reply
rbtux
Member
***


Posts: 1,200
Group: Registered
Joined: Feb 2007
Status: Away
Reputation: 22
Post: #17
RE: Subdomains for domain-aliases

the patch is a bit special... there are folders a and b with original and new version... so use option p1 when applying it...


OS: Debian Lenny
ispCP Version: Trunk r1033
Activated: AWStats dynamic, Dovecot, Avelsieve, Selective Greylisting, Bogus MX Filter,
No Webtools, Roundcube, Some own modifications
02-20-2008 06:18 AM
Visit this user's website Find all posts by this user Quote this message in a reply
rbtux
Member
***


Posts: 1,200
Group: Registered
Joined: Feb 2007
Status: Away
Reputation: 22
Post: #18
RE: Subdomains for domain-aliases

well it's a bit special for ME... Everyone can create patches his own way... So no offence ;-)


OS: Debian Lenny
ispCP Version: Trunk r1033
Activated: AWStats dynamic, Dovecot, Avelsieve, Selective Greylisting, Bogus MX Filter,
No Webtools, Roundcube, Some own modifications

This post was last modified: 02-20-2008 06:23 AM by rbtux.

02-20-2008 06:20 AM
Visit this user's website Find all posts by this user Quote this message in a reply
owhosting
Junior Member
*


Posts: 32
Group: Registered
Joined: Feb 2008
Status: Offline
Reputation: 0
Post: #19
RE: Subdomains for domain-aliases

Thanks for the help it seemed to work but when I go to add a alias subdomain I get the following

Code:
ALSMOUNT/
MOUNT POINT//forums
At the very top of the page and then
Incorrect mount point syntax!
as an error msg in the normal area


Suggestions?

This post was last modified: 02-20-2008 07:53 AM by owhosting.

02-20-2008 06:59 AM
Find all posts by this user Quote this message in a reply
zpin
Junior Member
*


Posts: 62
Group: Registered
Joined: Sep 2007
Status: Offline
Reputation: 0
Post: #20
RE: Subdomains for domain-aliases

I didn't know you could create alias domains with mount point '/', afaik this didn't work in older versions.
However, '//forums' should be accepted, since it will be simplified to '/forums'. Doesn't seem to be the case... As a quick fix you could add

Code:
$sub_mnt_pt = str_replace( '//', '/', $sub_mnt_pt );

on line 416 in /var/www/gui/client/add_subdomain.php

This post was last modified: 02-21-2008 02:54 AM by zpin.

02-20-2008 10:20 PM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

| All rights reserved : isp-control.net |