homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

Move Development Directory Up

 9:09 pm on Jan 28, 2004 (gmt 0)

I'm aware that there are several ways to do this. Which is the best? and why?

I've developed a new web site in www.domain.com/dev . In the *nix shared hosting environment, the tree looks like this:

Well, I'm finished with the development. Do I just delete all of the old web site's files in /public_html and copy everything up? Do a domain redirect?

In other words, how can I promote the contents of the /dev directory up one level?



 11:52 pm on Jan 28, 2004 (gmt 0)

I would just copy everything up to root and you should be good to go.


 12:36 am on Jan 29, 2004 (gmt 0)



If there are two index files (index.html and index.php) in the domain root, which will be read first?


 1:12 am on Jan 29, 2004 (gmt 0)

Depends on the order they are listed in the DirectoryIndex directive of the configuration file for the server (assuming its Apache).

Suck it and see...


 2:31 am on Jan 29, 2004 (gmt 0)

OK! Thanks!

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved