Current time: 11-22-2024, 10:08 AM Hello There, Guest! (LoginRegister)


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

Posts: 32
Joined: Feb 2008
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 Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #12
RE: Subdomains for domain-aliases
bist du im verzeichnis /var/www/ispcp ??
02-20-2008 06:01 AM
Visit this user's website Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #13
RE: Subdomains for domain-aliases
You should write in english Smile

Did you run the patch in /var/www/ispcp?
02-20-2008 06:04 AM
Visit this user's website Find all posts by this user Quote this message in a reply
owhosting Offline
Junior Member
*

Posts: 32
Joined: Feb 2008
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 Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
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
02-20-2008 06:08 AM
Visit this user's website Find all posts by this user Quote this message in a reply
owhosting Offline
Junior Member
*

Posts: 32
Joined: Feb 2008
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 Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
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...
02-20-2008 06:18 AM
Visit this user's website Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
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 ;-)
(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 Offline
Junior Member
*

Posts: 32
Joined: Feb 2008
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 Offline
Junior Member
*****
Dev Team

Posts: 160
Joined: Sep 2007
Reputation: 1
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 


Forum Jump:


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