[users@httpd] Error in accessing the home page

2012-11-29 Thread Alex Chen
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

Re: [users@httpd] Error in accessing the home page

2012-11-29 Thread Knute Johnson
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

Re: [users@httpd] Error in accessing the home page

2012-11-29 Thread Alex Chen
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

Re: [users@httpd] Error in accessing the home page

2012-11-29 Thread Yehuda Katz
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?

RE: [users@httpd] Error in accessing the home page

2012-11-29 Thread Bennett, Tony
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

Re: [users@httpd] Error in accessing the home page

2012-11-29 Thread Alex Chen
://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

Re: [users@httpd] Error in accessing the home page

2012-11-29 Thread Tianyin Xu
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,

Re: [users@httpd] Error in accessing the home page

2012-11-29 Thread Tianyin Xu
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