homepage Welcome to WebmasterWorld Guest from 54.237.134.62
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Website
Visit PubCon.com
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
GadeTerbob




msg:973665
 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:
/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?

 

JamesR




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

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

GadeTerbob




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

OK!

However......

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

grahamstewart




msg:973668
 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...

GadeTerbob




msg:973669
 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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved