Can apache run without the htdocs directive ? I don't need the htdocs directive.  I'm using apache with a middleware application so in order to reduce the risk I wanted to remove the htdocs directory both of : DocumentRoot /var/www/htdocs><Directory /var/www/htdocs>......</Directory>When I remove the above lines, it seems like apache is taking default installation directory and try to open the htdocs.
Apache HTTP without the htdocs directive
apache httpd;configuration;reverse proxy