نوشته اصلی توسط rojit سلام می تونید ریدایرکت کنید httpd.conf کد: <VirtualHost *:80> ServerName key.test.ir redirect / 10.201.59.60:1/ </VirtualHost> .htaccess کد: RewriteEngine on RewriteCond %{HTTP_HOST} ^key\.test\.ir$ [NC] RewriteRule ^(.*)$ 10.201.59.60:1/$1 [R=301] با استفاده از mod_پroxy کد: <VirtualHost *:80> ServerAdmin info@test.ir ServerName key.test.ir *****PreserveHost On # setup the ***** <***** *> Order allow,deny Allow from all </*****> *****Pass / 10.201.59.60:1/ *****PassReverse / 10.201.59.60:1/ </VirtualHost> ممنون من یک هاست Cpanel خریدم میشه این کارو روش بکنم؟
<VirtualHost *:80> ServerName key.test.ir redirect / 10.201.59.60:1/ </VirtualHost>
RewriteEngine on RewriteCond %{HTTP_HOST} ^key\.test\.ir$ [NC] RewriteRule ^(.*)$ 10.201.59.60:1/$1 [R=301]
<VirtualHost *:80> ServerAdmin info@test.ir ServerName key.test.ir *****PreserveHost On # setup the ***** <***** *> Order allow,deny Allow from all </*****> *****Pass / 10.201.59.60:1/ *****PassReverse / 10.201.59.60:1/ </VirtualHost>
انتخاب سریع یک انجمن
در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)
مشاهده قوانین انجمن