httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Monkey Daemon <monkeywebdae...@googlemail.com>
Subject Re: [users@httpd] Zeus Subserver Equivalent in Apache2?
Date Thu, 02 Jul 2009 08:45:55 GMT
2009/7/2 Chandranshu . <chandranshu@gmail.com>:
> Hi
>
> Are you running PHP with CGI? If yes, then you can use the
> <Directory></Directory> directive blocks and the Options Directive to
> optionally allow or disallow execution of PHP scripts. For example, your
> basic hosting can have a config:
> <Directory /var/www/basic>
>     Options -ExecCGI <other options>
> </Directory>
>
> while for your Hosting package, it can read:
> <Directory /var/www/Hosting>
>    Options +ExecCGI
> </Directory>
>
> You can check out http://httpd.apache.org/docs/2.2/sections.html for more
> details. You can further support different versions of PHP for your Legacy
> and Hosting packages using the AddHandler directive in a similar fashion.
>
> Hope this helps you and all the best!

Thanks, that looks v. interesting and if we can pair it with the
vhost_alias stuff we might be on to a winner!

Kind regards,

MWD.

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


Mime
View raw message