can you send me your entire httpd.conf file? It isn't necessarily the
problem with these lines, but could also be affected by their location
within the file, among with other things... So, to make things much easier,
and quicker, to resolve - I'd like to take a loot at your entire httpd.conf
file.
On Wed, Dec 11, 2002 at 08:51:25AM -0700, eric lin wrote:
pasha wrote:
Check your apache's log to see what goes wrong...
tail -f /var/log/apache/errors.log
then restart your apache (using a different term window) and watch what
goes
in your errors.log. If you don't find anything useful during restart of
apache - then see what happens when you access the directory with your
mozilla. Also, make sure that the directory in question is registered in
your httpd.conf (<Directory> directive)...
make sure you have the modules, and apache knows about them...
for example, you might need to add the following line to your httpd.conf:
AddModule mod_dir.c
and then restart your apache. After the modules have been loaded, you can
simply comment out the above line from your httpd.conf file.
The same applies to your cgi.
:P
I add these in the end of /etc/apache/httpd.conf
it turn out my site can not be access altogether
please feel free to modify, probably the order is not correct or other
factor. It have 2 loadModule in the front part.
sincere Eric
<Directory /var/www/checkout/>
AllowOverride None
Option ExecCGI
Order allow,deny
Allow from all
</Directory>
<Directory /usr/lib/cgi-bin/>
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
AddModule mod_dir.c
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.cgi
</IfModule>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory /usr/lib/cgi-bin/>
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>