View Single Post
Old 23rd August 2012, 22:22
Morons Morons is offline
Senior Member
Join Date: Aug 2006
Posts: 199
Thanks: 8
Thanked 15 Times in 7 Posts
Question Redirect problem

Well I have tried Alias-domain, Sub-domain and all combinations there-off and if I don't get a solid error I keep getting the same problem.

My Scenario is this

DNS set = ok pop.domain.tld A IP LITERAL
DNS set = ok www.domain.tld A IP LITERAL

If i set the redirect to my webmail /var/www/webmail
lrwxrwxrwx  1 root root      16 Aug 23 20:34 webmail -> /var/www/webmail/
I get
Not Found

The requested URL /webmail/webmail/webmail/webmail/webmail/webmail/webmail/webmail/webmail/webmail/webmail/webmail/webmail/webmail/webmail/webmail/webmail/webmail/webmail/webmail/ was not found on this server.
Can you please explain why ISPConfig 3 generate this?

Subdomain for website


Host [pop]
Domain [domain.tld]
Redirect Type [L]
Redirect Path [/webmail]

Active [Y]
<VirtualHost *:80>
      DocumentRoot /var/www/domain.tld/web

    ServerName domain.tld
    ServerAlias *.domain.tld
    ServerAlias pop.domain.tld
    ServerAdmin webmaster@domain.tld
    RewriteEngine on
    RewriteCond %{HTTP_HOST}   ^pop.domain.tld$ [NC]
        RewriteCond %{REQUEST_URI} !^/webdav/
    RewriteRule   ^/(.*)$ /webmail/$1  [L]

Help - I guess my knowledge of this is not good
Reply With Quote
Sponsored Links