var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
apache2 does not have mod_dir.c
i installed apache2 on ubuntu, and i have checked dir.conf with following setting
DirectoryIndex index.php index.html index.cgi index.pl index.php index.xhtml index.htm /cgi-bin/index.pl
and restart the apache2 server, however when i do
I cant see mod_dir.c is loaded. What can i do in this case
The -l flag only gives you modules compiled-in, which omits most modules.
From "man apache2"
It is probably being loaded as a shared module - or it needs to be. You don't want mod_dir.c by the way, you want mod_dir.so.
-l Output a list of modules compiled into the server. This will not list dynamically loaded modules included using the LoadModule directive.
-M Dump a list of loaded Static and Shared Modules.
If it's not being loaded, make sure somewhere in your conf scheme, you have this line, and that it's not commented out:
LoadModule dir_module /usr/lib/apache2/modules/mod_dir.so
Replace the path name with wherever "locate" turns up that file. Since you may have just installed Apache, don't forget to "sudo updatedb" before attempting to "locate".
Must clarify in case you've already read the above -- your <IfModule> tag is correct with mod_dir.c but the file on your disk you are looking for (and the file you will put in LoadModule), is mod_dir.so.
By emalbum in forum Hosting Security and Technology
Last Post: 03-20-2005, 12:12 AM
By jprice in forum Hosting Security and Technology
Last Post: 01-31-2005, 07:44 PM
By Im_Goodspeed in forum Hosting Security and Technology
Last Post: 11-11-2004, 07:39 PM
By iamnol in forum Programming Discussion
Last Post: 06-04-2004, 10:11 AM
By allera in forum Hosting Security and Technology
Last Post: 10-29-2002, 06:43 PM