Modifying DocumentRoot - UPDATED

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Modifying DocumentRoot - UPDATED

Postby Crashin » 10. February 2005 00:49

I would like to change the DocumentRoot in httpd.conf to a different location where I've been serving files for years, and I can successfully do so. Yet, if I use the php switch feature to go from PHP 4 to PHP 5, the httpd.conf file is rewritten with the default installation value.

How can I prevent this from happening, so that I can switch between the two versions (a VERY cool feature, by the way) without my DocumentRoot getting changed?

Thanks! Love XAMPP!!!
Last edited by Crashin on 10. February 2005 17:12, edited 1 time in total.
You can't win if you don't play.
Crashin
 
Posts: 4
Joined: 09. December 2004 17:02

UPDATE

Postby Crashin » 10. February 2005 17:11

Okay, I've discovered something. The httpd.conf file is preserved for the version of PHP that is switched to. For example, I modified the httpd.conf file with the new DocumentRoot path while in PHP 4, then switched to PHP 5 and the path reverted. When I switched back to PHP 4, my modified path re-appeared.

I haven't figured out where the different versions of the httpd.conf files are being stored, so I guess I'll just change the DocumentRoot path in both version and I **should** be okay. I would like to understand how this is being done, though, just to better understand XAMPP.
You can't win if you don't play.
Crashin
 
Posts: 4
Joined: 09. December 2004 17:02


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 43 guests