include_url

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

include_url

French, Shelane
Lasso 8.6.3

Using include_url, I'm getting a 403 response from the server on a
particular page call. However, if I call it in the browser, it works just
fine. If I call it from the server's terminal using curl. File permissions
on the file are set at 775. Is there something I should be looking for in
Apache?



Shelane French
Workforce Enablement
Livermore Information Technology


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: include_url

Laurent Gigon
You should reproduce the http headers of any web browser.
Le 17 mars 2016 17:53, "French, Shelane" <[hidden email]> a écrit :

> Lasso 8.6.3
>
> Using include_url, I'm getting a 403 response from the server on a
> particular page call. However, if I call it in the browser, it works just
> fine. If I call it from the server's terminal using curl. File permissions
> on the file are set at 775. Is there something I should be looking for in
> Apache?
>
>
>
> Shelane French
> Workforce Enablement
> Livermore Information Technology
>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>   the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>
>

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: include_url

French, Shelane
That would be fine for when I call include_url, but doesn't help scheduled
events where I have no control over the headers.



Shelane French
Workforce Enablement
Livermore Information Technology




On 3/17/16, 3:09 PM, "[hidden email] on behalf of
Laurent G" <[hidden email] on behalf of
[hidden email]> wrote:

>You should reproduce the http headers of any web browser.
>Le 17 mars 2016 17:53, "French, Shelane" <[hidden email]> a écrit :
>
>> Lasso 8.6.3
>>
>> Using include_url, I'm getting a 403 response from the server on a
>> particular page call. However, if I call it in the browser, it works
>>just
>> fine. If I call it from the server's terminal using curl. File
>>permissions
>> on the file are set at 775. Is there something I should be looking for
>>in
>> Apache?
>>
>>
>>
>> Shelane French
>> Workforce Enablement
>> Livermore Information Technology
>>
>>
>> #############################################################
>>
>> This message is sent to you because you are subscribed to
>>   the mailing list Lasso [hidden email]
>> Official list archives available at http://www.lassotalk.com
>> To unsubscribe, E-mail to: <[hidden email]>
>> Send administrative queries to  <[hidden email]>
>>
>
>#############################################################
>
>This message is sent to you because you are subscribed to
>  the mailing list Lasso [hidden email]
>Official list archives available at http://www.lassotalk.com
>To unsubscribe, E-mail to: <[hidden email]>
>Send administrative queries to  <[hidden email]>


#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: include_url

Laurent Gigon
Sure, You just have to store some kind of that in variable :
Include_URL('http://your.example.com//',
-SendMIMEHeaders=Array('content-type'='text/xml'),
'User-Agent'='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116
Safari/537.36',
'Accept'='text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8');

Laurent

2016-03-17 19:05 GMT-04:00 French, Shelane <[hidden email]>:

> That would be fine for when I call include_url, but doesn't help scheduled
> events where I have no control over the headers.
>
>
>
> Shelane French
> Workforce Enablement
> Livermore Information Technology
>
>
>
>
> On 3/17/16, 3:09 PM, "[hidden email] on behalf of
> Laurent G" <[hidden email] on behalf of
> [hidden email]> wrote:
>
>>You should reproduce the http headers of any web browser.
>>Le 17 mars 2016 17:53, "French, Shelane" <[hidden email]> a écrit :
>>
>>> Lasso 8.6.3
>>>
>>> Using include_url, I'm getting a 403 response from the server on a
>>> particular page call. However, if I call it in the browser, it works
>>>just
>>> fine. If I call it from the server's terminal using curl. File
>>>permissions
>>> on the file are set at 775. Is there something I should be looking for
>>>in
>>> Apache?
>>>
>>>
>>>
>>> Shelane French
>>> Workforce Enablement
>>> Livermore Information Technology
>>>
>>>
>>> #############################################################
>>>
>>> This message is sent to you because you are subscribed to
>>>   the mailing list Lasso [hidden email]
>>> Official list archives available at http://www.lassotalk.com
>>> To unsubscribe, E-mail to: <[hidden email]>
>>> Send administrative queries to  <[hidden email]>
>>>
>>
>>#############################################################
>>
>>This message is sent to you because you are subscribed to
>>  the mailing list Lasso [hidden email]
>>Official list archives available at http://www.lassotalk.com
>>To unsubscribe, E-mail to: <[hidden email]>
>>Send administrative queries to  <[hidden email]>
>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>   the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: include_url

Johan Solve
In reply to this post by French, Shelane
Have the event call a proxy page that has your include_url with headers.

2016-03-18 0:05 GMT+01:00 French, Shelane <[hidden email]>:

> That would be fine for when I call include_url, but doesn't help scheduled
> events where I have no control over the headers.
>
>
>
> Shelane French
> Workforce Enablement
> Livermore Information Technology
>
>
>
>
> On 3/17/16, 3:09 PM, "[hidden email] on behalf of
> Laurent G" <[hidden email] on behalf of
> [hidden email]> wrote:
>
>>You should reproduce the http headers of any web browser.
>>Le 17 mars 2016 17:53, "French, Shelane" <[hidden email]> a écrit :
>>
>>> Lasso 8.6.3
>>>
>>> Using include_url, I'm getting a 403 response from the server on a
>>> particular page call. However, if I call it in the browser, it works
>>>just
>>> fine. If I call it from the server's terminal using curl. File
>>>permissions
>>> on the file are set at 775. Is there something I should be looking for
>>>in
>>> Apache?
>>>
>>>
>>>
>>> Shelane French
>>> Workforce Enablement
>>> Livermore Information Technology
>>>
>>>
>>> #############################################################
>>>
>>> This message is sent to you because you are subscribed to
>>>   the mailing list Lasso [hidden email]
>>> Official list archives available at http://www.lassotalk.com
>>> To unsubscribe, E-mail to: <[hidden email]>
>>> Send administrative queries to  <[hidden email]>
>>>
>>
>>#############################################################
>>
>>This message is sent to you because you are subscribed to
>>  the mailing list Lasso [hidden email]
>>Official list archives available at http://www.lassotalk.com
>>To unsubscribe, E-mail to: <[hidden email]>
>>Send administrative queries to  <[hidden email]>
>
>
> #############################################################
>
> This message is sent to you because you are subscribed to
>   the mailing list Lasso [hidden email]
> Official list archives available at http://www.lassotalk.com
> To unsubscribe, E-mail to: <[hidden email]>
> Send administrative queries to  <[hidden email]>



--
Mvh
Johan Sölve
____________________________________
Montania System AB
Halmstad   Stockholm
http://www.montania.se

Johan Sölve
Mobil +46 709-51 55 70
[hidden email]

Kristinebergsvägen 17, S-302 41 Halmstad, Sweden
Telefon +46 35-136800 |  Fax +46 35-136801

#############################################################

This message is sent to you because you are subscribed to
  the mailing list Lasso [hidden email]
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <[hidden email]>
Send administrative queries to  <[hidden email]>