Forum

Your Proxy Project

Heiko
25 June 2013, 00:16
Hi Hugo,

could you post an example VirtualHost and UrlToolkit for your Proxy-Project?

I get crazy results, Urls like: hiawatha-webserver.org.*.p.example.com

Thank you
Heiko
UrlToolkit {
ToolkitID = proxy
RequestURI exists Return
Match ^(.*) Rewrite /index.php?$1
}

VirtualHost {
Hostname = *.p.example.com
WebsiteRoot = /var/www/p.example,com
UseToolkit = proxy
...
}
Hugo Leisink
25 June 2013, 09:34
Try this configuration:
UrlToolkit {
ToolkitID = all_to_index_php
Match .* Rewrite /index.php
}

VirtualHost {
Hostname = p.example.com, *.p.example.com
...
}
Heiko
25 June 2013, 20:40
Thank you.
This topic has been closed.