Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

server's root ?

Status
Not open for further replies.

Jerome

Technical User
Feb 16, 2000
11
0
0
AU
why do my server's root is / in http when i specify in httpd.conf a specific http folder ??
 
Done done done...<br>
sorry but, even though i don't understand why, i had to create a directory with the name of the server, it works now so good o !!<br>

 
Not sure if I understand your question correctly, but the &quot;DocumentRoot&quot; directive in &quot;http.conf&quot; sets the &quot;/&quot; directory for Apache. So, if you set:<br>
<br>
DocumentRoot &quot;/path/to/my/html/directory&quot;<br>
<br>
then &quot;<A HREF=" TARGET="_new"> will actually refer to &quot;/path/to/my/html/directory&quot;.<br>
<br>
HTH.1
 
oops...<br>
sure it wasn't logical, it's just because it was considering old settings (before i made changes to httpd.conf, and before i restarted apache...)<br>
Thanks anyway, hey, i read the other one before, didn't realise you responded to this one too, i am impressed, <br>
it's the first time i have so much feedback from a forum,<br>
thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top