Re: [EMAIL PROTECTED] rewrite then reverse proxy

2006-07-22 Thread Neo Wee Teck
Can the rewrite rules in the .htaccess and the ProxyPassReverse in server config? Without the [P] it won't work? On 7/23/06, Vincent Bray <[EMAIL PROTECTED]> wrote: On 7/22/06, Neo Wee Teck <[EMAIL PROTECTED]> wrote: > Wonder can this be done It can! > Apache do

[EMAIL PROTECTED] rewrite then reverse proxy

2006-07-22 Thread Neo Wee Teck
Wonder can this be done Apache does a rewrite based on a rule, then reverse proxy to the actual destination eg. Rewrite -- Request to http://foo.com/news/3843.html [Some rewrite rules] Actual request -> http://foo.com/news.php?3843 Reverse Proxy - ProxyPass

Re: [EMAIL PROTECTED] VirtualDocumentRoot problem

2006-07-02 Thread Neo Wee Teck
Sorry,Does the patch included works for Apache 1.3?On 7/2/06, Joshua Slive <[EMAIL PROTECTED]> wrote: On 7/2/06, Neo Wee Teck <[EMAIL PROTECTED]> wrote: > works for Apache 1.3?If you want to make yourself understood, try writing in complete s

Re: [EMAIL PROTECTED] VirtualDocumentRoot problem

2006-07-02 Thread Neo Wee Teck
works for Apache 1.3?On 7/2/06, Joshua Slive <[EMAIL PROTECTED]> wrote: On 7/2/06, Neo Wee Teck <[EMAIL PROTECTED]> wrote:> Hi,>> I just notice some problems when using mod_vhost_alias>> It seems that when using VirtualDocumentRoot, the variable DocumentRoot in > PH

[EMAIL PROTECTED] mod_vhost_alias

2006-07-02 Thread Neo Wee Teck
Hi, I just notice some problems when using mod_vhost_alias It seems that when using VirtualDocumentRoot, the variable DocumentRoot in PHP got mixed up Server Global > DocumentRoot /var/www/htdocs InsideĀ  > VirtualDocumentRoot /var/www/vhost/%0/htdocs When I run a phpinfo script, this is th

[EMAIL PROTECTED] VirtualDocumentRoot problem

2006-07-02 Thread Neo Wee Teck
Hi,I just notice some problems when using mod_vhost_aliasIt seems that when using VirtualDocumentRoot, the variable DocumentRoot in PHP got mixed upServer Global > DocumentRoot /var/www/htdocs InsideĀ  > VirtualDocumentRoot /var/www/vhost/%0/htdocsWhen I run a phpinfo script, this is the variable it