Re: Zeus Subserver Equivalent in Apache2?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/7/2 Chandranshu . <chandranshu@xxxxxxxxx>:
> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux