View Single Post
  #5  
Old 12th December 2011, 22:16
quest quest is offline
Junior Member
 
Join Date: Apr 2009
Posts: 6
Thanks: 0
Thanked 2 Times in 1 Post
Default

From /etc/apache2/sites-available/domain.com.vhost:

Code:
<Directory /var/www/domain.com>
    AllowOverride None
    Order Deny,Allow
    Deny from all
</Directory>

<VirtualHost *:80>
      DocumentRoot /var/www/domain.com/web

    ServerName domain.com
    ServerAlias www.domain.com
    ServerAdmin webmaster@domain.com

    ErrorLog /var/log/ispconfig/httpd/domain.com/error.log

    <Directory /var/www/domain.com/web>
        Options FollowSymLinks
        AllowOverride All
        Order allow,deny
        Allow from all
        <Files ~ '.php[s3-6]{0,1}$'>
            Order allow,deny
            Deny from all

From /var/log/ispconfig/httpd/domain.com/error.log:

Code:
[Mon Dec 12 19:56:14 2011] [error] [client 111.22.3.444] client denied by server configuration: /var/www/domain.com/web/wp-login.php
Are these what you're looking for?
Reply With Quote