Jump to content

current windows username in http.conf?


blueman378

Recommended Posts

hi guys, im trying to get a php server up and runnig at school, i have it working fine if the document root is left at its default, currently S:\server\htdocs (example)

 

However when a user is created they get a folder in thier profile called My Websites

I am trying to map the documetn root to this drive,

 

The drive is mapped as H:\ for all users however the physical place is U:\USERNAME\My Websites

 

If i try using H:\ it does not work, so is it possible in the http.conf file to set the doc root to something like U:\%current_user%\My Websites ?

 

cheers, Matt

Link to comment
https://forums.phpfreaks.com/topic/111037-current-windows-username-in-httpconf/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.