ispCP - Board - Support
Subdomains for domain-aliases - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Contributions Area (/forum-40.html)
+--- Forum: Enhancements (/forum-43.html)
+--- Thread: Subdomains for domain-aliases (/thread-1475.html)

Pages: 1 2 3 4 5 6 7 8


RE: Subdomains for domain-aliases - owhosting - 02-20-2008 05:59 AM

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



RE: Subdomains for domain-aliases - rbtux - 02-20-2008 06:01 AM

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


RE: Subdomains for domain-aliases - gOOvER - 02-20-2008 06:04 AM

You should write in english Smile

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


RE: Subdomains for domain-aliases - owhosting - 02-20-2008 06:07 AM

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


RE: Subdomains for domain-aliases - rbtux - 02-20-2008 06:08 AM

gOOvER Wrote:You should write in english Smile

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


oops sorry for that ... :S


RE: Subdomains for domain-aliases - owhosting - 02-20-2008 06:12 AM

Yes I did...


RE: Subdomains for domain-aliases - rbtux - 02-20-2008 06:18 AM

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


RE: Subdomains for domain-aliases - rbtux - 02-20-2008 06:20 AM

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


RE: Subdomains for domain-aliases - owhosting - 02-20-2008 06:59 AM

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?


RE: Subdomains for domain-aliases - zpin - 02-20-2008 10:20 PM

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