You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by cn...@nycap.rr.com on 2004/08/12 18:12:33 UTC
[users@httpd] Can't find URL after removing modules
I'm trying to pare down httpd 1.3.29 to reduce it's disk and memory footprint for a very limited installation. I did `httpd -l` to see what was there, reviewed http://httpd.apache.org/docs/mod/ to see what they did, examined my httpd.conf and, with knowledge of my application, I removed:
mod_asis.c
mod_autoindex.c
mod_dir.c
mod_env.c
mod_imap.c
mod_status.c
mod_userdir.c
mod_include.c
mod_setenvif.c
mod_negotiation.c
Now when I connect to http://serversip/ I get:
Not Found
The requested URL / was not found on this server.
Nothing I understand about the modules I removed would suggest that they contribute to mapping / to /usr/apache/htdocs/index.html but I guess I've done something wrong.
Any pointers appreciated... TIA.
Chris
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Can't find URL after removing modules
Posted by Joshua Slive <js...@gmail.com>.
On Thu, 12 Aug 2004 12:12:33 -0400, cnelson@nycap.rr.com
<cn...@nycap.rr.com> wrote:
> I'm trying to pare down httpd 1.3.29 to reduce it's disk and memory footprint for a very limited installation. I did `httpd -l` to see what was there, reviewed http://httpd.apache.org/docs/mod/ to see what they did, examined my httpd.conf and, with knowledge of my application, I removed:
> mod_dir.c
> Nothing I understand about the modules I removed would suggest that they contribute to mapping / to /usr/apache/htdocs/index.html but I guess I've done something wrong.
Look again at mod_dir. It supplies the DirectoryIndex directive which
activates the functionality that you need.
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org