Apache setup question

NamecheapNamecheap
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

whyme953

Established Member
Impact
1
is it possible to have web root folder somewhere other than /apache/htdocs ?

i.e. could i have apache installed in the C:/ directory but have the htdocs folder somewhere else, say in the D: drive?

thanks
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Open the httpd.conf file and edit the following lines according to your needs:

Code:
DocumentRoot "D:/webstuff/whatever"

[...a few lines after...]

<Directory "D:/webstuff/whatever">
 
0
•••
thanks!
 
0
•••
Truehost — .com domains from $4.99, hosting includedTruehost — .com domains from $4.99, hosting included

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back