domain.tld/config redirects to domain.tld:2222

intelliot

Verified User
Joined
Jul 29, 2004
Messages
41
hello,

i have directadmin and domain.tld/config redirects to domain.tld:2222

this doesn't work for me because i have an actual folder on my site that is /public_html/config/

i need to actually access that folder, and not have it get redirected to :2222 (directadmin login)

is it possible to disable this redirect?

thanks
 
I couldn't find it in DirectAdmin - > Custom HTTPD Configurations. Is it possible to do it from DirectAdmin? If not, can you provide step-by-step instructions for SSH?

I know the basics of logging in and using vi, so you don't need to worry about that.

Thanks
 
edit (on my servers):

pico /etc/httpd/conf/httpd.conf
search for /config ->
Alias /config /var/www/html/redirect.php

Change config to something else then save the file and return to the command line.

restart Apache.

HTH
 
Back
Top