Co-Domain redirection problem
When redirecting a co-domain in ISPC2 a / is always added.
If you enter http://www.mydomain.tld/home.html calling the co-domain will redirect you to http://www.mydomain.tld/home.html/
So redirection only works for domains and directories but not for complete urls
Is this a wanted behaviour or a bug?
The redirect is only for directories, not for single files.
Yes, that is what i experienced ;)
But wouldn't it be better to be able using redirections to a specific file, too?
I see no other way of doing this - only creating apache directives for the account with rewrite rules in it.
Sure. I do not doubt that :)
Let's assume we have a Domain www.mycomain.com that belongs to customer X.
Customer X has no experience with .htaccess or mod rewrite.
He wants to set up subdomains that redirect like this:
sub1.mydomain.com -> www.mydomain.com/main.php?action=sub1
sub2.mydomain.com -> www.mydomain.com/bla.php
sub3.mydomain.com -> www.mydomain.com/thatsme.html
I know that you can do all this via httpd directives or .htaccess but that's sort of a problem for customers that can only use the ispc interface, isn't it?
I could change the ispc code of that installation myself, but I didn't yet understand if there's a reason that you can only redirect co domains to directories in ispc.
|All times are GMT +2. The time now is 04:48.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.