DA's user redirect

Sewdn

Verified User
Joined
Aug 7, 2007
Messages
9
Hi,

DirectAdmin redirects every url on my server that begins with a 'user' directory.
It redirects to a login screen to "Change E-Mail Password".

This is very annoying, since a user directory is used quite frequently...
For example, Drupal uses the user directory to be able to view, user profiles and edit user-configuration. So every Drupal site on a server with directadmin won't function properly by default.

How to overrule the Directadmin redirects?
I suppose it is done by changin the rewriterules in an .htaccess file?

Thanks!
 
I'm using Apache 2.x

Can anyone reproduce the situation i described on apache 2.x?

Thanks.
 
Hello,

That looks like an .htaccess redirect.
I tested it manually through apache:
Code:
[root@server]# telnet media.redandivory.be 80
Trying 85.92.144.86...
Connected to media.redandivory.be.
Escape character is '^]'.
GET /user HTTP/1.1
Host: media.redandivory.be

HTTP/1.1 302 Found
Date: Thu, 24 Apr 2008 03:23:17 GMT
Server: Apache/1.3.37 (Unix) PHP/5.2.3 mod_ssl/2.8.28 OpenSSL/0.9.8a mod_perl/1.29 FrontPage/5.0.2.2510
X-Powered-By: PHP/5.2.3
Location: http://media.redandivory.be:2222/CMD_CHANGE_EMAIL_PASSWORD
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html

1


0
So, check for an .htaccess file in your public_html directory which contains the redirect. Also check for a "user" directory, but I'm guessing it's in your public_html directory.

John
 
HI,

I also was suspecting .htaccess of redirecting to http://media.redandivory.be:2222/CMD_CHANGE_EMAIL_PASSWORD

But i found no reference whatsoever to this url...

Nevertheless, I removed all .htaccess files in the public_html (and there is no user dir), but no result. It still keeps redirecting...

I suppose this is a serverwide configuration by directadmin.
because, a s soon as i create a new domain, this redirects exists on this domain.

Where to configure this server-wide configuration?
Are there any directadmin template files, that redirect?

greetz
 
I suppose this is a serverwide configuration by directadmin

It is serverwide but DirectAdmin doesn't do it.

Check the httpd.conf file for an Alias from /user
 
Thanks!

Indeed, there was an Alias for user in my serverwide httpd.conf!

Thanks for pointing me in the right direction. I didn't know you could redirect from within the apache configuration...

Thanks a lot
 
My hosting company probably did.
They have scripts installing and configuring new servers... suppose the alias is in their default http.conf template.

Thanks again!
 
Back
Top