|
Subdomains for domain-aliases
|
| Author |
Message |
owhosting
Junior Member

Posts: 32
Group: Registered
Joined: Feb 2008
Status:
Offline
Reputation: 0
|
RE: Subdomains for domain-aliases
Just out of curiousity how is the patch applied?
This is what I tried and the results I got...
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 |
|
 |
rbtux
Member
  
Posts: 1,200
Group: Registered
Joined: Feb 2007
Status:
Away
Reputation: 22
|
|
| 02-20-2008 06:01 AM |
|
 |
gOOvER
Documentation Team
  
Posts: 1,283
Group: Docu Team
Joined: Jul 2007
Status:
Offline
Reputation: 11
|
RE: Subdomains for domain-aliases
You should write in english 
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
-> This Signature is OpenSource <-
|
|
| 02-20-2008 06:04 AM |
|
 |
owhosting
Junior Member

Posts: 32
Group: Registered
Joined: Feb 2008
Status:
Offline
Reputation: 0
|
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 |
|
 |
rbtux
Member
  
Posts: 1,200
Group: Registered
Joined: Feb 2007
Status:
Away
Reputation: 22
|
RE: Subdomains for domain-aliases
You should write in english
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 |
|
 |
owhosting
Junior Member

Posts: 32
Group: Registered
Joined: Feb 2008
Status:
Offline
Reputation: 0
|
RE: Subdomains for domain-aliases
|
|
| 02-20-2008 06:12 AM |
|
 |
rbtux
Member
  
Posts: 1,200
Group: Registered
Joined: Feb 2007
Status:
Away
Reputation: 22
|
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 |
|
 |
rbtux
Member
  
Posts: 1,200
Group: Registered
Joined: Feb 2007
Status:
Away
Reputation: 22
|
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 |
|
 |
owhosting
Junior Member

Posts: 32
Group: Registered
Joined: Feb 2008
Status:
Offline
Reputation: 0
|
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
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 |
|
 |
zpin
Junior Member

Posts: 62
Group: Registered
Joined: Sep 2007
Status:
Offline
Reputation: 0
|
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
$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 |
|
 |
|
|