Forum

Special Options for Sub-Directories

Rene
5 January 2015, 14:44
Hello,

it is possible, to change more Webserver-Options per Sub-Directory? Example: Many Systems (CMS, Shop's) have an Admin-Panel on /admin . I need to add an Option like

UseFastCGI = PHP5-BACKEND # with enabled upload, more functions, ram an load-time

and

RequiredCA = admin.ca

for /admin ? Thanks!

Hiawatha version: 9.10
Operating System: OpenBSD 5.6
Rene
5 January 2015, 14:46
Sorry, addition:

/admin is not a regular path, it is an internal route to /index.php/admin (index.php is hidden) -> in example for Magento

Rene

Hugo Leisink
6 January 2015, 09:55
Some options are available via a .hiawatha file that should be placed inside a directory (see the manpage for more information). A different FastCGI server can be set via the UrlToolkit.
Rene
7 January 2015, 08:58
Hello,

i see this with UseFastCGI, thanks!

RequiredCA can only configure on Binding-Configuration or virtualhost-Configuration. It is possible to add RequiredCA like UseFastCGI in UrlToolkits?

Rene
Hugo Leisink
7 January 2015, 09:03
No, that's not possible. You must create a new virtual host for that.
Rene
7 January 2015, 11:15
Ok, thanks!
This topic has been closed.