httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Bray" <nood...@gmail.com>
Subject Re: [users@httpd] Apache 2.2.4 [an error occurred while processing this directive]
Date Fri, 31 Aug 2007 17:04:52 GMT
Hi,

You seem to have two problems in your config. First, You're not using
any virtual hosts, and your DocumentRoot is F:/webs, so presumably
you're using a URL like http://localhost/mcjdreamweaver/ to access
your site. In this case, using an include with a local uri ref like
/includes/something won't work because the mcjdreamweaver part is
ignored. To fix this, either change your DocumentRoot to include the
site directory, or use vhosts if you want to host multiple sites.

http://httpd.apache.org/docs/2.2/vhosts/

Secondly, you have two <DIrectory blocks that each refer to
essentially the same directory (except one of them has a wildcard).
This will lead to pain and suffering in the long term, so instead
merge the two together, in particular your Options directive, which is
different in both cases. You should also avoid using Options Foo +Bar
notation, as the docs explain, this isn't supported syntax, so instead
make up your mind and use Options Foo Bar Whatever.

-- 
noodl

---------------------------------------------------------------------
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


Mime
View raw message