PDA

View Full Version : domain.tld/config redirects to domain.tld:2222



intelliot
08-05-2005, 01:04 AM
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

Bloory
08-05-2005, 01:26 AM
You can change the redirect via httpd.conf.

intelliot
08-05-2005, 04:40 PM
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

Bloory
08-05-2005, 05:06 PM
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

intelliot
08-05-2005, 05:16 PM
Perfect, it works. thanks Bloory!!:)