Niall O Broin wrote:
> I have two Wordpress sites I manage on the same server, both running
> 2.6.1, let's call them wp1.com and wp2.com.
>> If I go to wp1.com/wp-admin e.g. when I automatically get redirected
> there after login I get told
>> You don't have permission to access /wp-admin/ on this server
>> It's not a tragedy, as I can simply append index.php, and off I go.
>> However, this works as I'd expect on wp2.com/wp-admin - I get straight
> to the WP admin panel.
>> index.php is in mod_dir's dir.conf file. I even added
>> DirectoryIndex index.php to a <Directory> directive, but still no
> joy. The error log shows
>>> Directory index forbidden by Options directive
>>> but I'm buggered if I can see where.
>> I have yet another WP site on that server which also works correctly,
> even though (for some reason which eludes me) it actually has an
>> Options -Indexes
>>> directive.
>>> Any suggestions?
http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryslash
--
Thomas
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!