[ZendTo] Browser downloads file instead of showing Zendto webpage
Net Results
nresults at comcast.net
Thu Aug 15 22:04:22 BST 2024
Apparently I had failed to clear the browser cache… My dumb mistake.
Redirection is indeed working now.
The issue was resolved by issuing the apt-get instructions I listed.
Somehow something in the list is not picked up by the installation script when using php8.2 under Debian.
I confirmed this on another device as well, the same fix applied there.
I appreciate your help. It pointed me in the right direction!
Thanks again!
Sent from my portable device.
> On Aug 15, 2024, at 4:07 PM, Adam Thorn via ZendTo <zendto at zend.to> wrote:
>
> On 15/08/2024 20:25, Jose M. Sanchez via ZendTo wrote:
>> More info
>> At this point I have the https://servername <https://servername> working properly and I do see the Zendto Page (YEAH) after I followed instructions on another site to install the following
>> |sudo apt-get install php libapache2-mod-php php-mcrypt php-mysql|
>> ||
>> |And restarting Apache2|
>> However http://servername <http://servername> still results in the download file so the redirection is now the issue.
>
>
> I've just run the zendto installer on a bookworm docker container. One of the questions asked if I wanted to redirect http to https; I chose yes because that's usually the best configuration. How did you answer that question?
>
> Having said "yes", my plain http requests are redirected to https as I'd expect:
>
> $ curl -k -I http://localhost:8080/
> HTTP/1.1 302 Found
> ....
> Location: https://localhost:8080/
>
> If you said yes to that installer question, check /etc/apache2/sites-enabled/ ; there ought to be exactly two files (well, they'll be symbolic links to /etc/apache2/sites-available/), named 001-zendto-ssl.conf and 001-zendto.conf.
>
> Adam
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
More information about the ZendTo
mailing list