On Wed, 18 Feb 2009, Nyoman [D] wrote:

>     <IfModule mod_suphp.c>
>         suPHP_UserGroup nobody nobody
>     </IfModule>
>     RewriteEngine On
>     RewriteCond %{HTTP_HOST} ^cpanel\.
>     RewriteRule ^/(.*) http://127.0.0.1:2082/$1 [P]
>     RewriteCond %{HTTP_HOST} ^webmail\.
>     RewriteRule ^/(.*) http://127.0.0.1:2095/$1 [P]
>     RewriteCond %{HTTP_HOST} ^whm\.
>     RewriteRule ^/(.*) http://127.0.0.1:2086/$1 [P]
>     RewriteCond %{HTTP_HOST} ^webdisk\.
>     RewriteRule ^/(.*) http://127.0.0.1:2077/$1 [P]
>     UseCanonicalName Off
>
> Sudah tanya ke support hostingnya, mereka juga nggak ngerti masalahnya
> di mana, karena mereka nggak biasa pakai proxy :)
>

coba cek URL berikut:
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriteflags
terutama yang bagian bawah. kutipannya:

Here are all possible substitution combinations and their meanings:

Inside per-server configuration (httpd.conf)
for request ``GET /somepath/pathinfo'':

Given Rule                                      Resulting Substitution
----------------------------------------------  
----------------------------------
^/somepath(.*) http://thishost/otherpath$1      /otherpath/pathinfo

^/somepath(.*) http://thishost/otherpath$1 [R]  
http://thishost/otherpath/pathinfo
                                                via external redirection

^/somepath(.*) http://thishost/otherpath$1 [P]  doesn't make sense, not 
supported
----------------------------------------------  
----------------------------------
^/somepath(.*) http://otherhost/otherpath$1     
http://otherhost/otherpath/pathinfo
                                                via external redirection

^/somepath(.*) http://otherhost/otherpath$1 [R] 
http://otherhost/otherpath/pathinfo
                                                via external redirection
                                                (the [R] flag is redundant)

^/somepath(.*) http://otherhost/otherpath$1 [P] 
http://otherhost/otherpath/pathinfo
                                                via internal proxy

salam

-- 
|===[ Yudhi Kusnanto ]=============|
|===[ STMIK Akakom ]===============|
|===[ http://www.akakom.ac.id/ ]===|

-- 
FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab
Unsubscribe: kirim email ke [email protected]
Arsip dan info milis selengkapnya di http://linux.or.id/milis

Kirim email ke