I downloaded the Apache 2.2.22 Windows msi and installed it as a console app,
I copied all the files to C:/Program Files/Apache and uninstalled Apache to
have a stock copy of the installation.
I made the following changes in httpd.conf.
ServerRoot C:/Program Files/Apache
Listen 8080
On 11/29/2012 3:10 PM, Alex Chen wrote:
I downloaded the Apache 2.2.22 Windows msi and installed it as a console app,
I copied all the files to C:/Program Files/Apache and uninstalled Apache to
have a stock copy of the installation.
I made the following changes in httpd.conf.
ServerRoot
Thanks for the answer, Knute,
However I have already set ServerRoot to C:/Program Files/Apache and
DocumentRoot to 'htdocs, therefore I assume it implies the document root will
be C:/Program Files/Apache/htdocs, as indicated in your reply, correct?
The question is why I have to use Directory
On Thu, Nov 29, 2012 at 6:57 PM, Alex Chen alex_c...@filemaker.com wrote:
However I have already set ServerRoot to C:/Program Files/Apache and
DocumentRoot to 'htdocs, therefore I assume it implies the document root
will be C:/Program Files/Apache/htdocs, as indicated in your reply,
correct?
Documentation on the Directory container:
http://httpd.apache.org/docs/2.2/mod/core.html#directory
-Original Message-
From: Alex Chen [mailto:alex_c...@filemaker.com]
Sent: Thursday, November 29, 2012 3:58 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Error in accessing
://httpd.apache.org/docs/2.2/mod/core.html#directory
-Original Message-
From: Alex Chen [mailto:alex_c...@filemaker.com]
Sent: Thursday, November 29, 2012 3:58 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Error in accessing the home page
Thanks for the answer, Knute
No, it could be a relative path, but it is **relative** to ServerRoot.
I set:
ServerRoot /home/tianyin/httpd-2.4.3
DocumentRoot htdocs
Directory htdocs
..
/Directory
And everything is perfectly fine.
On Thu, Nov 29, 2012 at 4:02 PM, Yehuda Katz yeh...@ymkatz.net wrote:
On Thu,
Wait... Then the document which specifies a full path to a directory is
not correct.
-- Tianyin
On Thu, Nov 29, 2012 at 10:00 PM, Tianyin Xu t...@cs.ucsd.edu wrote:
No, it could be a relative path, but it is **relative** to ServerRoot.
I set:
ServerRoot /home/tianyin/httpd-2.4.3