But when I access the ip address (haven't assigned an URL as yet) I only
see the apache2 test page instead of the application landing page. My
log file shows the following entries
[Wed Aug 24 12:27:52 2011] [error] [client 122.164.136.38] Directory
index forbidden by Options directive: /var/www/html/
[Wed Aug 24 13:03:28 2011] [error] [client 122.164.136.38] Directory
index forbidden by Options directive: /var/www/html/
[Wed Aug 24 14:40:30 2011] [error] [client 122.164.136.38] Directory
index forbidden by Options directive: /var/www/html/
I am not sure why Nginx is still accessing /var/www/html when I have
mentioned the root directory.
Wonder what could be wrong. Any help would be appreciated
But when I access the ip address (haven't assigned an URL as yet) I only
see the apache2 test page instead of the application landing page. My
log file shows the following entries
[Wed Aug 24 12:27:52 2011] [error] [client 122.164.136.38] Directory
index forbidden by Options directive: /var/www/html/
[Wed Aug 24 13:03:28 2011] [error] [client 122.164.136.38] Directory
index forbidden by Options directive: /var/www/html/
[Wed Aug 24 14:40:30 2011] [error] [client 122.164.136.38] Directory
index forbidden by Options directive: /var/www/html/
I am not sure why Nginx is still accessing /var/www/html when I have
mentioned the root directory.
Are your requests definitely getting through to nginx rather than
apache ?
I am not sure why Nginx is still accessing /var/www/html when I have
mentioned the root directory.
Are your requests definitely getting through to nginx rather than
apache ?
Fred
Is there a sure shot way of finding out. A ps -A returned the following
6975 ? 00:00:00 httpd
6977 ? 00:00:00 httpd
6978 ? 00:00:00 httpd
6979 ? 00:00:00 httpd
6980 ? 00:00:00 httpd
6981 ? 00:00:00 httpd
6982 ? 00:00:00 httpd
6983 ? 00:00:00 httpd
6984 ? 00:00:00 httpd
I guess these are nginx processes because apache processes usually run
as "apache2" and not as "httpd". I am attaching a screenshot of the page
displayed when I visit the url. Thanks in advance for helping out.