[TYPO3-english] 404 status code
Falk Gebauer
fgebauer at 3pc.de
Mon Jun 29 16:26:09 CEST 2015
Your possibilities depend form you server configuration, the proxy
configuration and your rights on the server. IMHO Typo3 cannot check if
the address is a local url at least not with additional coding.
But can you configure your server not to use the proxy for internal
urls? Maybe with the hosts file, if you configure your domain with a
internal IP address or the localhost address eg.
If your server is not a virtual host in the webserver config, you can
try using the localhost domain directly
If not, than it looks nearly like a Catch22.
If you want to have updates from the extension repository and correct
404 handling, i suspect you've 2 options:
First, you could write your own PageNotFound handling function without
curl and use it with USER_FUNCTION: .
Or second, use a static html file together with READFILE: .
Am 29.06.15 um 15:38 schrieb Matt Clough:
> Hi Falk,
>
> I think i have found where the problem is. My server is behind a web
> proxy. To enable updates from the extension repository I need to set
> ['SYS']['curlProxyServer'] to the address and port of the proxy
> server. With the set the page not found will return a 303 message.
>
> If I unset this, I get the correct 404, but cant update form the
> extension repository.
>
> Is there a way to for typo3 to check if the address is a local url, if
> so, don't use the proxy???
>
>
> I have tried setting the options in
>
> [HTTP][proxy_host] = www-myproxy.com
> [HTTP][proxy_port] = 1234
>
> (the above with the correct server and port numbers)
>
> but this doesn't have any effect.
>
> Any ideas???
>
> Thanks for you help in this
>
> Matt
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list