I have disabled the access to the entire file system except the directories that are explicitely allowed later:
<Directory />
AllowOverride All
Order Deny,Allow
Deny from all
</Directory>
In a typical vhost configuration file with PHP enabled, I get the following part (note the "order allow,deny" and "allow from all"):
<Directory "/var/www/webs/demo/domain1/">
AddHandler fcgid-script .php .php3 .php4 .php5
FCGIWrapper /var/www/fcgi/demo/...
Options +ExecCGI
Order allow,deny
allow from all
</Directory>
The problem is now that the directive <directory> including the "Order allow,deny" and "allow from all" is missing if I have a vhost where PHP is disabled.
Question
Warlock
Hi,
I have disabled the access to the entire file system except the directories that are explicitely allowed later:
In a typical vhost configuration file with PHP enabled, I get the following part (note the "order allow,deny" and "allow from all"):
The problem is now that the directive <directory> including the "Order allow,deny" and "allow from all" is missing if I have a vhost where PHP is disabled.
Is this a bug?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.