Possible solutions of your questions

  hosting
<< Previous       Replace image address

Question: Good danabrams with the hope that you have the opportunity to help.You want to get the image without changing from another domain without changing the code.In other words, if in the tag spelled out the path /mainimg/test.cdon should automatically receive the image from the domain http://othermain.ru/mainimg/test.pngПытался to do this these methods: 1. RewriteRule ^http://petanium.testr1.testforhost.com/mainimg/(.*)$ http://test.petanium.ru/mainimg/$1 [L]2. RewriteRule ^/mainimg/(.*)$ http://test.petanium.ru/mainimg/$1 [L]But it did not.Thanks in advance.
Answer:

Hello.

These two domain are on Your account?

Question: 1 your domain that you provided for free.My other is on another server.
Answer:

Provide a link where you can see the file path .htaccess for editing.

Question: http://petanium.testr1.testforhost.com/mainimg/temp/preload/logo.pnghttp://test.petanium.ru/mainimg/temp/preload/logo.pnghttp://petanium.testr1.testforhost.com/kast/kasutaja.php/home/petanium/public_html /kast/.htaccess
Answer:

 

izobrajenia http://petanium.testr1.testforhost.com/mainimg/temp/preload/logo.png does not exist . you will not be able to replace part of the path

 

Question: Yes, I need to get a domain.
Answer:

the Given links do not correspond to your request on redirect. Specify exactly what you want zamenjati?

/mainimg/test.png

I

/mainimg/temp/preload/logo.png

this is a different way.

Question: the first was an example, second working example
Answer:

Specify exactly what you want to replace? And where  to replace it?

Question: I want to transform via htaccess ссылкуизhttp://petanium.testr1.testforhost.com/mainimg/temp/preload/logo.pngвhttp://test.petanium.ru/mainimg/temp/preload/logo.cDNA changing anything in the code.
Answer:

You have the path spelled out in the code?

Question: No, in the code the path is : \"mainimg/temp/preload/logo.png\"
Answer:

please Wait, your issue is being dealt with.

Answer:

How did you put the files of the site?

http://petanium.testr1.testforhost.com

Your website itself is not accessible, why then should redirect to work?

Question: It`s very simple, because the site is on a /kast/kasutaja.php
Answer:

as you can access it in the browser to make it work at the right location?

Answer:

you redirect goes to the website http://test.petanium.ru

It is with our hosting does not work.

Question: You not pay attention to what you need.The address of the image that was sent as an example - работаетизhttp://petanium.testr1.testforhost.com/mainimg/temp/preload/logo.pngвhttp://test.petanium.ru/mainimg/temp/preload/logo.caratulada we have the simplest methods of protection links.But what I said works.Egor.
Answer:

if You need to make rules to accomplish Your task, please create a ticket in the Department of Finance. clearly describe uslovoi. after agreeing the cost of works and your issue will be the webmaster. rewrite rules are independent of the hosting , the matter is not resolved by the hosting technical support


<< Previous