> On Sep 21, 2016, at 8:52 AM, pa...@ula.ve wrote:
> 
>> Thanks, Sorry.
> 
> English is not my native language; please excuse typing errors.
> If you speak Spanish, please email/PM me; I may need assistance
> translating my question.
> 
> 1) My config ATS: Basic for reverse proxy.
> ATS follow the instructions in Docs »Administrator's Guide» Proxy Cache
> Configuration »Reverse Proxy and HTTP Redirects
> 
> file Remap.config
> 
> map http://10.10.17.104:8080/ula/ http://www.ula.ve:80/
> reverse_map  http://www.ula.ve:80/  http://10.10.17.104:8080/ula/
> This site is built on drupal, it works with errors. For example brings
> only hyperlinks, does not bring images, also loses Map reverse. For
> example :
> http://10.10.17.104:8080/ula/institucion returns and fails on Accelerator
> Not Found
> http://10.10.17.104:8080/institucion.

When Traffic Server itself returns a 404 that usually means that there was no 
match in remap.config. Often this is because of the way the request is 
constructed by the client.

In the rules above, the client will be required to include the ":8080" portion 
of the address, so pointing a web browser to http://10.10.17.104:8080 would 
work, but using "curl -x 10.10.17.104:8080 http://www.ula.ve"; would not. If you 
want the proxy to serve the www.ula.ve domain (independent of any IP 
addresses), the you would do something like this:

map http://www.ula.ve/ http://www.ula.ve/

Where the 3rd field is either the real domain, or a different name for the 
origin server.

> change from 1 to 0 = INT CONFIG proxy.config.url_remap.pristine_host_hdr 1,
> It works just as redirect.
> 
> 
> 
> map http://10.10.17.104:8080/templated http://127.0.0.1/html/
> reverse_map http://127.0.0.1/html http://10.10.17.104:8080/templated
> work perfect
> 
> map http://10.10.17.104:8080/prueba/index.php         
> http://10.10.17.103:80/prueba/index.php
> reverse_map http://10.10.17.103:80/prueba/index.php   
> http://10.10.17.104:8080/prueba/index.php
> 
> not work The requested URL /prueba/ was not found on this server.
> in the address bar appears http://10.10.17.104/prueba/
> 
> 
> 2)where the log back end?

https://docs.trafficserver.apache.org/en/6.2.x/admin-guide/monitoring/logging/managing-logs.en.html#choosing-the-logging-directory

Depending on whether you built from source or are using a distribution package, 
the default log location is probably something like 
/usr/local/var/log/trafficserver.

> 
> 3) what does the ats-logs say in case of these 404 errors... Where?

In logs you will just see a 404 recorded.

> 
> sorry i new user linux and new user ATS... Please help me
> 
> I feel so stupid...
> 
> Thanks
> 
>> 
>> Am 20.09.2016 um 16:50 schrieb pa...@ula.ve:
>>>> Am 15.09.2016 um 22:23 schrieb pa...@ula.ve:
>>>>> trafficserver and wordpress not work?
>>>> 
>>>> a reverse proxy by definition is application agnostic
>>>> you need to describe your probkem and config
>>>> 
>>> Hi thanks
>>> the problem is that the reverse proxy works perfectly with html, however
>>> if pointed to a page created in wordpress get an error. 404.
>>> sorry my english not good...
>> 
>> please read http://www.catb.org/~esr/faqs/smart-questions.html#beprecise
>> 
>> * i asked for your config
>> * you should have mentioned the 404 in your initial post
>> * what does the backend-logs say in case of these 404 requests
>> * what does the ats-logs say in case of these 404 errors
>> 
>> "trafficserver and wordpress not work?" as well as "if pointed to a page
>> created in wordpress get an error. 404" is not a problem description
>> because i can just say "not true, you did something wrong, what i don't
>> know because you did not mention anything you did"
>> 
> 

Reply via email to