Closed Bug 289977 Opened 20 years ago Closed 20 years ago

If you try to load a php script when php is not activated on the web server, Firefox gives you the alternatives to download the file or search for a local application to execute it. This is fine. But unfortunately this behaviour is cached so that php ...

Categories

(Firefox :: File Handling, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 281514

People

(Reporter: info, Assigned: bugs)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050406 Firefox/1.0.2 (Debian package 1.0.2-3)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050406 Firefox/1.0.2 (Debian package 1.0.2-3)

I had to turn off php on my web server Apache 1.3.33 because of a segmentation
fault in Apache. The attempt to visit php sites on this web server using Firefox
resulted in a normal behaviour of Firefox: Because the relevant application was
not found on the web server, Firefox asked the user if it should download the
file or execute it using a local application. So everything was fine. But after
php was restarted on the Apache, Firefox continued to show this behaviour as
long as the cache was not emptied. php was working fine again at that time, but
Firefox acted as if php was still not working. It still asked the user to
download the file or execute it using a local application. Obviously the
behaviour was cached by Firefox. IMHO this is a bug and should be removed.
Firefox should only cache html sites and should always contact the server if the
file type indicates that a server side script has to be executed.

Reproducible: Always

Steps to Reproduce:
1. run Apache without php
2. try to open a php script with Firefox
3. run Apache with php 
4. try to open the same php script with the same browser again. 


Actual Results:  
Firefox acted as if php was still NOT activated on the web server.

Expected Results:  
It should NOT have cached its former behaviour but it should always try to make
the web server execute a server side script.
Whiteboard: DUPEME

*** This bug has been marked as a duplicate of 281514 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
This bug is likely not to be resolved as the relation to the parent dupe is not explored in detail while latter has soleley been expired. Please refer to the earlier bug 265088 which appears applicable.
The original summary for this bug was longer than 255 characters, and so it was truncated when Bugzilla was upgraded. The original summary was:

If you try to load a php script when php is not activated on the web server, Firefox gives you the alternatives  to download the file or search for a local application to execute it. This is fine. But unfortunately this behaviour is cached so that php scripts cannot be executed even when the web server runs with php again. The Firefox cache has to be emptied to make Firefox execute server side scripts properly again.
You need to log in before you can comment on or make changes to this bug.