![]() |
keeping subdomain URL in browser address bar
When creating a codomain (subdomain) and forward it to an internal folder the address bar of the browser changes displaying the forwarded folder.
e.g. if you set the forward for sub.domain.tld to /sub/ you'll get domain.tld/sub/ There are to ways to keep sub.domain.tld. 1. Option Change the code of ISPConfig like described here: Co/sub-domains without rewritten URLs 2. Option
Code:
RewriteEngine on |
Thanks for nice how-to is very usefull.
when you want more rewrites for more subdomains simply do this rewrite Code:
RewriteEngine on |
need help with this please
where it says sub.domain.tld do you replace that with your info thats reference in the co-domain page and where the /sub/ is you replace with the file location trying to use it for webmail redirection of squirrelmail.pkg without the address changing, also i only have the one site and the one redirect i'm trying to do i can't get either way mentioned in the forums to work for redirect without changing address
|
I guess you got it right.
Problem could be that squirrelmail.pkg gets installed outside the domains folder and thus can't get redirected to. |
Quote:
2. need a admin, reseller or customer can't. so i need to give admin access for all customer ? :confused: Quote:
|
that works well, thanks! ;)
|
In ISPConfig
You can write the directive in:
Site > Basis > Apache Directives (Optional): |
Quote:
|
When I add this:
Quote:
http://www.domain.tld/SubFolder/ If I add this: Quote:
Quote:
http://sub.domain.tld/SubFolder/SubF...der/SubFolder/... |
The subdomain and the folder must have the same name:
Code:
RewriteEngine on |
| All times are GMT +2. The time now is 08:43. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.