Hi,
I use phpmyfaq 2.9.13 and it works very well within an intranet.
Now I need to make it accessible also from the internet.
To make the site accessible from the internet, I must necessarily use a different address from the internal one with a reverse proxy.
The problem is on the referenceURL: I reach the site from the internet, but when I start browsing it I have redirects with the internal address of the site and images are not loaded
Is it possible to configure a dynamic referenceURL?
Tnk
Dynamic referenceURL
Moderator: Thorsten
Re: Dynamic referenceURL
Hi,
you can use the local IP as phpMyFAQ should recognize you're running a reverse proxy.
We're using the HTTP_X_FORWARDED_FOR header to rewrite the URLs.
bye
Thorsten
you can use the local IP as phpMyFAQ should recognize you're running a reverse proxy.
We're using the HTTP_X_FORWARDED_FOR header to rewrite the URLs.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Dynamic referenceURL
Thorsten thanks for the reply.
I don't understand how to use HTTP_X_FORWARDED_FOR to rewrite URLs; do I have to act only on the web server (I use Apache)? Or should I also modify PhpMyFaq?
Could you give me some more details?
thank you so much
Re: Dynamic referenceURL
Hi,
I thought again about your problem. I think you should use the external hostname in phpMyFAQ.
bye
Thorsten
I thought again about your problem. I think you should use the external hostname in phpMyFAQ.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist