Re: Apache 2.2.4 [an error occurred while processing this directive]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux