Welcome to WebmasterWorld Guest from 54.158.51.150

Forum Moderators: brotherhood of lan & mack

Message Too Old, No Replies

Move Development Directory Up

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

10+ Year Member



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:
/public_html/dev/

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)

WebmasterWorld Senior Member 10+ Year Member



I would just copy everything up to root and you should be good to go.
12:36 am on Jan 29, 2004 (gmt 0)

10+ Year Member



OK!

However......

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)

WebmasterWorld Senior Member 10+ Year Member



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)

10+ Year Member



OK! Thanks!
 

Featured Threads

Hot Threads This Week

Hot Threads This Month