hosted by liquidweb

Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Software and Control Panels : DirectAdmin automatically redirecting directories?

Forum Jump

DirectAdmin automatically redirecting directories?

Reply Post New Thread In Hosting Software and Control Panels Subscription
Send news tip View All Posts Thread Tools Search this Thread Display Modes
WHT Addict
Join Date: Jul 2002
Posts: 148

DirectAdmin automatically redirecting directories?


When I go to a directory

IF I have a file name.php, then it automatically redirects to that file.

If I don't have a file "name.php" then it gets a 404 error.

WHY does it automatically go to a filename.php after trying to find a directory that does not exist??
I don't want this to happen. How do I turn this off?

Sponsored Links
WHT Addict
Join Date: Apr 2005
Location: Canada... EH?!?
Posts: 149
PHP Code:
("http://<hostname or ip here>/");
there ya go thats a redirect in php

Edit: it does that because name is considered a directory and you can change what files webserver is looking for ex. index.php index.html and so on and you can add your own...

Name is a directory and it can have its own main php file... i dont know how to explain it very well other then

/name/ - directory
name.php - PHP File

and all you need to do is add name.php to index area i think its in apache someone might be able to help me there

Internet is your friend ... and books

hope that helps a bit -- contact me i can help if you need more explanation or walkthrough -- MSN preffered

Last edited by BoggeRs; 07-05-2005 at 11:25 PM.

Related posts from
Title Type Date Posted
Bitcoin Exchange Fixes Security Issue Caused by Web-Wallet Update Web Hosting News 2014-12-09 16:06:03
Hacker Steals $83K in Bitcoins by Hijacking Traffic Directed at Large Hosting Companies Web Hosting News 2014-08-15 15:38:55
Linux Malware Operation Windigo Infects 25,000 Web Servers Web Hosting News 2014-03-19 11:44:53
Linode Updates Cloud-Based Load Balancer Service with SSL Support Web Hosting News 2013-11-08 11:50:09
Noise Filter: WordPress Attacks Hammer Web Hosts Web Hosting News 2014-05-09 12:40:33

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Log in with your username and password

Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Web Hosting News:
WHT Membership
WHT Membership



Welcome to

Create your username to jump into the discussion! is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.

(4 digit year)

Already a member?