|
|
|
|
||||||
| comp.info.servers.win Web servers for MS Windows and NT. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Does anyone know how it is possible for me to install apache on my C:
and then have my D: as the server root? So that when you go to 127.0.0.1 you're looking at the D: instead of C:/......./htdocs. Is that possible? |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On 16 Aug 2005, "x5" <red.cap00@gmail.com> wrote in
news:1124183033.065079.110510@g49g2000cwa.googlegr oups.com: > Does anyone know how it is possible for me to install apache on my C: > and then have my D: as the server root? So that when you go to > 127.0.0.1 you're looking at the D: instead of C:/......./htdocs. > Is that possible? http://httpd.apache.org/docs/2.0/mod...l#documentroot |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On 16 Aug 2005 02:03:53 -0700, "x5" <red.cap00@gmail.com> wrote:
>Does anyone know how it is possible for me to install apache on my C: >and then have my D: as the server root? So that when you go to >127.0.0.1 you're looking at the D: instead of C:/......./htdocs. >Is that possible? Yes. You set the location of DocumentRoot and the location of the default Directory (which should be the same, but you have to set it both places) in the httpd.conf file. Consider using the VirtualHost directive, which will let you set up several independent hosts -- it is nice for debugging or for developing multiple different sites. There are some good discussions and examples on setting up VirtualHosts under Windows in my forums at http://www.terrystockdale.com/forums...wforum.php?f=7 or via a short link http://terryscomputertips.com?u745682 -- Terry My blog: http://www.TheNextWindow.com My website: http://www.TerryStockdale.com My tip site and newsletter: http://www.TerrysComputerTips.com |
|
![]() |
| Outils de la discussion | |
|
|