I am bringing up a production server where the Apache document root is
currently: /srv/www/htdocs

Yet my application is in another directory and has its own public htdocs
directory. The php files in the public htdocs dir know that they are in a
subdir one level below the application directory, so I¹d rather not move
those files to /srv/www/htdocs. This helps with includes, requires, etc when
it comes to finding files in the correct filepath.

Should I just make my application htdocs dir the new document root? Or
should I make a symbolic link, alias, redirect or virtual host (always get
confused about which to use since they seem to achieve the same thing)? Or I
guess I could move my entire application to /srv/www, which would keep the
hierarchy intact.

Thoughts? Want to get this right for production....

Cliff


_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to