Share » Forums » Install & configuration » Exclude directory from eZ Web site

Exclude directory from eZ Web site

Exclude directory from eZ Web site

Monday 26 November 2007 1:16:33 am - 4 replies

Author Message

Stefan de Bruijn

Monday 26 November 2007 6:47:44 am

The Ez Publish bit seems O.K. to me, and the error is from apache.

I think you should remove:

Order deny,allow
Deny from all

You are denying access from anyone.

PO Michel

Monday 26 November 2007 6:52:36 am

Hi,

I have tried

Order Allow,Deny
Allow from all

and I get the same 403 error after restarting Apache.

Stefan de Bruijn

Monday 26 November 2007 7:08:11 am

But have you tried removing? For combining 2 types of access control, you should use the satisfy directive.
I found some explanation on http://www.egr.msu.edu/decs/web/htaccess.php#combine.

PO Michel

Tuesday 27 November 2007 7:05:14 am

Hi,

I have tried any find of combinatio but I have never prompted for a username and password.

I have a virtual host configured like the following :

<VirtualHost *:80>
ServerName anubis
ServerAdmin root@tpg.ch
#DocumentRoot /DATA1/www/tpgV2
#site 3.8.6
DocumentRoot /var/www/tpg
Alias /fr/presse/acces_securise "http://anubis/access_securise"
ServerSignature email
DirectoryIndex index.php index.html index.htm index.shtml
LogLevel warn
HostNameLookups off
Redirect permanent /tpg/ http://anubis/
Redirect permanent /index.php/tpg_admin http://qualite.tpg.ch:81
Redirect permanent /phpmyadmin http://anubis:8181
<Directory "/var/www/tpg/access_securise">
Order Deny,Allow
Deny from All
Options FollowSymLinks -Indexes
AllowOverride All
</Directory>

</VirtualHost>

And if I access http://anubis/acces_securise/toto.txt, I can read the file.

That is the <Directory> directive is ignored and the .htaccess as well !

It really drives me crazy.

PO

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu